Esempio n. 1
0
 public static FormToolBar getInstance()
 {
     if (mFormToolBar == null || mFormToolBar.IsDisposed)
     {
         mFormToolBar = new FormToolBar();
     }
     return(mFormToolBar);
 }
Esempio n. 2
0
        private void 分辨率ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormToolBar _FormToolBar = FormToolBar.getInstance();

            if (_FormToolBar.m_onResolutionReceiveDelegate == null)
            {
                _FormToolBar.m_onResolutionReceiveDelegate += onResolutionReceive;
            }
            _FormToolBar.Show();
        }