Пример #1
0
        private void 操作自用数据库ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManageMyDbsFrm frm = ManageMyDbsFrm.GetInstance();

            frm.MdiParent = this;
            frm.Parent    = Pnl;
            frm.Show();
        }
Пример #2
0
 public static ManageMyDbsFrm GetInstance()
 {
     lock (_lock)
     {
         if (_instance == null)
         {
             _instance = new ManageMyDbsFrm();
         }
     }
     return(_instance);
 }