示例#1
0
        public Form1()
        {
            InitializeComponent();

            controlOperation = new AxRenderControlOperation(this.axRenderControl1);
            controlOperation.InitializationAxRenderControl();
            controlOperation.RegisterRcSelectEvent();

            // 设置控件默认值
            this.toolStripSelectModeSetting.SelectedIndex = 0;
        }
示例#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;
        }