diff --git a/ClientApp/ViewModels/MainViewModel.cs b/ClientApp/ViewModels/MainViewModel.cs index f3cc0c8..58252e1 100644 --- a/ClientApp/ViewModels/MainViewModel.cs +++ b/ClientApp/ViewModels/MainViewModel.cs @@ -9,7 +9,6 @@ namespace ClientApp.ViewModels class MainViewModel : ObservableObject { public ICommand RetryServerCommand { get; set; } - public ICommand RetryVREngineCommand { get; set; } public MainWindowViewModel MainWindowViewModel { get; set; } private Client client; @@ -25,17 +24,6 @@ namespace ClientApp.ViewModels //try connect server 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() diff --git a/ClientApp/Views/MainView.xaml b/ClientApp/Views/MainView.xaml index 12d31f9..8657aa0 100644 --- a/ClientApp/Views/MainView.xaml +++ b/ClientApp/Views/MainView.xaml @@ -40,12 +40,6 @@ - -