Beispiel #1
0
 public SettingCommand(SettingsWindow sw)
 {
     settingsWindow = sw;
 }
Beispiel #2
0
 private void OpenSettings()
 {
     settingsWindow = new SettingsWindow(SettingsWindow_Closed);
     settingsWindow.LoadLastSettings();
     settingsWindow.ShowDialog();
 }
Beispiel #3
0
 public MainDataContext(SettingsWindow sw)
 {
     _imageBG      = new BitmapImage(new Uri("pack://application:,,,/Resources/Connecting.png"));
     _imageClickBG = new BitmapImage(new Uri("pack://application:,,,/Resources/Connecting-click.png"));
     _command      = new SettingCommand(sw);
 }