mainView is now binded
This commit is contained in:
@@ -9,7 +9,7 @@ namespace ClientApp.ViewModels
|
||||
{
|
||||
public ICommand RetryServerCommand { get; set; }
|
||||
public ICommand RetryVREngineCommand { get; set; }
|
||||
public MainWindowViewModel MainWindowViewModel;
|
||||
public MainWindowViewModel MainWindowViewModel { get; set; }
|
||||
|
||||
|
||||
public MainViewModel(MainWindowViewModel mainWindowViewModel)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
<StackPanel Grid.Column="0" Grid.Row="0" Orientation="Horizontal" Margin="10">
|
||||
<Label Content="Connected to server:"/>
|
||||
<Label Content="{Binding Path=MainWindowViewModel.InfoModel.ConnectedToServer}"/>
|
||||
<Label Content="true"/>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal" Margin="10">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Client;
|
||||
using ClientApp.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO.Pipes;
|
||||
|
||||
Reference in New Issue
Block a user