Beispiel #1
0
        /// <summary>
        /// 构造方法
        /// </summary>
        public mainform()
        {
            InitializeComponent();
            mysarsys = SARSYS.createsys();
            mysarsys.ScPathChange += refreshScenario;
            

        }
Beispiel #2
0
        /// <summary>
        /// 生成函数
        /// </summary>
        private staticpara()
        {
            InitializeComponent();
            mysarsys = SARSYS.createsys();
            //设定默认参数
            button2_Click(null,null);


        }
Beispiel #3
0
 private cmdform()
 {
     InitializeComponent();
     mysarsys = SARSYS.createsys();
 }
Beispiel #4
0
 private void staticpara_Load(object sender, EventArgs e)
 {
     mysarsys = SARSYS.createsys();
     //设定默认参数
     button2_Click(null, null);
 }
Beispiel #5
0
 /// <summary>
 /// 将默认的构造函数私有化
 /// 实现单例模式
 /// </summary>
 /// <returns></returns>
 public static SARSYS createsys()
 {
     if (defsys == null)
     {
         defsys = new SARSYS();
     }
     return defsys;
 }