Esempio n. 1
0
            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);
            }
Esempio n. 2
0
 private void btnAbout_Click(object sender, EventArgs e)
 {
     About aboutfrm = new About(this);
     aboutfrm.ShowDialog(this);
     aboutfrm.Dispose();
 }
Esempio n. 3
0
 private void _btnAbout_Click(object sender, EventArgs e)
 {
     About dlg = new About(this);
     dlg.ShowDialog(this);
 }