private static void Execute(object sender, EventArgs e)
 {
     viewDialog.FillDialogControls();
     viewDialog.ShowDialog();
 }
Exemple #2
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 ShowAddView(object sender, EventArgs e)
 {
     viewDialog.FillDialogControls();
     viewDialog.ShowDialog();
 }