public static FormToolBar getInstance() { if (mFormToolBar == null || mFormToolBar.IsDisposed) { mFormToolBar = new FormToolBar(); } return(mFormToolBar); }
private void 分辨率ToolStripMenuItem_Click(object sender, EventArgs e) { FormToolBar _FormToolBar = FormToolBar.getInstance(); if (_FormToolBar.m_onResolutionReceiveDelegate == null) { _FormToolBar.m_onResolutionReceiveDelegate += onResolutionReceive; } _FormToolBar.Show(); }