removed vr engine retry button

This commit is contained in:
Sem van der Hoeven
2020-10-14 11:28:28 +02:00
parent ea3afdeda1
commit 22021dc821
2 changed files with 0 additions and 18 deletions

View File

@@ -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()

View File

@@ -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>