예제 #1
0
 private void addCustomButtonToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CustomButtonForm.CreateAndShowDialog();
     RefreshCustomButtons();
 }
예제 #2
0
 internal static void CreateAndShowDialog(CustomButton cb)
 {
     using (CustomButtonForm f = new CustomButtonForm())
         f.ShowDialog(cb);
 }
예제 #3
0
 private void EditButton_Click(object sender, EventArgs e)
 {
     CustomButtonForm.CreateAndShowDialog(CustomButton);
     form.RefreshCustomButtons();
 }
예제 #4
0
 public static void CreateAndShowDialog()
 {
     using (CustomButtonForm f = new CustomButtonForm())
         f.ShowDialog();
 }