private void 操作自用数据库ToolStripMenuItem_Click(object sender, EventArgs e) { ManageMyDbsFrm frm = ManageMyDbsFrm.GetInstance(); frm.MdiParent = this; frm.Parent = Pnl; frm.Show(); }
public static ManageMyDbsFrm GetInstance() { lock (_lock) { if (_instance == null) { _instance = new ManageMyDbsFrm(); } } return(_instance); }