示例#1
0
        private void FrmMain_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F1)
            {
                PL.Users.Frm_Login frm = new PL.Users.Frm_Login();
                frm.MdiParent = this;
                frm.Show();
            }

            if (e.KeyCode == Keys.F2)
            {
                this.Close();
            }
            if (e.KeyCode == Keys.F3)
            {
                PL.AboutSystem.About frm = new PL.AboutSystem.About();
                frm.MdiParent = this;
                frm.Show();
            }
            if (e.KeyCode == Keys.F5)
            {
                PL.AboutSystem.frmGetShot frm = new PL.AboutSystem.frmGetShot();
                frm.pictureBox1.Image = frm.GetShot();
                frm.ShowDialog();
            }
        }
示例#2
0
 private void حذفهذاالسطرToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PL.AboutSystem.frmGetShot frm = new PL.AboutSystem.frmGetShot();
     frm.pictureBox1.Image = frm.GetShot();
     frm.ShowDialog();
 }