Example #1
0
        private void metroTile3_Click(object sender, EventArgs e)
        {
            frmStudent f = frmStudent.Instacne();

            //f.MdiParent = this;
            f.Show();
            f.Focus();
        }
Example #2
0
        private void 学生信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmStudent f = frmStudent.Instacne();

            f.MdiParent = this;
            f.Show();
            f.Focus();
        }
 public static frmStudent Instacne()
 {
     if (_Instance == null)
     {
         _Instance = new frmStudent();
     }
     return(_Instance);
 }