Esempio n. 1
0
        private int InitFrame()
        {
            int rlt = 0;
            mm = new ManageMod();

            //mm.SetCfgPath("E:\\test\\FrameWork\\FrameWork\\config\\test\\Frame");
            mm.SetCfgPath("E:\\test\\FrameWork\\WinApp\\config\\Test\\Land");
            mm.Start();

            Thread.Sleep(1000);

            return rlt;
        }
Esempio n. 2
0
 private void Start_Click(object sender, EventArgs e)
 {
     mm = new ManageMod();
     mm.SetCfgPath(cfgpath);
     if (status == false)
     {
         status      = true;
         Runsts.Text = "Running";
         Start.Text  = "Stop";
         mm.Start();
     }
     else
     {
         status      = false;
         Runsts.Text = "Halt";
         Start.Text  = "Strt";
     }
 }