Beispiel #1
0
        /// <summary>
        /// 清单管理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void tsmiSystemMenu_Click(object sender, EventArgs e)
        {
            SystemMenu smu = SystemMenu.CreateForm();

            smu.MdiParent = this;
            smu.Show();
        }
Beispiel #2
0
 public static SystemMenu CreateForm()
 {
     if (_single == null)
     {
         _single = new SystemMenu();
     }
     else
     {
         _single.Activate();
     }
     return(_single);
 }
Beispiel #3
0
 private void SystemMenu_FormClosed(object sender, FormClosedEventArgs e)
 {
     _single = null;
 }