示例#1
1
        public Form1(Inventor.Application oApp)
        {
            InitializeComponent();

            // Add any initialization after the InitializeComponent() call.
            mAngleBox = new DigitTextBox();
            mAngleBox.Name = "AngleBox";
            mAngleBox.Location = new System.Drawing.Point(80, 197);
            mAngleBox.Size = new System.Drawing.Size(48, 30);
            mAngleBox.TabIndex = 3;
            mAngleBox.Text = "";

            this.Controls.Add(mAngleBox);

            mApp = oApp;
        }
示例#2
0
        public VectorControl()
        {

            // This call is required by the Windows Form Designer.
            InitializeComponent();

            xTxtBox = new DigitTextBox();
            xTxtBox.Name = "DigitTextBox1";
            xTxtBox.Location = new System.Drawing.Point(5, 20);
            xTxtBox.Size = new System.Drawing.Size(35, 30);
            xTxtBox.TabIndex = 1;
            xTxtBox.Text = "";

            yTxtBox = new DigitTextBox();
            yTxtBox.Name = "DigitTextBox1";
            yTxtBox.Location = new System.Drawing.Point(45, 20);
            yTxtBox.Size = new System.Drawing.Size(35, 30);
            yTxtBox.TabIndex = 2;
            yTxtBox.Text = "";

            zTxtBox = new DigitTextBox();
            zTxtBox.Name = "DigitTextBox3";
            zTxtBox.Location = new System.Drawing.Point(85, 20);
            zTxtBox.Size = new System.Drawing.Size(35, 30);
            zTxtBox.TabIndex = 3;
            zTxtBox.Text = "";

            this.Controls.Add(xTxtBox);
            this.Controls.Add(yTxtBox);

            this.Controls.Add(zTxtBox);
        }
        public VectorControl()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            xTxtBox          = new DigitTextBox();
            xTxtBox.Name     = "DigitTextBox1";
            xTxtBox.Location = new System.Drawing.Point(5, 20);
            xTxtBox.Size     = new System.Drawing.Size(35, 30);
            xTxtBox.TabIndex = 1;
            xTxtBox.Text     = "";

            yTxtBox          = new DigitTextBox();
            yTxtBox.Name     = "DigitTextBox1";
            yTxtBox.Location = new System.Drawing.Point(45, 20);
            yTxtBox.Size     = new System.Drawing.Size(35, 30);
            yTxtBox.TabIndex = 2;
            yTxtBox.Text     = "";

            zTxtBox          = new DigitTextBox();
            zTxtBox.Name     = "DigitTextBox3";
            zTxtBox.Location = new System.Drawing.Point(85, 20);
            zTxtBox.Size     = new System.Drawing.Size(35, 30);
            zTxtBox.TabIndex = 3;
            zTxtBox.Text     = "";

            this.Controls.Add(xTxtBox);
            this.Controls.Add(yTxtBox);

            this.Controls.Add(zTxtBox);
        }
示例#4
0
        public Form1(Inventor.Application oApp)
        {
            InitializeComponent();

            // Add any initialization after the InitializeComponent() call.
            mAngleBox          = new DigitTextBox();
            mAngleBox.Name     = "AngleBox";
            mAngleBox.Location = new System.Drawing.Point(80, 197);
            mAngleBox.Size     = new System.Drawing.Size(48, 30);
            mAngleBox.TabIndex = 3;
            mAngleBox.Text     = "";

            this.Controls.Add(mAngleBox);

            mApp = oApp;
        }