private void tBar_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e) { about about1 = new about(); if (about1.ShowDialog(this) == DialogResult.OK) { } }
private void miAbout_Click(object sender, System.EventArgs e) { about about1 = new about(); about1.ShowDialog(this); }