コード例 #1
0
 public Robot(RobotInterface Interface, ManualResetEvent Stop, ManualResetEvent Stopped) : this()
 {
     m_Interface          = Interface;
     m_TypeParams         = new TypeParams();
     m_EventStopThread    = Stop;
     m_EventThreadStopped = Stopped;
 }
コード例 #2
0
        private void TypeSelector_Shown(object sender, EventArgs e)
        {
            m_Params = new TypeParams();
            comboBox1.Items.AddRange(m_Params.GetTypeNames());
            int Index = comboBox1.FindStringExact(m_LastType);

            comboBox1.SelectedIndex = Index;
        }