removed vr engine retry button
This commit is contained in:
@@ -9,7 +9,6 @@ namespace ClientApp.ViewModels
|
|||||||
class MainViewModel : ObservableObject
|
class MainViewModel : ObservableObject
|
||||||
{
|
{
|
||||||
public ICommand RetryServerCommand { get; set; }
|
public ICommand RetryServerCommand { get; set; }
|
||||||
public ICommand RetryVREngineCommand { get; set; }
|
|
||||||
public MainWindowViewModel MainWindowViewModel { get; set; }
|
public MainWindowViewModel MainWindowViewModel { get; set; }
|
||||||
|
|
||||||
private Client client;
|
private Client client;
|
||||||
@@ -25,17 +24,6 @@ namespace ClientApp.ViewModels
|
|||||||
//try connect server
|
//try connect server
|
||||||
this.MainWindowViewModel.InfoModel.ConnectedToServer = true;
|
this.MainWindowViewModel.InfoModel.ConnectedToServer = true;
|
||||||
});
|
});
|
||||||
this.RetryVREngineCommand = new RelayCommand(() =>
|
|
||||||
{
|
|
||||||
//try connect vr-engine
|
|
||||||
|
|
||||||
//this.MainWindowViewModel.InfoModel.ConnectedToVREngine = true;
|
|
||||||
//this.MainWindowViewModel.InfoModel.CanConnectToVR = false;
|
|
||||||
//client.engineConnection.CreateConnection();
|
|
||||||
//retryEngineConnection();
|
|
||||||
Debug.WriteLine("retry button clicked");
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void retryEngineConnection()
|
private void retryEngineConnection()
|
||||||
|
|||||||
@@ -40,12 +40,6 @@
|
|||||||
</Button.Content>
|
</Button.Content>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button Grid.Column="1" Grid.Row="1" Command="{Binding RetryVREngineCommand}" Width="50" Height="20" IsEnabled="{Binding MainWindowViewModel.InfoModel.CanConnectToVR}">
|
|
||||||
<Button.Content>
|
|
||||||
<TextBlock TextWrapping="Wrap" Text="retry"/>
|
|
||||||
</Button.Content>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
</DockPanel>
|
</DockPanel>
|
||||||
|
|||||||
Reference in New Issue
Block a user