public void ShowButtons() { if (_commandWindow == null || !_commandWindow.IsVisible) { _commandWindow = new ArduinoCommandWindow(); } _commandWindow.DataContext = CommandViewModel; _commandWindow.Show(); }
public void ShowButtons() { if (_commandWindow == null || !_commandWindow.IsVisible) _commandWindow = new ArduinoCommandWindow(); _commandWindow.DataContext = CommandViewModel; _commandWindow.Show(); }