private void addCustomButtonToolStripMenuItem_Click(object sender, EventArgs e) { CustomButtonForm.CreateAndShowDialog(); RefreshCustomButtons(); }
private void EditButton_Click(object sender, EventArgs e) { CustomButtonForm.CreateAndShowDialog(CustomButton); form.RefreshCustomButtons(); }