예제 #1
0
        public EndMonitorForm(MonitorMgr caller)
        {
            InitializeComponent();

            this.caller = caller;
            this.comboBox_type.SelectedIndex = 0;
        }
예제 #2
0
        //Builder
        public AddMonitorForm(MonitorMgr caller)
        {
            InitializeComponent();

            this.comboBox_proc_cpuUsageRelative.SelectedIndex = 0;
            this.comboBox_proc_mustRun.SelectedIndex = 0;
            this.comboBox_serv_critic.SelectedIndex = 0;
            this.comboBox_serv_startMode.SelectedIndex = 0;
            this.comboBox_serv_state.SelectedIndex = 0;
            this.comboBox_serv_status.SelectedIndex = 0;

            serviceMgr = new ServiceTools();
            showGroupBoxMode(Mode.service);
            this.caller = caller;
            connected = false;
            mode = null;
        }