Пример #1
0
		private void MenuItem_Click(object sender, RoutedEventArgs e)
		{
			wndSettings swindow = new wndSettings();
			swindow.Show();
		}
Пример #2
0
		private void MenuItem_Click(object sender, RoutedEventArgs e)
		{
			wndSettings swindow = new wndSettings();
			bool? result = swindow.ShowDialog();
			if(result==true)
			{
				AppendStatus("Reinitializing application due to configuration change...");
				Reinitialize();
				return;
			}
			AppendStatus("No changes made, not reinitializing.");
		}