private void createFontButton_Click(object sender, EventArgs e) { NewFont NF = new NewFont(); NF.ShowDialog(); RefreshFontList(); }
private void editFontButton_Click(object sender, EventArgs e) { if (fontBox.SelectedItem != null) { this.Enabled = false; NewFont NF = new NewFont(((App_Code.Font)fontBox.SelectedItem).ID); NF.ShowDialog(); RefreshFontList(); this.Enabled = true; } else { MessageBox.Show("Please select a font."); } }