Esempio n. 1
0
 public static SPIRunForm GetInstance()
 {
     if (singleRunForm == null)
     {
         singleRunForm = new SPIRunForm();
     }
     return(singleRunForm);
 }
Esempio n. 2
0
        /// <summary>
        /// 打开运行界面
        /// </summary>
        private void onLoadRunForm()
        {
            SPIRunForm form = SPIRunForm.GetInstance();

            form.Dock = DockStyle.Fill;
            spDivide.Panel2.Controls.Clear();
            spDivide.Panel2.Controls.Add(form);
        }