protected override void WndProc(ref Message m) { switch (m.Msg) { case About.WM_SYSCOMMAND: if (m.WParam.ToInt32() == About.IDM_ABOUT) { About dlg = new About(_owner); dlg.ShowDialog(); dlg.Dispose(); } break; } base.WndProc(ref m); }
private void btnAbout_Click(object sender, EventArgs e) { About aboutfrm = new About(this); aboutfrm.ShowDialog(this); aboutfrm.Dispose(); }
private void _btnAbout_Click(object sender, EventArgs e) { About dlg = new About(this); dlg.ShowDialog(this); }