Beispiel #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();
        }
Beispiel #2
0
 private void frmSqlServerSampleOp_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instance = null;
 }
Beispiel #3
0
 public static frmSqlServerSampleOp GetInstance()
 {
     return(_instance = _instance ?? new frmSqlServerSampleOp());
 }