private void preferenceToolStripMenuItem_Click(object sender, EventArgs e) { var form = new Preference(); form.ShowDialog(); }