示例#1
0
 private void Check_CheckedChanged(object sender, EventArgs e)
 {
     if (check.Checked)
     {
         controlOperation.SetSelectMode("漫游模式");
     }
     else
     {
         controlOperation.SetSelectMode("仅点选");
     }
 }
示例#2
0
        public Form1()
        {
            InitializeComponent();
            controlOperation = new AxRenderControlOperation(this.axRenderControl1);
            controlOperation.InitializationAxRenderControl();
            controlOperation.SetI3dObjectType();
            controlOperation.SetSelectMode("仅点选");
            controlOperation.RegisterRcSelectEvent();
            controlOperation.CallbackMsg += ControlOperation_CallbackMsg;

            toolStripComboBoxObjectManager.SelectedIndex = 0;
            toolStripComboBoxColor.SelectedIndex         = 0;
        }
示例#3
0
        private void toolStripSelectModeSetting_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            ToolStripComboBox cb = sender as ToolStripComboBox;

            controlOperation.SetSelectMode(cb.Text);
        }