private void mFormatFont_Click(object sender, EventArgs e) { using (FontDialog dialog = new FontDialog()) { dialog.Reset(); if (dialog.ShowDialog() == DialogResult.OK) { notebox.Font = dialog.Font; } } }