Beispiel #1
0
 public WatchSetup(Launcher main_form, BaseInfo ini)
 {
     _MainForm = main_form;
     BI        = ini;
     InitializeComponent();
     InitializeForm();
     CheckItem = new BaseInfo.CheckItems();
 }
Beispiel #2
0
 public SocketManager(BaseInfo bi, int index)
 {
     this.log = bi.log;
     if (bi.CheckExe != null && bi.CheckExe.Count > 0 && index < bi.CheckExe.Count)
     {
         ConnInfo = bi.CheckExe[index];
     }
 }
Beispiel #3
0
        public bool RunMsg_Insert(BaseInfo.CheckItems citem)
        {
            ListViewItem item1;
            int          items_co = lvRun_Msg.Items.Count;

            item1 = new ListViewItem(Path.GetFileName(citem.Exe_Name), 0);
            item1.SubItems.Add(citem.Exe_Name, Color.Aqua, Color.Black, new Font("굴림체", 10, FontStyle.Bold));
            item1.SubItems.Add(citem.ReStart_MaxTime.ToString());
            item1.SubItems.Add("0");

            lvRun_Msg.Items.Add(item1);
            //lvRun_Msg.Items.Add(Path.GetFileName(name), 0);
            BI.CheckExe.Add(citem);

            lvRun_Msg.Items[items_co].Checked = true;
            if (lvRun_Msg.Items.Count > 0)
            {
                timer_RunCheck.Enabled = true;
            }
            return(true);
        }