示例#1
0
        private void mnSqlServerSampleOp_Click(object sender, EventArgs e)
        {
            frmSqlServerSampleOp frm = frmSqlServerSampleOp.GetInstance();

            frm.MdiParent   = this;
            frm.WindowState = FormWindowState.Maximized;
            frm.BringToFront();
            frm.Show();
        }
示例#2
0
 private void frmSqlServerSampleOp_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instance = null;
 }
示例#3
0
 public static frmSqlServerSampleOp GetInstance()
 {
     return(_instance = _instance ?? new frmSqlServerSampleOp());
 }