public StateMachine(CaptureMachine captureMachine, Form1.ThreadStopEvent callBack) { this.m_locker = new object(); this.m_State = StudyState.SelectIndexTitle; this.m_captureMachine = captureMachine; this.m_isWorking = false; this.m_callBack = callBack; }
private void Form_Shown(object sender, EventArgs e) { string[] enum_names = Enum.GetNames(typeof(StudyState)); foreach (string name in enum_names) { comboBox_startState.Items.Add(name); } comboBox_startState.SelectedIndex = 0; m_logPanel = new LogPanel(textbox_logpanel); bool CMComplete; m_captureMachine = new CaptureMachine(out CMComplete); m_stateMachine = new StateMachine(m_captureMachine, threadStopEvent); Config.LoadConfig(); if (Config.data.start_IE) { Process.Start("iexplore.exe", "http://www.hakjum.com/"); } }