示例#1
0
        private void openSmallScreenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form frm in Application.OpenForms)
            {
                if (frm.Name == "simple")
                {
                    frm.Activate();
                    return;
                }
            }
            simple sfrm = new simple();

            sfrm.Show();
        }
示例#2
0
        public void b7_Click(object sender, EventArgs e)
        {
            foreach (Form frm in Application.OpenForms)
            {
                if (frm.Name == "simple")
                {
                    frm.Activate();
                    return;
                }
            }
            simple sfrm = new simple();

            sfrm.Show();
        }