Example #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.viewer = new Pic.Factory2D.Control.FactoryViewerBase();
            this.dataCtrl = new Pic.Factory2D.Control.FactoryDataCtrl();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.label7 = new System.Windows.Forms.Label();
            this.nUDB = new System.Windows.Forms.NumericUpDown();
            this.nUDH = new System.Windows.Forms.NumericUpDown();
            this.nUDL = new System.Windows.Forms.NumericUpDown();
            this.nUDep = new System.Windows.Forms.NumericUpDown();
            this.nUDhpr = new System.Windows.Forms.NumericUpDown();
            this.nUDlp = new System.Windows.Forms.NumericUpDown();
            this.nUDhr = new System.Windows.Forms.NumericUpDown();
            ((System.ComponentModel.ISupportInitialize)(this.nUDB)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDL)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDep)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDhpr)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDlp)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDhr)).BeginInit();
            this.SuspendLayout();
            // 
            // viewer
            // 
            this.viewer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.viewer.Location = new System.Drawing.Point(0, 0);
            this.viewer.Name = "viewer";
            this.viewer.ReflectionX = false;
            this.viewer.ReflectionY = false;
            this.viewer.ShowCotations = false;
            this.viewer.Size = new System.Drawing.Size(450, 468);
            this.viewer.TabIndex = 16;
            // 
            // dataCtrl
            // 
            this.dataCtrl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.dataCtrl.Location = new System.Drawing.Point(450, 230);
            this.dataCtrl.Name = "dataCtrl";
            this.dataCtrl.Size = new System.Drawing.Size(200, 238);
            this.dataCtrl.TabIndex = 17;
            // 
            // label1
            // 
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(520, 43);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(14, 13);
            this.label1.TabIndex = 2;
            this.label1.Text = "B";
            // 
            // label2
            // 
            this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(520, 70);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(15, 13);
            this.label2.TabIndex = 3;
            this.label2.Text = "H";
            // 
            // label3
            // 
            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(520, 97);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(13, 13);
            this.label3.TabIndex = 4;
            this.label3.Text = "L";
            // 
            // label4
            // 
            this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(520, 124);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(19, 13);
            this.label4.TabIndex = 5;
            this.label4.Text = "ep";
            // 
            // label5
            // 
            this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(520, 151);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(22, 13);
            this.label5.TabIndex = 6;
            this.label5.Text = "hpr";
            // 
            // label6
            // 
            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(520, 178);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(15, 13);
            this.label6.TabIndex = 7;
            this.label6.Text = "lp";
            // 
            // label7
            // 
            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(520, 204);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(16, 13);
            this.label7.TabIndex = 8;
            this.label7.Text = "hr";
            // 
            // nUDB
            // 
            this.nUDB.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDB.Location = new System.Drawing.Point(566, 39);
            this.nUDB.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDB.Name = "nUDB";
            this.nUDB.Size = new System.Drawing.Size(53, 20);
            this.nUDB.TabIndex = 9;
            // 
            // nUDH
            // 
            this.nUDH.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDH.Location = new System.Drawing.Point(566, 66);
            this.nUDH.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDH.Name = "nUDH";
            this.nUDH.Size = new System.Drawing.Size(53, 20);
            this.nUDH.TabIndex = 10;
            // 
            // nUDL
            // 
            this.nUDL.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDL.Location = new System.Drawing.Point(566, 93);
            this.nUDL.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDL.Name = "nUDL";
            this.nUDL.Size = new System.Drawing.Size(53, 20);
            this.nUDL.TabIndex = 11;
            // 
            // nUDep
            // 
            this.nUDep.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDep.Location = new System.Drawing.Point(566, 120);
            this.nUDep.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDep.Name = "nUDep";
            this.nUDep.Size = new System.Drawing.Size(53, 20);
            this.nUDep.TabIndex = 12;
            // 
            // nUDhpr
            // 
            this.nUDhpr.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDhpr.Location = new System.Drawing.Point(566, 147);
            this.nUDhpr.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDhpr.Name = "nUDhpr";
            this.nUDhpr.Size = new System.Drawing.Size(53, 20);
            this.nUDhpr.TabIndex = 13;
            // 
            // nUDlp
            // 
            this.nUDlp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDlp.Location = new System.Drawing.Point(566, 174);
            this.nUDlp.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDlp.Name = "nUDlp";
            this.nUDlp.Size = new System.Drawing.Size(53, 20);
            this.nUDlp.TabIndex = 14;
            // 
            // nUDhr
            // 
            this.nUDhr.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.nUDhr.Location = new System.Drawing.Point(566, 204);
            this.nUDhr.Maximum = new decimal(new int[] {
            10000,
            0,
            0,
            0});
            this.nUDhr.Name = "nUDhr";
            this.nUDhr.Size = new System.Drawing.Size(53, 20);
            this.nUDhr.TabIndex = 15;
            // 
            // FormMain2
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(645, 468);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.nUDhr);
            this.Controls.Add(this.nUDlp);
            this.Controls.Add(this.nUDhpr);
            this.Controls.Add(this.nUDep);
            this.Controls.Add(this.nUDL);
            this.Controls.Add(this.nUDH);
            this.Controls.Add(this.nUDB);
            this.Controls.Add(this.viewer);
            this.Controls.Add(this.dataCtrl);
            this.Name = "FormMain2";
            this.Text = "FormMain2 (Pic.Factory2D.Control.Test)";
            ((System.ComponentModel.ISupportInitialize)(this.nUDB)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDL)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDep)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDhpr)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDlp)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.nUDhr)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Example #2
0
        /// <summary>
        /// Instantiate all parameters
        /// </summary>
        protected void CreatePluginControls()
        {
            Component component = Component;
            if (component == null)
                return;

            const int lblX = 10, nudX = 160, incY = 26;
            Size lblSize = new Size(150, 18);
            Size lblValueSize = new Size(70, 12);
            Size tbSize = new Size(40, 12);
            Size chkbSize = new Size(150, 18);
            Size nudSize = new Size(70, 12);
            Size lblComboSize = new Size(140, 12);
            Size cbSize = new Size(140, 22);
            int posY = 10;
            int tabIndex = 0;

            ParameterStack stack = CurrentParameterStack;

            // clear controls
            Panel2.Controls.Clear();

            // check if plugin has some majorations
            if (stack.HasMajorations)
            {
                if (null != _profileLoader)
                {
                    Size btSize = new Size(50, 22);

                    // lbl 
                    Label lbl = new Label();
                    lbl.Text = Pic.Plugin.ViewCtrl.Properties.Resource.STR_PROFILE;
                    lbl.Location = new System.Drawing.Point(lblX, posY);
                    lbl.Size = new Size(nudX - cbSize.Width + nudSize.Width - lblX, lblSize.Height);
                    lbl.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(lbl);
                    // create combo
                    _comboProfile = new ComboBox();
                    _comboProfile.DropDownStyle = ComboBoxStyle.DropDownList;
                    _comboProfile.Location = new System.Drawing.Point(nudX - cbSize.Width + nudSize.Width, posY);
                    _comboProfile.Size = cbSize;
                    _comboProfile.TabIndex = ++tabIndex;
                    _comboProfile.Items.AddRange(_profileLoader.Profiles);
                    _comboProfile.SelectedItem = _profileLoader.Selected;
                    _comboProfile.SelectedIndexChanged += new EventHandler(OnProfileSelected);
                    Panel2.Controls.Add(_comboProfile);
                    // increment Y
                    posY += incY;
                    // create edit majorations button
                    Button bt = new Button();
                    bt.Text = Pic.Plugin.ViewCtrl.Properties.Resource.STR_TOL;
                    bt.Location = new System.Drawing.Point(nudX, posY);
                    bt.Size = new Size(nudSize.Width, cbSize.Height);
                    bt.Click += new EventHandler(btEditMajorations_Click);
                    Panel2.Controls.Add(bt);

                    // increment Y
                    posY += incY;
                }
                else
                    _log.Info("Plugin has majorations but no profile loader implementation is available!\nMajoration handled as default parameters");
            }
            else // no majorations
            {
                _comboProfile = null;
				if (stack.HasParameter("th1"))
                	_thickness = stack.GetDoubleParameterValue("th1");

                // lbl
                Label lbl = new Label();
                lbl.Text = Pic.Plugin.ViewCtrl.Properties.Resource.STR_THICKNESS;
                lbl.Location = new System.Drawing.Point(lblX, posY);
                lbl.Size = new Size(nudX - cbSize.Width + nudSize.Width - lblX, lblSize.Height);
                lbl.TabIndex = ++tabIndex;
                Panel2.Controls.Add(lbl);
                // create edit field
                NumericUpDown nudThickness = new NumericUpDown();
                nudThickness.Name = "nudThickness";
                nudThickness.Minimum = 0.0M;
                nudThickness.Maximum = 10000.0M;
                nudThickness.DecimalPlaces = 2;
                nudThickness.ThousandsSeparator = false;
                nudThickness.Value = Convert.ToDecimal(_thickness);
                nudThickness.Location = new System.Drawing.Point(nudX, posY);
                nudThickness.Size = nudSize;
                nudThickness.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Right;
                nudThickness.ValueChanged += new EventHandler(ParameterChanged);
                nudThickness.LostFocus += new EventHandler(nud_LostFocus);
                nudThickness.GotFocus += new EventHandler(nud_GotFocus);
                nudThickness.Click += new EventHandler(nud_GotFocus);
                nudThickness.TabIndex = ++tabIndex;
                Panel2.Controls.Add(nudThickness);

                // increment Y
                posY += incY;
            }

            // create unknown parameters
            foreach (Pic.Plugin.Parameter param in CurrentParameterStack.ParameterList)
            {
                // do not create default parameters
                if (_profileLoader != null && _profileLoader.HasParameter(param)
                    || param.IsMajoration)
                    continue;

                if (param.GetType() == typeof(ParameterDouble))
                {
                    ParameterDouble paramDouble = param as ParameterDouble;

                    // do not show special parameters
                    if (string.Equals(paramDouble.Name, "ep1") || string.Equals(paramDouble.Name, "th1"))
                        continue;

                    Label lbl = new Label();
                    lbl.Text = Translate(paramDouble.Description) + " (" + paramDouble.Name + ")";
                    lbl.Location = new System.Drawing.Point(lblX + param.IndentValue, posY);
                    lbl.Size = lblSize;
                    lbl.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(lbl);

                    NumericUpDown nud = new NumericUpDown();
                    nud.Name = "nud" + paramDouble.Name;
                    nud.Minimum = paramDouble.HasValueMin ? (decimal)paramDouble.ValueMin : 0;
                    nud.Maximum = paramDouble.HasValueMax ? (decimal)paramDouble.ValueMax : 10000;
                    nud.DecimalPlaces = 2;
                    nud.ThousandsSeparator = false;
                    nud.Value = (decimal)paramDouble.Value;
                    nud.Location = new System.Drawing.Point(nudX + param.IndentValue, posY);
                    nud.Size = nudSize;
                    nud.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Right;
                    nud.ValueChanged += new EventHandler(ParameterChanged);
                    nud.LostFocus += new EventHandler(nud_LostFocus);
                    nud.GotFocus += new EventHandler(nud_GotFocus);
                    nud.Click +=new EventHandler(nud_GotFocus);
                    if (null != timer)
                        nud.MouseEnter += new EventHandler(nud_MouseEnter);
                    nud.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(nud);
                }
                else if (param.GetType() == typeof(ParameterInt))
                {
                    ParameterInt paramInt = param as ParameterInt;

                    Label lbl = new Label();
                    lbl.Text = Translate(paramInt.Description) + " (" + Translate(paramInt.Name) + ")";
                    lbl.Location = new System.Drawing.Point(lblX + param.IndentValue, posY);
                    lbl.Size = lblSize;
                    lbl.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(lbl);

                    NumericUpDown nud = new NumericUpDown();
                    nud.Name = "nud" + paramInt.Name;
                    nud.Minimum = paramInt.HasValueMin ? paramInt.ValueMin : 0;
                    nud.Maximum = paramInt.HasValueMax ? paramInt.ValueMax : 10000;
                    nud.DecimalPlaces = 0;
                    nud.ThousandsSeparator = false;
                    nud.Value = paramInt.Value;
                    nud.Location = new System.Drawing.Point(nudX + param.IndentValue, posY);
                    nud.Size = nudSize;
                    nud.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Right;
                    nud.ValueChanged += new EventHandler(ParameterChanged_WithRecreate);
                    nud.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(nud);
                }
                else if (param.GetType() == typeof(ParameterBool))
                {
                    ParameterBool paramBool = param as ParameterBool;

                    CheckBox chkb = new CheckBox();
                    chkb.Name = "chkb" + paramBool.Name;
                    chkb.Text = Translate(paramBool.Description) + " (" + Translate(paramBool.Name) + ")";
                    chkb.Location = new System.Drawing.Point(lblX + param.IndentValue, posY);
                    chkb.Size = chkbSize;
                    chkb.Checked = paramBool.Value;
                    chkb.CheckedChanged += new EventHandler(ParameterChanged_WithRecreate);
                    chkb.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(chkb);
                }
                else if (param.GetType() == typeof(ParameterMulti))
                {
                    ParameterMulti paramMulti = param as ParameterMulti;

                    Label lbl = new Label();
                    lbl.Text = Translate(paramMulti.Description) + " (" + Translate(paramMulti.Name) + ")";
                    lbl.Location = new System.Drawing.Point(lblX + param.IndentValue, posY);
                    lbl.Size = new Size(nudX - cbSize.Width + nudSize.Width - lblX, lblSize.Height);
                    lbl.TabIndex = ++tabIndex;
                    Panel2.Controls.Add(lbl);

                    ComboBox combo = new ComboBox();
                    combo.Name = "cb" + paramMulti.Name;
                    combo.DropDownStyle = ComboBoxStyle.DropDownList;
                    combo.Location = new System.Drawing.Point(nudX - cbSize.Width + nudSize.Width+param.IndentValue, posY);
                    combo.Size = cbSize;
                    combo.TabIndex = ++tabIndex;
                    combo.Items.AddRange(Translate(paramMulti.DisplayList));
                    combo.SelectedIndex = paramMulti.Value;
                    combo.SelectedIndexChanged += new EventHandler(ParameterChanged_WithRecreate);
                    Panel2.Controls.Add(combo);
                }
                posY += incY;
            }

            // FactoryDataCtrl
            if (_showSummary && !_buttonCloseVisible && !_buttonValidateVisible)
            {
                factoryDataCtrl = new Pic.Factory2D.Control.FactoryDataCtrl();
                factoryDataCtrl.Anchor = (System.Windows.Forms.AnchorStyles)
                    (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
                factoryDataCtrl.Location = new Point(lblX, this.Panel2.Height - 110);
                factoryDataCtrl.Size = new Size(this.Panel2.Width - 2 * lblX, 100);
                factoryDataCtrl.Visible = true;
                factoryDataCtrl.TabChanged += new Factory2D.Control.FactoryDataCtrl.onTabChanged(factoryDataCtrl_TabChanged);
                Panel2.Controls.Add(factoryDataCtrl);
            }

            // btValidate
            btValidate = new Button();
            btValidate.Anchor = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
            btValidate.Click += new EventHandler(onValidate);
            btValidate.Name = "ValidateButton";
            btValidate.Text = Properties.Resource.STR_VALIDATE;
            btValidate.Location = new System.Drawing.Point(this.Panel2.Width - 80, this.Panel2.Height - 50);
            btValidate.Size = new Size(70, 20);
            btValidate.Visible = _buttonValidateVisible;
            Panel2.Controls.Add(btValidate);

            // btClose
            btClose = new Button();
            btClose.Anchor = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
            btClose.Name = "CloseButton";
            btClose.Text = Properties.Resource.STR_CLOSE;
            btClose.Location = new System.Drawing.Point(this.Panel2.Width - 80, this.Panel2.Height - 25);
            btClose.Size = new Size(70, 20);
            btClose.Visible = _buttonCloseVisible;
            btClose.Click += new EventHandler(onClose);
            Panel2.Controls.Add(btClose);

            //  force to update parameter stack, once control have been recreated
            SetParametersDirty();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.viewer   = new Pic.Factory2D.Control.FactoryViewerBase();
     this.dataCtrl = new Pic.Factory2D.Control.FactoryDataCtrl();
     this.label1   = new System.Windows.Forms.Label();
     this.label2   = new System.Windows.Forms.Label();
     this.label3   = new System.Windows.Forms.Label();
     this.label4   = new System.Windows.Forms.Label();
     this.label5   = new System.Windows.Forms.Label();
     this.label6   = new System.Windows.Forms.Label();
     this.label7   = new System.Windows.Forms.Label();
     this.nUDB     = new System.Windows.Forms.NumericUpDown();
     this.nUDH     = new System.Windows.Forms.NumericUpDown();
     this.nUDL     = new System.Windows.Forms.NumericUpDown();
     this.nUDep    = new System.Windows.Forms.NumericUpDown();
     this.nUDhpr   = new System.Windows.Forms.NumericUpDown();
     this.nUDlp    = new System.Windows.Forms.NumericUpDown();
     this.nUDhr    = new System.Windows.Forms.NumericUpDown();
     ((System.ComponentModel.ISupportInitialize)(this.nUDB)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDH)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDep)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDhpr)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDlp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDhr)).BeginInit();
     this.SuspendLayout();
     //
     // viewer
     //
     this.viewer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.viewer.Location      = new System.Drawing.Point(0, 0);
     this.viewer.Name          = "viewer";
     this.viewer.ReflectionX   = false;
     this.viewer.ReflectionY   = false;
     this.viewer.ShowCotations = false;
     this.viewer.Size          = new System.Drawing.Size(450, 468);
     this.viewer.TabIndex      = 16;
     //
     // dataCtrl
     //
     this.dataCtrl.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.dataCtrl.Location = new System.Drawing.Point(450, 230);
     this.dataCtrl.Name     = "dataCtrl";
     this.dataCtrl.Size     = new System.Drawing.Size(200, 238);
     this.dataCtrl.TabIndex = 17;
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(520, 43);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(14, 13);
     this.label1.TabIndex = 2;
     this.label1.Text     = "B";
     //
     // label2
     //
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(520, 70);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(15, 13);
     this.label2.TabIndex = 3;
     this.label2.Text     = "H";
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(520, 97);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(13, 13);
     this.label3.TabIndex = 4;
     this.label3.Text     = "L";
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(520, 124);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(19, 13);
     this.label4.TabIndex = 5;
     this.label4.Text     = "ep";
     //
     // label5
     //
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(520, 151);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(22, 13);
     this.label5.TabIndex = 6;
     this.label5.Text     = "hpr";
     //
     // label6
     //
     this.label6.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(520, 178);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(15, 13);
     this.label6.TabIndex = 7;
     this.label6.Text     = "lp";
     //
     // label7
     //
     this.label7.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(520, 204);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(16, 13);
     this.label7.TabIndex = 8;
     this.label7.Text     = "hr";
     //
     // nUDB
     //
     this.nUDB.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDB.Location = new System.Drawing.Point(566, 39);
     this.nUDB.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDB.Name     = "nUDB";
     this.nUDB.Size     = new System.Drawing.Size(53, 20);
     this.nUDB.TabIndex = 9;
     //
     // nUDH
     //
     this.nUDH.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDH.Location = new System.Drawing.Point(566, 66);
     this.nUDH.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDH.Name     = "nUDH";
     this.nUDH.Size     = new System.Drawing.Size(53, 20);
     this.nUDH.TabIndex = 10;
     //
     // nUDL
     //
     this.nUDL.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDL.Location = new System.Drawing.Point(566, 93);
     this.nUDL.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDL.Name     = "nUDL";
     this.nUDL.Size     = new System.Drawing.Size(53, 20);
     this.nUDL.TabIndex = 11;
     //
     // nUDep
     //
     this.nUDep.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDep.Location = new System.Drawing.Point(566, 120);
     this.nUDep.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDep.Name     = "nUDep";
     this.nUDep.Size     = new System.Drawing.Size(53, 20);
     this.nUDep.TabIndex = 12;
     //
     // nUDhpr
     //
     this.nUDhpr.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDhpr.Location = new System.Drawing.Point(566, 147);
     this.nUDhpr.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDhpr.Name     = "nUDhpr";
     this.nUDhpr.Size     = new System.Drawing.Size(53, 20);
     this.nUDhpr.TabIndex = 13;
     //
     // nUDlp
     //
     this.nUDlp.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDlp.Location = new System.Drawing.Point(566, 174);
     this.nUDlp.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDlp.Name     = "nUDlp";
     this.nUDlp.Size     = new System.Drawing.Size(53, 20);
     this.nUDlp.TabIndex = 14;
     //
     // nUDhr
     //
     this.nUDhr.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.nUDhr.Location = new System.Drawing.Point(566, 204);
     this.nUDhr.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.nUDhr.Name     = "nUDhr";
     this.nUDhr.Size     = new System.Drawing.Size(53, 20);
     this.nUDhr.TabIndex = 15;
     //
     // FormMain2
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(645, 468);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.nUDhr);
     this.Controls.Add(this.nUDlp);
     this.Controls.Add(this.nUDhpr);
     this.Controls.Add(this.nUDep);
     this.Controls.Add(this.nUDL);
     this.Controls.Add(this.nUDH);
     this.Controls.Add(this.nUDB);
     this.Controls.Add(this.viewer);
     this.Controls.Add(this.dataCtrl);
     this.Name = "FormMain2";
     this.Text = "FormMain2 (Pic.Factory2D.Control.Test)";
     ((System.ComponentModel.ISupportInitialize)(this.nUDB)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDH)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDep)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDhpr)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDlp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nUDhr)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }