Ejemplo n.º 1
0
 public DataSourceForm(bool isCreate, AxRenderControlOperation operation)
 {
     InitializeComponent();
     _isCreate   = isCreate;
     axOperation = operation;
     this.Load  += DataSourceForm_Load;
 }
Ejemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();

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

            // 设置控件默认值
            this.toolStripSelectModeSetting.SelectedIndex = 0;
        }
Ejemplo n.º 3
0
        private TreeNode selectNode = null;  //标记treeView控件中当前被选中的节点

        public MainForm()
        {
            InitializeComponent();

            controlOperation = new AxRenderControlOperation(this.axRenderControl1);
            controlOperation.InitializationAxRenderControl();
            MyTreeNode treeNodes = controlOperation.BindDataToCatalogTree();

            SetTreeNodeWithContextMenuStrip(treeNodes.Nodes);
            this.treeView1.Nodes.Add(treeNodes.Nodes[0]);
        }
Ejemplo n.º 4
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;
        }