Пример #1
0
        /// <summary>
        /// 打开程序编辑界面
        /// </summary>
        private void onLoadProgramForm()
        {
            SPIProgramForm form = SPIProgramForm.GetInstance();

            form.Dock = DockStyle.Fill;
            spDivide.Panel2.Controls.Clear();
            spDivide.Panel2.Controls.Add(form);
            form.OnFirstLoadOnMainform();
        }
Пример #2
0
 public static SPIProgramForm GetInstance()
 {
     isFirstLoad = false;
     if (singleProForm == null)
     {
         singleProForm = new SPIProgramForm();
         isFirstLoad   = true;
     }
     return(singleProForm);
 }