Interaction logic for Settings.xaml
Inheritance: DialogWindow
 /// <summary>
 /// This function is called when the user clicks the menu item that shows the
 /// tool window. See the Initialize method to see how the menu item is associated to
 /// this function using the OleMenuCommandService service and the MenuCommand class.
 /// </summary>
 private void ShowSettingsWindow(object sender, EventArgs e)
 {
     var SettingsDialog = new Settings.SettingsDialog(this);
     var m = SettingsDialog.ShowModal();
 }
 /// <summary>
 /// This function is called when the user clicks the menu item that shows the 
 /// tool window. See the Initialize method to see how the menu item is associated to 
 /// this function using the OleMenuCommandService service and the MenuCommand class.
 /// </summary>
 private void ShowSettingsWindow(object sender, EventArgs e)
 {
     var SettingsDialog = new Settings.SettingsDialog();
     var m = SettingsDialog.ShowDialog();
 }
Esempio n. 3
0
 /// <summary>
 /// This function is called when the user clicks the menu item that shows the 
 /// tool window. See the Initialize method to see how the menu item is associated to 
 /// this function using the OleMenuCommandService service and the MenuCommand class.
 /// </summary>
 private void ShowSettingsWindow(object sender, EventArgs e)
 {
     // Create the dialog instance without Help support.
     var SettingsDialog = new Settings.SettingsDialog();
     // Show the dialog.
     var m = SettingsDialog.ShowModal();
 }