Inheritance: UpDownBase, ISupportInitialize
Example #1
0
 public ToolStripNumberControl()
     : base(new NumericUpDown())
 {
     spinner = this.Control as NumericUpDown;
     spinner.Maximum = 9999;
     spinner.Minimum = 20;
 }
Example #2
0
        // We need to force WriteValue() on CheckedChanged otherwise it will only call WriteValue()
        // on loss of focus.
        // http://stackoverflow.com/questions/1060080/databound-winforms-control-does-not-recognize-change-until-losing-focus
        /// <summary>
        /// Binds the specified NumericUpDown control
        /// </summary>
        /// <param name="num"></param>
        /// <param name="b"></param>
        /// <returns></returns>
        public static Binding BindValueChanged(NumericUpDown num, Binding b)
        {
            num.DataBindings.Add(b);
            num.ValueChanged += (sender, e) => { b.WriteValue(); };

            return b;
        }
Example #3
0
        public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value)
        {
            if (((context != null) && (context.Instance != null)) && (provider != null))
            {
                base.editorService = (IWindowsFormsEditorService) provider.GetService(typeof(IWindowsFormsEditorService));
                if (base.editorService == null)
                {
                    return value;
                }
                NumericUpDown down1 = new NumericUpDown();
                down1.Height = 40;
                down1.BorderStyle = BorderStyle.None;
                try
                {
                    Struct.Float fl= (Struct.Float) value;

                    down1.Value = decimal.Parse(fl.F.ToString());
                }
                catch
                {
                }
                down1.Minimum = new decimal(0);
                down1.Maximum = new decimal(179);
                down1.DecimalPlaces = 0;
                down1.Increment =new decimal(10);// new decimal(1, 0, 0, false, 1);
                base.editorService.DropDownControl(down1);
                value =new Struct.Float( (float) down1.Value);
            }
            return value;
        }
Example #4
0
        public ToolStripNumericUpDown()
            : base(new FlowLayoutPanel())
        {
            // Set up the FlowLayouPanel.
            this.controlPanel = (FlowLayoutPanel)Control;
            this.controlPanel.BackColor = Color.Transparent;
            this.controlPanel.WrapContents = false;
            this.controlPanel.AutoSize = true;
            this.controlPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink;

            // Add child controls.
            this.num = new NumericUpDown();
            this.num.Width = 50;
            this.num.Height = this.num.PreferredHeight;
            this.num.Margin = new Padding(0, 1, 3, 1);
            this.num.Value = 0;
            this.num.Minimum = 0;
            this.num.Maximum = 100;
            this.num.DecimalPlaces = 0;
            this.num.Increment = 1;
            this.num.Hexadecimal = false;
            this.num.TextAlign = HorizontalAlignment.Center;

            this.txt = new Label();
            this.txt.Text = "NumericUpDown";
            this.txt.TextAlign = ContentAlignment.MiddleRight;
            this.txt.AutoSize = true;
            this.txt.Dock = DockStyle.Left;

            this.controlPanel.Controls.Add(this.txt);
            this.controlPanel.Controls.Add(this.num);
        }
Example #5
0
 private void FixEmptyNumericUpDown(NumericUpDown control)
 {
     if (control.Text == "")
     {
         control.Text = "0";
     }
 }
        private void build(int row, int col)
        {
            string id = row.ToString() + col.ToString();
            int x = INIT_HORZ_PADDING + (UPDOWN_SIZE.Width + LBL_SIZE.Width + HORZ_PADDING) * col;
            int y = INIT_VERT_PADDING + (Math.Max(UPDOWN_SIZE.Height, LBL_SIZE.Width) + VERT_PADDING) * row;

            GenotypeCount data = (GenotypeCount)_dataBS.DataSource;
            bool isHomo = data.Genotype.IsHomozygous;

            // Initialize the Label
            _label = new Label() {
                Name = $"{(isHomo ? "H**o" : "Hetero")}CountLbl{id}",
                Location = new Point(x, y + LBL_OFFSET),
                AutoSize = false,
                Size = LBL_SIZE,
            };
            Binding lblBinding = new Binding("Text", _dataBS, "Genotype.Alleles", true, DataSourceUpdateMode.Never);
            lblBinding.Format += LblBinding_Format;
            _label.DataBindings.Add(lblBinding);

            // Initialize the NumericUpDown
            _upDown = new NumericUpDown() {
                Name = $"{(isHomo ? "H**o" : "Hetero")}CountUpDown{id}",
                Location = new Point(x + LBL_SIZE.Width, y),
                Size = UPDOWN_SIZE,
                Maximum = 100000m,  // 100,000
                Minimum = 0m,
                TabIndex = row,
                Value = 100m,
                ThousandsSeparator = true,
            };
            Binding countBinding = new Binding("Value", _dataBS, "Count", false, DataSourceUpdateMode.OnPropertyChanged);
            _upDown.DataBindings.Add(countBinding);
        }
Example #7
0
        public MultiNoteGui(ComboBox ddlVelCheck, NumericUpDown nupVelCheck,
                         ComboBox ddlNote, NumericUpDown nupNoteTo,
                         NumericUpDown nupVelMult, NumericUpDown nupVelAdd,
                         Button btnAdd, Button btnRemove,
                         ListBox lb)
        {
            m_ddlVelCheck = ddlVelCheck;
            m_ddlVelCheck.Items.Add(MultNoteCheckType.Greater);
            m_ddlVelCheck.Items.Add(MultNoteCheckType.Lesser);
            m_ddlVelCheck.SelectedIndex = 0;
            m_nupVelCheck = nupVelCheck;

            m_ddlNote = ddlNote;
            m_ddlNote.Items.Add(GuiDrumPad.RedTom);
            m_ddlNote.Items.Add(GuiDrumPad.YellowTom);
            m_ddlNote.Items.Add(GuiDrumPad.YellowCymbal);
            m_ddlNote.Items.Add(GuiDrumPad.BlueTom);
            m_ddlNote.Items.Add(GuiDrumPad.BlueCymbal);
            m_ddlNote.Items.Add(GuiDrumPad.GreenTom);
            m_ddlNote.Items.Add(GuiDrumPad.GreenCymbal);
            m_ddlNote.SelectedIndex = 0;
            m_nupNoteTo = nupNoteTo;

            m_nupVelMult = nupVelMult;
            m_nupVelAdd = nupVelAdd;

            m_btnAdd = btnAdd;
            m_btnAdd.Click += new EventHandler(m_btnAdd_Click);
            m_btnRemove = btnRemove;
            m_btnRemove.Click += new EventHandler(m_btnRemove_Click);

            m_lb = lb;
        }
Example #8
0
        public UnavaMgr(Postava pos, Label muL, NumericUpDown unN, FlowLayoutPanel bars, Panel labels, LinkLabel postihULink, Label postihUL)
        {
            postava = pos;
            unavaPanel = bars;
            mezUnavyL = muL;
            unavaLabels = labels;
            unavaN = unN;
            postihLink = postihULink;
            postihL = postihUL;

            int mez = postava.getVlastnostO("Mez únavy");
            boxes = new List<CheckBox>();
            for (int i = 0; i < mez * 3; i++)
            {
                CheckBox box = new CheckBox();
                //box.ThreeState = true;
                box.Checked = false;
                box.Margin = new Padding(0);
                box.Parent = unavaPanel;
                box.Width = box.Height = 15;
                box.Click += new EventHandler(changeCheck);
                box.Tag = i+1;
                boxes.Add(box);
            }
        }
Example #9
0
		private void AddControlRow() {
			int yMod = mBonusCount + 1;

			Label lbl = new Label();
			lbl.AutoSize = true;
			lbl.Location = new System.Drawing.Point( 12, 30 + ( 37 * yMod ) + 7 + 3 );
			lbl.Name = "lbl" + mBonusCount;
			lbl.Size = new System.Drawing.Size( 46, 13 );
			lbl.Text = "Bonus " + ( mBonusCount + 1 );

			ComboBox com = new ComboBox();
			com.FormattingEnabled = true;
			com.Location = new System.Drawing.Point( 64, 30 + ( 37 * yMod ) + 7 );
			com.Name = "cb" + mBonusCount;
			com.Size = new System.Drawing.Size( 79, 21 );
			com.Items.AddRange( mComboValues );
			com.SelectedIndex = 0;

			NumericUpDown num = new NumericUpDown();
			num.Location = new System.Drawing.Point( 149, 30 + ( 37 * yMod ) + 7 );
			num.Name = "num" + mBonusCount;
			num.Size = new System.Drawing.Size( 52, 20 );
			num.Minimum = -1000;
			num.Maximum = 1000;
			num.Value = 0;

			this.Controls.Add( lbl );
			this.Controls.Add( num );
			this.Controls.Add( com );

			this.Height = 145 + ( yMod * 37 );

			mBonusCount++;
		}
Example #10
0
 //Constructor
 public LibroHandler(Element.NumericUpDown updwLibro, Element.NumericUpDown updwRenglon, Element.MaskedTextBox txtNroFolio, Element.TextBox txtDescripcion)
 {
     this.updwLibro = updwLibro;
     this.updwRenglon = updwRenglon;
     this.txtNroFolio = txtNroFolio;
     this.txtDescripcion = txtDescripcion;
 }
        public void loadVariablesNouveau(NumericUpDown nudInitSpeed, NumericUpDown nudMaxSpeed, NumericUpDown nudEnergyInterval, NumericUpDown nudEnergySpeedup, NumericUpDown nudLevelDepth, TextBox txtParticleName, TextBox txtParticleAbbv)
        {
            string[] stageslines = File.ReadAllLines(stagespath);

            int linecount = 0;
            foreach (string line in stageslines)
            {
                if (line.Contains("-- STAGE 1"))
                {
                    int extra = 0;
                    if (stageslines[linecount + 1].Contains("{"))
                    {
                        extra = 1;
                    }

                    nudInitSpeed.Value = Convert.ToDecimal(stageslines[linecount + extra + 1].Split('=')[1].Trim().Replace(",", "").Replace('.', ','));
                    nudMaxSpeed.Value = Convert.ToDecimal(stageslines[linecount + extra + 2].Split('=')[1].Trim().Replace(",", "").Replace('.', ','));
                    nudEnergyInterval.Value = Convert.ToDecimal(stageslines[linecount + extra + 3].Split('=')[1].Trim().Replace(",", "").Replace('.', ','));
                    nudEnergySpeedup.Value = Convert.ToDecimal(stageslines[linecount + extra + 4].Split('=')[1].Trim().Replace(",", "").Replace('.', ','));
                    nudLevelDepth.Value = Convert.ToDecimal(stageslines[linecount + extra + 5].Split('=')[1].Trim().Replace(",", "").Replace('.', ','));
                    txtParticleName.Text = stageslines[linecount + extra + 6].Split('=')[1].Trim().Replace("\"", "").Replace(",", "");
                    txtParticleAbbv.Text = stageslines[linecount + extra + 7].Split('=')[1].Trim().Replace("\"", "").Replace(",", "");
                }

                linecount++;
            }
        }
Example #12
0
 public void Nul(NumericUpDown n1, NumericUpDown n2, NumericUpDown n3, NumericUpDown n4, NumericUpDown n5, NumericUpDown n6, NumericUpDown n7, NumericUpDown n8, NumericUpDown n9, NumericUpDown n10, NumericUpDown n11, NumericUpDown n12, NumericUpDown n13, NumericUpDown n14, NumericUpDown n15, NumericUpDown n16, NumericUpDown n17, NumericUpDown n18, NumericUpDown n19, NumericUpDown n20, NumericUpDown n21, NumericUpDown n22, NumericUpDown n23, NumericUpDown n24)
 {
     n1.Value = 0;
     n2.Value = 0;
     n3.Value = 0;
     n4.Value = 0;
     n5.Value = 0;
     n6.Value = 0;
     n7.Value = 0;
     n8.Value = 0;
     n9.Value = 0;
     n10.Value = 0;
     n11.Value = 0;
     n12.Value = 0;
     n13.Value = 0;
     n14.Value = 0;
     n15.Value = 0;
     n16.Value = 0;
     n17.Value = 0;
     n18.Value = 0;
     n19.Value = 0;
     n20.Value = 0;
     n21.Value = 0;
     n22.Value = 0;
     n23.Value = 0;
     n24.Value = 0;
 }
Example #13
0
 public void Results(NumericUpDown hometeam, NumericUpDown visitors, int ho, int vo, Team t1, Team t2)
 {
     sc1 = hometeam.Value;
     sc2 = visitors.Value;
     t1.ScoreMissedGoal(sc1, sc2);
     t2.ScoreMissedGoal(sc2, sc1);
     if (sc1 == sc2)
     {
         ho += 1;
         vo += 1;
         t1.Draws(1);
         t2.Draws(1);
     }
     else if (sc1 > sc2)
     {
         ho += 3;
         vo += 0;
         t1.Wins(1);
         t2.Loses(1);
     }
     else if (sc1 < sc2)
     {
         ho += 0;
         vo += 3;
         t1.Loses(1);
         t2.Wins(1);
     }
     t1.Points(ho);
     t2.Points(vo);
 }
Example #14
0
        /// <summary>
        /// Binds the specified NumericUpDown control
        /// </summary>
        /// <param name="num"></param>
        /// <param name="dataSource"></param>
        /// <param name="dataMember"></param>
        /// <returns></returns>
        public static Binding BindValueChanged(NumericUpDown num, object dataSource, string dataMember)
        {
            var binding = num.DataBindings.Add("Value", dataSource, dataMember); //NOXLATE
            num.ValueChanged += (sender, e) => { binding.WriteValue(); };

            return binding;
        }
Example #15
0
		public osd_screen (int num, OSD aosd)
		{
			number=num;
			osd=aosd;
			
			num+=1;
			
			this.tabPage = new System.Windows.Forms.TabPage();		
			this.panelItems=new Panel[64];
			this.panelItems_default = new Panel[64];
			this.LIST_items=new System.Windows.Forms.TreeView();
			this.rbtSortCategory = new System.Windows.Forms.RadioButton();
            this.rbtSortAlphabetic = new System.Windows.Forms.RadioButton();
			this.groupBox = new System.Windows.Forms.GroupBox();
			this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.NUM_Y = new System.Windows.Forms.NumericUpDown();
            this.NUM_X = new System.Windows.Forms.NumericUpDown();
			this.pictureBox = new System.Windows.Forms.PictureBox();
			this.chkSign = new System.Windows.Forms.CheckBox();
			
			this.tabPage.SuspendLayout();
			this.groupBox.SuspendLayout();
			this.pictureBox.SuspendLayout();
		}
Example #16
0
 private void SetField(NumericUpDown field, int value)
 {
     if (field.InvokeRequired)
         field.Invoke(new MethodInvoker(() => SetField(field, value)));
     else
         field.Value = value;
 }
        private bool thousandsSeparator; // Caches the value of the ThousandsSeparator property

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Constructor for the DataGridViewNumericUpDownCell cell type
        /// </summary>
        public DataGridViewNumericUpDownCell()
        {
            // Create a thread specific bitmap used for the painting of the non-edited cells
            if (renderingBitmap == null)
            {
                renderingBitmap = new Bitmap(DATAGRIDVIEWNUMERICUPDOWNCELL_defaultRenderingBitmapWidth, DATAGRIDVIEWNUMERICUPDOWNCELL_defaultRenderingBitmapHeight);
            }

            // Create a thread specific NumericUpDown control used for the painting of the non-edited cells
            if (paintingNumericUpDown == null)
            {
                paintingNumericUpDown = new NumericUpDown();
                // Some properties only need to be set once for the lifetime of the control:
                paintingNumericUpDown.BorderStyle = BorderStyle.None;
                paintingNumericUpDown.Maximum = Decimal.MaxValue / 10;
                paintingNumericUpDown.Minimum = Decimal.MinValue / 10;
            }

            // Set the default values of the properties:
            this.decimalPlaces = DATAGRIDVIEWNUMERICUPDOWNCELL_defaultDecimalPlaces;
            this.increment = DATAGRIDVIEWNUMERICUPDOWNCELL_defaultIncrement;
            this.minimum = DATAGRIDVIEWNUMERICUPDOWNCELL_defaultMinimum;
            this.maximum = DATAGRIDVIEWNUMERICUPDOWNCELL_defaultMaximum;
            this.thousandsSeparator = DATAGRIDVIEWNUMERICUPDOWNCELL_defaultThousandsSeparator;
        }
Example #18
0
        public static bool IsValidTimeRange(DateTimePicker dtpStartTime, DateTimePicker dtpEndTime, NumericUpDown numericUpDown)
        {
            // Check if the start time is after the end time.
            if (dtpStartTime.Value > dtpEndTime.Value)
            {
                MessageBox.Show("The end time must be greater than the start time.", "Entry Error", MessageBoxButtons.OK,
                    MessageBoxIcon.Error);
                dtpEndTime.Focus();
                return false;
            }

            // TODO: Bug - The date time picker does not roll back to the previous day if the default
            // end time is set for the next day. For example, if we start the program at 8:00 PM, the
            // end time will be set for 12:00 AM the next day. This causes the validation to pass even
            // if the form shows that the time range is too small.

            // Check if at least two time slots can fit in the time range.
            TimeSpan twoTimeSlotsSpan = TimeSpan.FromMinutes((int) numericUpDown.Value * 2);
            if (dtpEndTime.Value - dtpStartTime.Value < twoTimeSlotsSpan)
            {
                MessageBox.Show("The difference between the start and end time must provide for at least two time slots.", "Entry Error",
                    MessageBoxButtons.OK, MessageBoxIcon.Error);
                dtpEndTime.Focus();
                return false;
            }

            return true;
        }
Example #19
0
        public void FillFromMatch(NumericUpDown nmrNumberMatch)
        {
            string figIdRed = "";
            string figIdBlue = "";
            string matchString = nmrNumberMatch.Value.ToString();
            try
            {
                var match = new Match();
                match = TextDataUltil.GetMatchFromMatchId(matchString);
                if (match != null)
                {
                    figIdRed = match.FigIdRed;
                    figIdBlue = match.FigIdBlue;

                    if (checkIsNumber(figIdRed))
                        figIdRed = setMSSVFromMath(figIdRed);
                    if (checkIsNumber(figIdBlue))
                        figIdBlue = setMSSVFromMath(figIdBlue);

                    setValuesTextboxRed(figIdRed);
                    setValuesTextboxBlue(figIdBlue);
                }
                else
                {
                    ClearTexbox();
                }
            }
            catch (Exception fail)
            {
                String error = "The following error has occurred:\n\n";
                error += fail.Message.ToString() + "\n\n";
                MessageBox.Show(error);
            }
        }
Example #20
0
 public SpinBoxObserver(SlowWorker Subject, NumericUpDown InputSpinBox, Form InputForm)
     : base(Subject)
 {
     // subject is passed in, and subscribed to in the parent class.
     inputSpinBox = InputSpinBox;
     inputForm = InputForm;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TransparencyDialog));
       this.MyTransparency = new System.Windows.Forms.NumericUpDown();
       ((System.ComponentModel.ISupportInitialize)(this.MyTransparency)).BeginInit();
       this.SuspendLayout();
       //
       // MyTransparency
       //
       this.MyTransparency.Location = new System.Drawing.Point(16, 16);
       this.MyTransparency.Maximum = new System.Decimal(new int[] {
                                                                    10,
                                                                    0,
                                                                    0,
                                                                    0});
       this.MyTransparency.Name = "MyTransparency";
       this.MyTransparency.Size = new System.Drawing.Size(96, 20);
       this.MyTransparency.TabIndex = 0;
       this.MyTransparency.ValueChanged += new System.EventHandler(this.MyTransparency_ValueChanged);
       //
       // TransparencyDialog
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
       this.ClientSize = new System.Drawing.Size(128, 53);
       this.Controls.Add(this.MyTransparency);
       this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
       this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
       this.MaximizeBox = false;
       this.MinimizeBox = false;
       this.Name = "TransparencyDialog";
       this.Text = "TransparencyDialog";
       ((System.ComponentModel.ISupportInitialize)(this.MyTransparency)).EndInit();
       this.ResumeLayout(false);
 }
 private static IWinFormsNumericUpDownAdapter GetWinFormsControlAdapter()
 {
     var control = new NumericUpDown();
     var winFormsControlAdapter = MockRepository.GenerateStub<IWinFormsNumericUpDownAdapter>();
     winFormsControlAdapter.Stub(adapter => adapter.WrappedControl).Return(control);
     return winFormsControlAdapter;
 }
Example #23
0
		public void DefaultValues ()
		{
			NumericUpDown n = new NumericUpDown ();
#if NET_2_0
			Assert.IsFalse (n.Accelerations.IsReadOnly, "#A1");
#endif
		}
        protected override Control CreateHostedControl()
        {
            NumericUpDown nud = new NumericUpDown();                // Just create new control.
            nud.Minimum = -1;

            return nud;
        }
Example #25
0
        public void editPrice(TextBox textBox1,ComboBox comboBox1,NumericUpDown selectAmount)
        {
            try
            {
                connect = DataBaseConnection.getInstance().getConnect();
                SqlCommand cmd = new SqlCommand("update [Table] set [Price] = @Price , [Amount] = @Amount where [Name] = @Name", connect);
                //  cmd.CommandText = "update [Table] set [Price] = @Price where [Name] = @Name";
                cmd.Parameters.AddWithValue("@Price", float.Parse(textBox1.Text));
                cmd.Parameters.AddWithValue("@Name", comboBox1.Text);
                cmd.Parameters.AddWithValue("@Amount", Convert.ToInt32(selectAmount.Value));
                connect.Open();
                cmd.ExecuteNonQuery();
                MessageBox.Show("The product was Edited !! " + comboBox1.Text, "Done", MessageBoxButtons.OK, MessageBoxIcon.Information);
                ShowMessages.PutMessageInContainer("The "+comboBox1+" information was updated", Color.Plum);

                connect.Close();
            }
            catch (Exception EX)
            {
                MessageBox.Show(EX.StackTrace.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                ShowMessages.PutMessageInContainer("Error within Edit Operaiton ", Color.Red);

            }
            finally
            {
                connect.Close();
                UpdateGridView.UpdateGridViews();
            }
        }
Example #26
0
        public ZivotyMgr(Postava pos, Label mzL, NumericUpDown zrN, FlowLayoutPanel bars, Panel labels, LinkLabel postihZLink, Label postihZL)
        {
            postava = pos;
            zivotyPanel = bars;
            mezZraneniL = mzL;
            zivotyLabels = labels;
            zraneniN = zrN;
            postihLink = postihZLink;
            postihL = postihZL;

            int mez = postava.getVlastnostO("Mez zranění");
            boxes = new List<CheckBox>();
            for (int i = 0; i < mez * 3; i++)
            {
                CheckBox box = new CheckBox();
                //box.ThreeState = true;
                box.Checked = false;
                box.Margin = new Padding(0);
                box.Parent = zivotyPanel;
                box.Width = box.Height = 15;
                box.Click += new EventHandler(changeCheck);
                box.Tag = i+1;
                boxes.Add(box);
            }
        }
Example #27
0
 public Form1()
 {
     InitializeComponent();
     random = new Random();
     fNameBox = firstNameBox;
     lNameBox = lastNameBox;
     ageBox = ageCount;
     strBox = strCount;
     dexBox = dexCount;
     constBox = constCount;
     intBox = intCount;
     wisBox = wisCount;
     charBox = charCount;
     raceChoice = raceBox;
     classChoice = classBox;
     classChoiceBox1 = comboBox1;
     classChoiceBox2 = comboBox2;
     classNumBox1 = classCount1;
     classLabel1 = classChoice1Label;
     classLabel2 = classChoice2Label;
     classLabel1.Visible = false;
     classLabel2.Visible = false;
     classNumBox1.Visible = false;
     classChoiceBox1.Visible = false;
     classChoiceBox2.Visible = false;
 }
Example #28
0
        public TgcFloatModifier(string varName, float minValue, float maxValue, float defaultValue) : base(varName)
        {
            this.minValue = minValue;
            this.maxValue = maxValue;

            numericUpDown = new NumericUpDown();
            numericUpDown.Size = new System.Drawing.Size(100, 20);
            numericUpDown.Margin = new Padding(0);
            numericUpDown.DecimalPlaces = 4;
            numericUpDown.Minimum = (decimal)minValue;
            numericUpDown.Maximum = (decimal)maxValue;
            numericUpDown.Value = (decimal)defaultValue;
            numericUpDown.Increment = (decimal)(2f * (maxValue - minValue) / 100f);
            numericUpDown.ValueChanged += new EventHandler(numericUpDown_ValueChanged);

            trackBar = new TrackBar();
            trackBar.Size = new System.Drawing.Size(100, 20);
            trackBar.Margin = new Padding(0);
            trackBar.Minimum = 0;
            trackBar.Maximum = 20;
            trackBar.Value = (int)((defaultValue - minValue) * 20 / (maxValue - minValue));
            trackBar.ValueChanged += new EventHandler(trackBar_ValueChanged);


            contentPanel.Controls.Add(numericUpDown);
            contentPanel.Controls.Add(trackBar);
        }
Example #29
0
 public Add(NumericUpDown IN_toUpdate, string name)
 {
     InitializeComponent();
     toUpdate = IN_toUpdate;
     startingAmt.Value = toUpdate.Value;
     lblAddTo.Text = "Add To: " + name;
 }
Example #30
0
 //QuyDinhData m_QuyDinhData = new QuyDinhData();
 public void HienThi(TextBox txtTenCongTy,
     TextBox txtDiaChi,
     TextBox txtDienThoai,
     Label lblTaiKhoanCo,
     NumericUpDown nudLichSaoLuu,
     TextBox txtViTriSaoLuu,
     Label lblThoiDiemSaoLuu,
     RadioButton rdbBat,
     RadioButton rdbTat)
 {
     DataTable dT = QuyDinh.LayDsQuyDinh();
     if (dT.Rows.Count == 0) return;
     int timKiemTuDong = Convert.ToInt32(dT.Rows[0]["TimKiemTuDong"]);
     if (timKiemTuDong==1)
         rdbBat.Checked = true;
     else
         rdbTat.Checked = true;
     txtTenCongTy.Text = dT.Rows[0]["TenCongTy"].ToString();
     txtDiaChi.Text = dT.Rows[0]["DiaChi"].ToString();
     txtDienThoai.Text = dT.Rows[0]["DienThoai"].ToString();
     lblTaiKhoanCo.Text = dT.Rows[0]["TaiKhoanCo"].ToString();
     nudLichSaoLuu.Value = Convert.ToInt32(dT.Rows[0]["LichSaoLuu"]);
     txtViTriSaoLuu.Text = dT.Rows[0]["ViTriSaoLuu"].ToString();
     lblThoiDiemSaoLuu.Text = dT.Rows[0]["ThoiDiemSaoLuuTiepTheo"].ToString();
 }
Example #31
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmthkcbngtr));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.DateTimePicker();
     this.den        = new System.Windows.Forms.DateTimePicker();
     this.label3     = new System.Windows.Forms.Label();
     this.madoituong = new System.Windows.Forms.ComboBox();
     this.label8     = new System.Windows.Forms.Label();
     this.sothe      = new System.Windows.Forms.TextBox();
     this.label7     = new System.Windows.Forms.Label();
     this.vitri      = new System.Windows.Forms.NumericUpDown();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.butIn      = new System.Windows.Forms.Button();
     this.loaidt     = new System.Windows.Forms.ComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.vitri)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ ngày :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(144, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(36, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "đến :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.CustomFormat = "dd/MM/yyyy";
     this.tu.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.tu.Location     = new System.Drawing.Point(64, 8);
     this.tu.Name         = "tu";
     this.tu.Size         = new System.Drawing.Size(80, 21);
     this.tu.TabIndex     = 1;
     this.tu.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // den
     //
     this.den.CustomFormat = "dd/MM/yyyy";
     this.den.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.den.Location     = new System.Drawing.Point(184, 8);
     this.den.Name         = "den";
     this.den.Size         = new System.Drawing.Size(80, 21);
     this.den.TabIndex     = 3;
     this.den.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(0, 32);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 23);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Đối tượng :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // madoituong
     //
     this.madoituong.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.madoituong.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.madoituong.Location      = new System.Drawing.Point(64, 32);
     this.madoituong.Name          = "madoituong";
     this.madoituong.Size          = new System.Drawing.Size(94, 21);
     this.madoituong.TabIndex      = 5;
     this.madoituong.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(176, 59);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(48, 16);
     this.label8.TabIndex  = 9;
     this.label8.Text      = "Vị trí :";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // sothe
     //
     this.sothe.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.sothe.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.sothe.Location        = new System.Drawing.Point(64, 56);
     this.sothe.Name            = "sothe";
     this.sothe.Size            = new System.Drawing.Size(120, 21);
     this.sothe.TabIndex        = 8;
     this.sothe.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(0, 59);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(64, 16);
     this.label7.TabIndex  = 7;
     this.label7.Text      = "Lọc thẻ :";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // vitri
     //
     this.vitri.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vitri.Location = new System.Drawing.Point(224, 56);
     this.vitri.Maximum  = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.vitri.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.vitri.Name     = "vitri";
     this.vitri.Size     = new System.Drawing.Size(40, 21);
     this.vitri.TabIndex = 10;
     this.vitri.Value    = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.vitri.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Medisoft.Properties.Resources.exit1;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(137, 88);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(99, 25);
     this.butKetthuc.TabIndex   = 13;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // butIn
     //
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(44, 88);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(91, 25);
     this.butIn.TabIndex   = 12;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // loaidt
     //
     this.loaidt.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loaidt.Items.AddRange(new object[] {
         "Bắt buộc + tự nguyện",
         "Bắt buộc",
         "Tự nguyện"
     });
     this.loaidt.Location = new System.Drawing.Point(160, 32);
     this.loaidt.Name     = "loaidt";
     this.loaidt.Size     = new System.Drawing.Size(104, 21);
     this.loaidt.TabIndex = 6;
     this.loaidt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // frmthkcbngtr
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(272, 133);
     this.Controls.Add(this.loaidt);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.vitri);
     this.Controls.Add(this.madoituong);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.den);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.sothe);
     this.Controls.Add(this.label8);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmthkcbngtr";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Bảng tổng hợp chi phí KCB ngoại trú";
     this.Load         += new System.EventHandler(this.frmthkcbngtr_Load);
     ((System.ComponentModel.ISupportInitialize)(this.vitri)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #32
0
 private void WeightText_ValueChanged(object sender, EventArgs e)
 {
     System.Windows.Forms.NumericUpDown t = (System.Windows.Forms.NumericUpDown)sender;
     weight = (int)t.Value;
 }
Example #33
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(rptTh_chitiet));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.nhom       = new System.Windows.Forms.ComboBox();
     this.label4     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.NumericUpDown();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     ((System.ComponentModel.ISupportInitialize)(this.tu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(1, 22);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(168, 22);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(53, 88);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(75, 28);
     this.butIn.TabIndex   = 5;
     this.butIn.Text       = "      &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(130, 88);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(75, 28);
     this.butKetthuc.TabIndex   = 6;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // nhom
     //
     this.nhom.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.nhom.Location = new System.Drawing.Point(56, 46);
     this.nhom.Name     = "nhom";
     this.nhom.Size     = new System.Drawing.Size(192, 21);
     this.nhom.TabIndex = 3;
     this.nhom.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(1, 43);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(56, 23);
     this.label4.TabIndex  = 8;
     this.label4.Text      = "Nhóm :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tu.Location = new System.Drawing.Point(56, 22);
     this.tu.Maximum  = new System.Decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.tu.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tu.Name     = "tu";
     this.tu.Size     = new System.Drawing.Size(40, 21);
     this.tu.TabIndex = 0;
     this.tu.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(200, 22);
     this.yyyy.Maximum  = new System.Decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 2;
     this.yyyy.Value    = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // rptTh_chitiet
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(258, 143);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.yyyy,
         this.tu,
         this.nhom,
         this.label4,
         this.butKetthuc,
         this.butIn,
         this.label2,
         this.label1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptTh_chitiet";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Tổng hợp chi tiết vật liệu,dụng cụ,sản phẩm,hàng hóa";
     this.Load           += new System.EventHandler(this.rptTh_chitiet_Load);
     this.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.rptTh_chitiet_MouseMove);
     ((System.ComponentModel.ISupportInitialize)(this.tu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     this.ResumeLayout(false);
 }
Example #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rptDanhap));
     this.label1       = new System.Windows.Forms.Label();
     this.label2       = new System.Windows.Forms.Label();
     this.butIn        = new System.Windows.Forms.Button();
     this.butKetthuc   = new System.Windows.Forms.Button();
     this.manguon      = new System.Windows.Forms.ComboBox();
     this.label4       = new System.Windows.Forms.Label();
     this.tu           = new System.Windows.Forms.NumericUpDown();
     this.yyyy         = new System.Windows.Forms.NumericUpDown();
     this.den          = new System.Windows.Forms.NumericUpDown();
     this.label3       = new System.Windows.Forms.Label();
     this.butXem       = new System.Windows.Forms.Button();
     this.khott        = new System.Windows.Forms.ComboBox();
     this.label6       = new System.Windows.Forms.Label();
     this.kho          = new System.Windows.Forms.CheckedListBox();
     this.tabControl1  = new System.Windows.Forms.TabControl();
     this.tabPage1     = new System.Windows.Forms.TabPage();
     this.chkgianovat  = new System.Windows.Forms.CheckBox();
     this.label5       = new System.Windows.Forms.Label();
     this.tabPage2     = new System.Windows.Forms.TabPage();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     ((System.ComponentModel.ISupportInitialize)(this.tu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.den)).BeginInit();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(3, 3);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Từ tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(212, 3);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(127, 211);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 8;
     this.butIn.Text       = " &In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(197, 211);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 9;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // manguon
     //
     this.manguon.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manguon.Location = new System.Drawing.Point(58, 26);
     this.manguon.Name     = "manguon";
     this.manguon.Size     = new System.Drawing.Size(235, 21);
     this.manguon.TabIndex = 3;
     this.manguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(3, 23);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(56, 23);
     this.label4.TabIndex  = 8;
     this.label4.Text      = "Nguồn :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Location = new System.Drawing.Point(58, 3);
     this.tu.Maximum  = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.tu.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tu.Name     = "tu";
     this.tu.Size     = new System.Drawing.Size(40, 21);
     this.tu.TabIndex = 0;
     this.tu.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.tu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(245, 3);
     this.yyyy.Maximum  = new decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 2;
     this.yyyy.Value    = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // den
     //
     this.den.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Location = new System.Drawing.Point(130, 3);
     this.den.Maximum  = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.den.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.den.Name     = "den";
     this.den.Size     = new System.Drawing.Size(40, 21);
     this.den.TabIndex = 1;
     this.den.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.den.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(98, 3);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 23);
     this.label3.TabIndex  = 12;
     this.label3.Text      = "đến :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butXem
     //
     this.butXem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butXem.Location   = new System.Drawing.Point(57, 211);
     this.butXem.Name       = "butXem";
     this.butXem.Size       = new System.Drawing.Size(70, 25);
     this.butXem.TabIndex   = 7;
     this.butXem.Text       = "&Xem";
     this.butXem.Click     += new System.EventHandler(this.butXem_Click);
     //
     // khott
     //
     this.khott.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.khott.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.khott.Location              = new System.Drawing.Point(58, 50);
     this.khott.Name                  = "khott";
     this.khott.Size                  = new System.Drawing.Size(235, 21);
     this.khott.TabIndex              = 5;
     this.khott.SelectedIndexChanged += new System.EventHandler(this.khott_SelectedIndexChanged);
     this.khott.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.khott_KeyDown);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(4, 48);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(56, 23);
     this.label6.TabIndex  = 14;
     this.label6.Text      = "Kho xuất :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kho
     //
     this.kho.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.Location = new System.Drawing.Point(58, 74);
     this.kho.Name     = "kho";
     this.kho.Size     = new System.Drawing.Size(233, 100);
     this.kho.TabIndex = 6;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(307, 283);
     this.tabControl1.TabIndex      = 15;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.chkgianovat);
     this.tabPage1.Controls.Add(this.kho);
     this.tabPage1.Controls.Add(this.label5);
     this.tabPage1.Controls.Add(this.manguon);
     this.tabPage1.Controls.Add(this.den);
     this.tabPage1.Controls.Add(this.tu);
     this.tabPage1.Controls.Add(this.yyyy);
     this.tabPage1.Controls.Add(this.label1);
     this.tabPage1.Controls.Add(this.label2);
     this.tabPage1.Controls.Add(this.khott);
     this.tabPage1.Controls.Add(this.butIn);
     this.tabPage1.Controls.Add(this.label6);
     this.tabPage1.Controls.Add(this.butKetthuc);
     this.tabPage1.Controls.Add(this.butXem);
     this.tabPage1.Controls.Add(this.label4);
     this.tabPage1.Controls.Add(this.label3);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(299, 257);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Nhập";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // chkgianovat
     //
     this.chkgianovat.AutoSize = true;
     this.chkgianovat.Location = new System.Drawing.Point(58, 180);
     this.chkgianovat.Name     = "chkgianovat";
     this.chkgianovat.Size     = new System.Drawing.Size(127, 17);
     this.chkgianovat.TabIndex = 16;
     this.chkgianovat.Text     = "In theo giá trước VAT";
     this.chkgianovat.UseVisualStyleBackColor = true;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(1, 74);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(59, 23);
     this.label5.TabIndex  = 15;
     this.label5.Text      = "Kho nhận :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.richTextBox1);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(299, 257);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Hướng dẫn";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // richTextBox1
     //
     this.richTextBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Location = new System.Drawing.Point(3, 3);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.ReadOnly = true;
     this.richTextBox1.Size     = new System.Drawing.Size(293, 251);
     this.richTextBox1.TabIndex = 2;
     this.richTextBox1.Text     = resources.GetString("richTextBox1.Text");
     //
     // rptDanhap
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(307, 283);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptDanhap";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Nhập từ kho trung tâm";
     this.MouseMove      += new System.Windows.Forms.MouseEventHandler(this.rptDanhap_MouseMove);
     this.Load           += new System.EventHandler(this.rptDanhap_Load);
     ((System.ComponentModel.ISupportInitialize)(this.tu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.den)).EndInit();
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #35
0
 private void InitializeComponent()
 {
     this.offsetx    = new System.Windows.Forms.NumericUpDown();
     this.offsety    = new System.Windows.Forms.NumericUpDown();
     this.scale      = new System.Windows.Forms.NumericUpDown();
     this.lblScale   = new System.Windows.Forms.Label();
     this.lblOffsetY = new System.Windows.Forms.Label();
     this.lblOffsetX = new System.Windows.Forms.Label();
     this.cmdCommand = new System.Windows.Forms.Button();
     this.filterzneg = new System.Windows.Forms.NumericUpDown();
     this.lblZNeg    = new System.Windows.Forms.Label();
     this.filterzpos = new System.Windows.Forms.NumericUpDown();
     this.lblZPos    = new System.Windows.Forms.Label();
     this.cmdLookup  = new System.Windows.Forms.Button();
     this.txtLookup  = new System.Windows.Forms.TextBox();
     this.lblLookup  = new System.Windows.Forms.Label();
     this.mapCon     = new myseq.MapCon();
     ((System.ComponentModel.ISupportInitialize)(this.offsetx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.offsety)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.scale)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.filterzneg)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.filterzpos)).BeginInit();
     this.SuspendLayout();
     //
     // offsetx
     //
     this.offsetx.Location      = new System.Drawing.Point(114, 448);
     this.offsetx.Name          = "offsetx";
     this.offsetx.Size          = new System.Drawing.Size(58, 20);
     this.offsetx.TabIndex      = 3;
     this.offsetx.Visible       = false;
     this.offsetx.ValueChanged += new System.EventHandler(this.offsetx_ValueChanged);
     //
     // offsety
     //
     this.offsety.Location      = new System.Drawing.Point(217, 448);
     this.offsety.Name          = "offsety";
     this.offsety.Size          = new System.Drawing.Size(56, 20);
     this.offsety.TabIndex      = 5;
     this.offsety.Visible       = false;
     this.offsety.ValueChanged += new System.EventHandler(this.offsety_ValueChanged);
     //
     // scale
     //
     this.scale.Location = new System.Drawing.Point(313, 447);
     this.scale.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.scale.Minimum = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.scale.Name     = "scale";
     this.scale.Size     = new System.Drawing.Size(48, 20);
     this.scale.TabIndex = 7;
     this.scale.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.scale.Visible       = false;
     this.scale.ValueChanged += new System.EventHandler(this.scale_ValueChanged);
     //
     // lblScale
     //
     this.lblScale.ForeColor = System.Drawing.SystemColors.WindowText;
     this.lblScale.Location  = new System.Drawing.Point(279, 450);
     this.lblScale.Name      = "lblScale";
     this.lblScale.Size      = new System.Drawing.Size(40, 16);
     this.lblScale.TabIndex  = 6;
     this.lblScale.Text      = "Scale";
     this.lblScale.Visible   = false;
     //
     // lblOffsetY
     //
     this.lblOffsetY.ForeColor = System.Drawing.SystemColors.WindowText;
     this.lblOffsetY.Location  = new System.Drawing.Point(174, 451);
     this.lblOffsetY.Name      = "lblOffsetY";
     this.lblOffsetY.Size      = new System.Drawing.Size(48, 16);
     this.lblOffsetY.TabIndex  = 4;
     this.lblOffsetY.Text      = "Offset Y";
     this.lblOffsetY.Visible   = false;
     //
     // lblOffsetX
     //
     this.lblOffsetX.ForeColor = System.Drawing.SystemColors.WindowText;
     this.lblOffsetX.Location  = new System.Drawing.Point(69, 452);
     this.lblOffsetX.Name      = "lblOffsetX";
     this.lblOffsetX.Size      = new System.Drawing.Size(48, 16);
     this.lblOffsetX.TabIndex  = 2;
     this.lblOffsetX.Text      = "Offset X";
     this.lblOffsetX.Visible   = false;
     //
     // cmdCommand
     //
     this.cmdCommand.Location = new System.Drawing.Point(8, 448);
     this.cmdCommand.Name     = "cmdCommand";
     this.cmdCommand.Size     = new System.Drawing.Size(55, 23);
     this.cmdCommand.TabIndex = 1;
     this.cmdCommand.Text     = "GO";
     this.cmdCommand.Visible  = false;
     this.cmdCommand.Click   += new System.EventHandler(this.cmdCommand_Click);
     //
     // filterzneg
     //
     this.filterzneg.Increment = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.filterzneg.Location = new System.Drawing.Point(413, 447);
     this.filterzneg.Maximum  = new decimal(new int[] {
         3500,
         0,
         0,
         0
     });
     this.filterzneg.Name          = "filterzneg";
     this.filterzneg.Size          = new System.Drawing.Size(56, 20);
     this.filterzneg.TabIndex      = 9;
     this.filterzneg.Visible       = false;
     this.filterzneg.ValueChanged += new System.EventHandler(this.filterzneg_ValueChanged);
     //
     // lblZNeg
     //
     this.lblZNeg.ForeColor = System.Drawing.SystemColors.WindowText;
     this.lblZNeg.Location  = new System.Drawing.Point(367, 450);
     this.lblZNeg.Name      = "lblZNeg";
     this.lblZNeg.Size      = new System.Drawing.Size(40, 16);
     this.lblZNeg.TabIndex  = 8;
     this.lblZNeg.Text      = "Z Neg";
     this.lblZNeg.Visible   = false;
     //
     // filterzpos
     //
     this.filterzpos.Increment = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.filterzpos.Location = new System.Drawing.Point(510, 448);
     this.filterzpos.Maximum  = new decimal(new int[] {
         3500,
         0,
         0,
         0
     });
     this.filterzpos.Name          = "filterzpos";
     this.filterzpos.Size          = new System.Drawing.Size(56, 20);
     this.filterzpos.TabIndex      = 11;
     this.filterzpos.Visible       = false;
     this.filterzpos.ValueChanged += new System.EventHandler(this.filterzpos_ValueChanged);
     //
     // lblZPos
     //
     this.lblZPos.ForeColor = System.Drawing.SystemColors.WindowText;
     this.lblZPos.Location  = new System.Drawing.Point(475, 450);
     this.lblZPos.Name      = "lblZPos";
     this.lblZPos.Size      = new System.Drawing.Size(40, 16);
     this.lblZPos.TabIndex  = 10;
     this.lblZPos.Text      = "Z Pos";
     this.lblZPos.Visible   = false;
     //
     // cmdLookup
     //
     this.cmdLookup.Location = new System.Drawing.Point(687, 447);
     this.cmdLookup.Name     = "cmdLookup";
     this.cmdLookup.Size     = new System.Drawing.Size(48, 22);
     this.cmdLookup.TabIndex = 4;
     this.cmdLookup.Text     = "Reset";
     this.cmdLookup.Visible  = false;
     this.cmdLookup.Click   += new System.EventHandler(this.cmdLookup_Click);
     //
     // txtLookup
     //
     this.txtLookup.Location  = new System.Drawing.Point(615, 448);
     this.txtLookup.Name      = "txtLookup";
     this.txtLookup.Size      = new System.Drawing.Size(56, 20);
     this.txtLookup.TabIndex  = 5;
     this.txtLookup.Visible   = false;
     this.txtLookup.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtLookup_KeyPress);
     //
     // lblLookup
     //
     this.lblLookup.Location = new System.Drawing.Point(572, 450);
     this.lblLookup.Name     = "lblLookup";
     this.lblLookup.Size     = new System.Drawing.Size(47, 23);
     this.lblLookup.TabIndex = 12;
     this.lblLookup.Text     = "Lookup";
     this.lblLookup.Visible  = false;
     //
     // mapCon
     //
     this.mapCon.AutoScroll  = true;
     this.mapCon.BackColor   = System.Drawing.SystemColors.ControlLightLight;
     this.mapCon.Location    = new System.Drawing.Point(0, 0);
     this.mapCon.Name        = "mapCon";
     this.mapCon.Size        = new System.Drawing.Size(384, 264);
     this.mapCon.TabIndex    = 0;
     this.mapCon.MouseEnter += new System.EventHandler(this.mapCon_MouseEnter);
     //
     // MapPane
     //
     this.AutoValidate = System.Windows.Forms.AutoValidate.EnablePreventFocusChange;
     this.BackColor    = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.cmdLookup);
     this.Controls.Add(this.cmdCommand);
     this.Controls.Add(this.offsetx);
     this.Controls.Add(this.offsety);
     this.Controls.Add(this.scale);
     this.Controls.Add(this.filterzneg);
     this.Controls.Add(this.filterzpos);
     this.Controls.Add(this.txtLookup);
     this.Controls.Add(this.lblLookup);
     this.Controls.Add(this.lblZPos);
     this.Controls.Add(this.lblZNeg);
     this.Controls.Add(this.lblScale);
     this.Controls.Add(this.lblOffsetY);
     this.Controls.Add(this.lblOffsetX);
     this.Controls.Add(this.mapCon);
     this.Name    = "MapPane";
     this.Size    = new System.Drawing.Size(776, 480);
     this.Resize += new System.EventHandler(this.MapPane_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.offsetx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.offsety)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.scale)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.filterzneg)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.filterzpos)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #36
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmReport));
     this.banin      = new System.Windows.Forms.NumericUpDown();
     this.label1     = new System.Windows.Forms.Label();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.butIn      = new System.Windows.Forms.Button();
     this.label2     = new System.Windows.Forms.Label();
     this.tu         = new System.Windows.Forms.NumericUpDown();
     this.label3     = new System.Windows.Forms.Label();
     this.den        = new System.Windows.Forms.NumericUpDown();
     this.butExcel   = new System.Windows.Forms.Button();
     this.butPdf     = new System.Windows.Forms.Button();
     this.Report     = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     ((System.ComponentModel.ISupportInitialize)(this.banin)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.den)).BeginInit();
     this.SuspendLayout();
     //
     // banin
     //
     this.banin.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.banin.Location = new System.Drawing.Point(375, 5);
     this.banin.Minimum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.banin.Name     = "banin";
     this.banin.Size     = new System.Drawing.Size(38, 21);
     this.banin.TabIndex = 1;
     this.banin.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.banin.KeyDown += new System.Windows.Forms.KeyEventHandler(this.banin_KeyDown);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.SystemColors.Control;
     this.label1.Location  = new System.Drawing.Point(310, 4);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(65, 22);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Số bản in :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butKetthuc
     //
     this.butKetthuc.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     // this.butKetthuc.Image = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(728, 4);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(74, 23);
     this.butKetthuc.TabIndex   = 8;
     this.butKetthuc.Text       = "Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // butIn
     //
     // this.butIn.Image = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     //this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location = new System.Drawing.Point(562, 4);
     this.butIn.Name     = "butIn";
     this.butIn.Size     = new System.Drawing.Size(51, 23);
     this.butIn.TabIndex = 6;
     this.butIn.Text     = "      In";
     this.butIn.Click   += new System.EventHandler(this.butIn_Click);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(406, 5);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(33, 21);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Từ :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // tu
     //
     this.tu.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tu.Location = new System.Drawing.Point(438, 5);
     this.tu.Maximum  = new decimal(new int[] {
         99999,
         0,
         0,
         0
     });
     this.tu.Name     = "tu";
     this.tu.Size     = new System.Drawing.Size(44, 21);
     this.tu.TabIndex = 3;
     this.tu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.banin_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(476, 5);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(40, 21);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "đến :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // den
     //
     this.den.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.den.Location = new System.Drawing.Point(517, 5);
     this.den.Maximum  = new decimal(new int[] {
         99999,
         0,
         0,
         0
     });
     this.den.Name     = "den";
     this.den.Size     = new System.Drawing.Size(44, 21);
     this.den.TabIndex = 5;
     this.den.KeyDown += new System.Windows.Forms.KeyEventHandler(this.banin_KeyDown);
     //
     // butExcel
     //
     //this.butExcel.Image = ((System.Drawing.Image)(resources.GetObject("butExcel.Image")));
     this.butExcel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butExcel.Location   = new System.Drawing.Point(613, 4);
     this.butExcel.Name       = "butExcel";
     this.butExcel.Size       = new System.Drawing.Size(60, 23);
     this.butExcel.TabIndex   = 7;
     this.butExcel.Text       = "      Excel";
     this.butExcel.Click     += new System.EventHandler(this.butExcel_Click);
     //
     // butPdf
     //
     //  this.butPdf.Image = ((System.Drawing.Image)(resources.GetObject("butPdf.Image")));
     this.butPdf.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butPdf.Location   = new System.Drawing.Point(673, 4);
     this.butPdf.Name       = "butPdf";
     this.butPdf.Size       = new System.Drawing.Size(55, 23);
     this.butPdf.TabIndex   = 11;
     this.butPdf.Text       = "PDF";
     this.butPdf.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butPdf.UseVisualStyleBackColor = true;
     this.butPdf.Click += new System.EventHandler(this.butPdf_Click);
     //
     // Report
     //
     this.Report.ActiveViewIndex          = -1;
     this.Report.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
     this.Report.DisplayGroupTree         = false;
     this.Report.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.Report.Location                 = new System.Drawing.Point(0, 0);
     this.Report.Name                     = "Report";
     this.Report.SelectionFormula         = "";
     this.Report.ShowCloseButton          = false;
     this.Report.ShowRefreshButton        = false;
     this.Report.Size                     = new System.Drawing.Size(808, 573);
     this.Report.TabIndex                 = 12;
     this.Report.ViewTimeSelectionFormula = "";
     //
     // frmReport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.butKetthuc;
     this.ClientSize        = new System.Drawing.Size(808, 573);
     this.Controls.Add(this.butPdf);
     this.Controls.Add(this.tu);
     this.Controls.Add(this.butExcel);
     this.Controls.Add(this.den);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.banin);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.Report);
     // this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.Name          = "frmReport";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Viện phí .NET";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmReport_Load);
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmReport_KeyDown);
     ((System.ComponentModel.ISupportInitialize)(this.banin)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.den)).EndInit();
     this.ResumeLayout(false);
 }
Example #37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmChon1khoa));
     this.label1     = new System.Windows.Forms.Label();
     this.mm         = new System.Windows.Forms.NumericUpDown();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.label5     = new System.Windows.Forms.Label();
     this.butOk      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mm
     //
     this.mm.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.mm.Location = new System.Drawing.Point(64, 16);
     this.mm.Maximum  = new System.Decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.mm.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.Name     = "mm";
     this.mm.Size     = new System.Drawing.Size(35, 22);
     this.mm.TabIndex = 1;
     this.mm.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mm_KeyDown);
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(140, 16);
     this.yyyy.Maximum  = new System.Decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(52, 22);
     this.yyyy.TabIndex = 3;
     this.yyyy.Value    = new System.Decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.yyyy_KeyDown);
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label5.Location  = new System.Drawing.Point(104, 16);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(35, 20);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Năm :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butOk
     //
     this.butOk.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butOk.Image")));
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(28, 73);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(75, 28);
     this.butOk.TabIndex   = 6;
     this.butOk.Text       = "     Đồng ý";
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Bitmap)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(105, 73);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(75, 28);
     this.butKetthuc.TabIndex   = 7;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // makp
     //
     this.makp.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.makp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.makp.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.makp.Location      = new System.Drawing.Point(64, 41);
     this.makp.Name          = "makp";
     this.makp.Size          = new System.Drawing.Size(128, 21);
     this.makp.TabIndex      = 4;
     this.makp.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(16, 40);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 23);
     this.label3.TabIndex  = 17;
     this.label3.Text      = "Khoa :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmChon1khoa
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(208, 119);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.makp,
         this.label3,
         this.butKetthuc,
         this.butOk,
         this.mm,
         this.yyyy,
         this.label5,
         this.label1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmChon1khoa";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chọn khoa";
     this.Load           += new System.EventHandler(this.frmChon1khoa_Load);
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     this.ResumeLayout(false);
 }
Example #38
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FStations));
     this.btnSave            = new System.Windows.Forms.Button();
     this.SafeLabel1         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numDdStationsTot   = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel2         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.progressBarKonfig  = new System.Windows.Forms.ProgressBar();
     this.SafeLabel3         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.vScrollBar1        = new System.Windows.Forms.VScrollBar();
     this.lblStationNr       = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.chkPoints          = new System.Windows.Forms.CheckBox();
     this.numNumberOfShoots  = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel5         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.numNumberOfFigures = new System.Windows.Forms.NumericUpDown();
     this.SafeLabel4         = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.groupBoxSample     = new System.Windows.Forms.GroupBox();
     this.txtPoints          = new Allberg.Shooter.Windows.Forms.SafeTextBox();
     this.lblPoints          = new Allberg.Shooter.Windows.Forms.SafeLabel();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.toolTip1           = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.numDdStationsTot)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfShoots)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfFigures)).BeginInit();
     this.groupBoxSample.SuspendLayout();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(168, 192);
     this.btnSave.Name     = "btnSave";
     this.btnSave.TabIndex = 11;
     this.btnSave.Text     = "Spara";
     this.toolTip1.SetToolTip(this.btnSave, "Spara stationskonfiguration och stäng fönstret.");
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // SafeLabel1
     //
     this.SafeLabel1.Location = new System.Drawing.Point(8, 8);
     this.SafeLabel1.Name     = "SafeLabel1";
     this.SafeLabel1.TabIndex = 2;
     this.SafeLabel1.Text     = "Antal stationer";
     //
     // numDdStationsTot
     //
     this.numDdStationsTot.Location = new System.Drawing.Point(120, 8);
     this.numDdStationsTot.Maximum  = new System.Decimal(new int[] {
         15,
         0,
         0,
         0
     });
     this.numDdStationsTot.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numDdStationsTot.Name      = "numDdStationsTot";
     this.numDdStationsTot.Size      = new System.Drawing.Size(72, 20);
     this.numDdStationsTot.TabIndex  = 3;
     this.numDdStationsTot.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.toolTip1.SetToolTip(this.numDdStationsTot, "Välj hur många stationer som ska finnas");
     this.numDdStationsTot.Value = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numDdStationsTot.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numDdStationsTot_KeyUp);
     this.numDdStationsTot.ValueChanged += new System.EventHandler(this.numDdStationsTot_ValueChanged);
     //
     // SafeLabel2
     //
     this.SafeLabel2.Location = new System.Drawing.Point(8, 32);
     this.SafeLabel2.Name     = "SafeLabel2";
     this.SafeLabel2.Size     = new System.Drawing.Size(112, 23);
     this.SafeLabel2.TabIndex = 4;
     this.SafeLabel2.Text     = "Konfigurationsstatus";
     //
     // progressBarKonfig
     //
     this.progressBarKonfig.Location = new System.Drawing.Point(120, 32);
     this.progressBarKonfig.Maximum  = 1;
     this.progressBarKonfig.Name     = "progressBarKonfig";
     this.progressBarKonfig.Size     = new System.Drawing.Size(72, 23);
     this.progressBarKonfig.TabIndex = 5;
     this.toolTip1.SetToolTip(this.progressBarKonfig, "Denna visar konfigurationsstatus. Samtliga stationer måste konfigureras.");
     //
     // SafeLabel3
     //
     this.SafeLabel3.Location = new System.Drawing.Point(8, 16);
     this.SafeLabel3.Name     = "SafeLabel3";
     this.SafeLabel3.TabIndex = 6;
     this.SafeLabel3.Text     = "Stationsnummer";
     //
     // vScrollBar1
     //
     this.vScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.vScrollBar1.LargeChange = 1;
     this.vScrollBar1.Location    = new System.Drawing.Point(160, 16);
     this.vScrollBar1.Maximum     = 1;
     this.vScrollBar1.Minimum     = 1;
     this.vScrollBar1.Name        = "vScrollBar1";
     this.vScrollBar1.Size        = new System.Drawing.Size(16, 96);
     this.vScrollBar1.TabIndex    = 7;
     this.toolTip1.SetToolTip(this.vScrollBar1, "Använd denna för att gå från station till station");
     this.vScrollBar1.Value   = 1;
     this.vScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.vScrollBar1_Scroll);
     //
     // lblStationNr
     //
     this.lblStationNr.Location  = new System.Drawing.Point(112, 16);
     this.lblStationNr.Name      = "lblStationNr";
     this.lblStationNr.Size      = new System.Drawing.Size(40, 23);
     this.lblStationNr.TabIndex  = 8;
     this.lblStationNr.Text      = "1";
     this.lblStationNr.TextAlign = System.Drawing.ContentAlignment.TopRight;
     this.toolTip1.SetToolTip(this.lblStationNr, "Här visas vilket stationsnr som just nu håller på att konfigureras.");
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.chkPoints);
     this.groupBox1.Controls.Add(this.numNumberOfShoots);
     this.groupBox1.Controls.Add(this.SafeLabel5);
     this.groupBox1.Controls.Add(this.numNumberOfFigures);
     this.groupBox1.Controls.Add(this.SafeLabel4);
     this.groupBox1.Controls.Add(this.SafeLabel3);
     this.groupBox1.Controls.Add(this.lblStationNr);
     this.groupBox1.Controls.Add(this.vScrollBar1);
     this.groupBox1.Location = new System.Drawing.Point(8, 64);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(184, 116);
     this.groupBox1.TabIndex = 9;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Aktuell station";
     this.toolTip1.SetToolTip(this.groupBox1, "Data om aktuell station");
     //
     // chkPoints
     //
     this.chkPoints.Location = new System.Drawing.Point(8, 88);
     this.chkPoints.Name     = "chkPoints";
     this.chkPoints.Size     = new System.Drawing.Size(144, 24);
     this.chkPoints.TabIndex = 13;
     this.chkPoints.Text     = "Poängtavla/or";
     this.toolTip1.SetToolTip(this.chkPoints, "Fyll i om det finns poängmål på denna station");
     this.chkPoints.CheckedChanged += new System.EventHandler(this.chkPoints_CheckedChanged);
     //
     // numNumberOfShoots
     //
     this.numNumberOfShoots.Location = new System.Drawing.Point(112, 64);
     this.numNumberOfShoots.Maximum  = new System.Decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.numNumberOfShoots.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numNumberOfShoots.Name     = "numNumberOfShoots";
     this.numNumberOfShoots.Size     = new System.Drawing.Size(40, 20);
     this.numNumberOfShoots.TabIndex = 12;
     this.toolTip1.SetToolTip(this.numNumberOfShoots, "Fyll i hur många skott skyttarna får använda på denna station");
     this.numNumberOfShoots.Value = new System.Decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.numNumberOfShoots.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numNumberOfShoots_KeyUp);
     this.numNumberOfShoots.ValueChanged += new System.EventHandler(this.numNumberOfShoots_ValueChanged);
     //
     // SafeLabel5
     //
     this.SafeLabel5.Location = new System.Drawing.Point(8, 64);
     this.SafeLabel5.Name     = "SafeLabel5";
     this.SafeLabel5.TabIndex = 11;
     this.SafeLabel5.Text     = "Antal skott";
     //
     // numNumberOfFigures
     //
     this.numNumberOfFigures.Location = new System.Drawing.Point(112, 40);
     this.numNumberOfFigures.Maximum  = new System.Decimal(new int[] {
         6,
         0,
         0,
         0
     });
     this.numNumberOfFigures.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numNumberOfFigures.Name     = "numNumberOfFigures";
     this.numNumberOfFigures.Size     = new System.Drawing.Size(40, 20);
     this.numNumberOfFigures.TabIndex = 10;
     this.toolTip1.SetToolTip(this.numNumberOfFigures, "Fyll i hur många figurer som ska visas på denna station");
     this.numNumberOfFigures.Value = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numNumberOfFigures.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.numNumberOfFigures_KeyUp);
     this.numNumberOfFigures.ValueChanged += new System.EventHandler(this.numNumberOfFigures_ValueChanged);
     //
     // SafeLabel4
     //
     this.SafeLabel4.Location = new System.Drawing.Point(8, 40);
     this.SafeLabel4.Name     = "SafeLabel4";
     this.SafeLabel4.TabIndex = 9;
     this.SafeLabel4.Text     = "Antal figurer";
     //
     // groupBoxSample
     //
     this.groupBoxSample.Controls.Add(this.txtPoints);
     this.groupBoxSample.Controls.Add(this.lblPoints);
     this.groupBoxSample.Location = new System.Drawing.Point(200, 12);
     this.groupBoxSample.Name     = "groupBoxSample";
     this.groupBoxSample.Size     = new System.Drawing.Size(120, 168);
     this.groupBoxSample.TabIndex = 10;
     this.groupBoxSample.TabStop  = false;
     this.groupBoxSample.Text     = "Stationsexempel";
     this.toolTip1.SetToolTip(this.groupBoxSample, "Här visas ett exempel på hur det kommer att se ut vid ifyllnad av resultaten");
     //
     // txtPoints
     //
     this.txtPoints.Enabled  = false;
     this.txtPoints.Location = new System.Drawing.Point(56, 136);
     this.txtPoints.Name     = "txtPoints";
     this.txtPoints.Size     = new System.Drawing.Size(56, 20);
     this.txtPoints.TabIndex = 1;
     this.txtPoints.Text     = "";
     this.txtPoints.Visible  = false;
     //
     // lblPoints
     //
     this.lblPoints.Location = new System.Drawing.Point(8, 136);
     this.lblPoints.Name     = "lblPoints";
     this.lblPoints.Size     = new System.Drawing.Size(40, 23);
     this.lblPoints.TabIndex = 0;
     this.lblPoints.Text     = "Poäng";
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(248, 192);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 12;
     this.btnCancel.Text         = "Stäng";
     this.toolTip1.SetToolTip(this.btnCancel, "Stäng fönstret");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // FStations
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(328, 221);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.groupBoxSample);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.progressBarKonfig);
     this.Controls.Add(this.SafeLabel2);
     this.Controls.Add(this.numDdStationsTot);
     this.Controls.Add(this.SafeLabel1);
     this.Controls.Add(this.btnSave);
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "FStations";
     this.Text       = "Stationer";
     ((System.ComponentModel.ISupportInitialize)(this.numDdStationsTot)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfShoots)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numNumberOfFigures)).EndInit();
     this.groupBoxSample.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #39
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KeyPairGeneratorForm));
     this.generateKeysButton = new System.Windows.Forms.Button();
     this.keyPictureBox      = new System.Windows.Forms.PictureBox();
     this.numericUpDown      = new System.Windows.Forms.NumericUpDown();
     ((System.ComponentModel.ISupportInitialize)(this.keyPictureBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown)).BeginInit();
     this.SuspendLayout();
     //
     // generateKeysButton
     //
     this.generateKeysButton.BackColor = System.Drawing.SystemColors.Control;
     this.generateKeysButton.Font      = new System.Drawing.Font("Georgia", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.generateKeysButton.ForeColor = System.Drawing.Color.Black;
     this.generateKeysButton.Location  = new System.Drawing.Point(183, 119);
     this.generateKeysButton.Name      = "generateKeysButton";
     this.generateKeysButton.Size      = new System.Drawing.Size(149, 28);
     this.generateKeysButton.TabIndex  = 0;
     this.generateKeysButton.Text      = "Generate Keys";
     this.generateKeysButton.UseVisualStyleBackColor = false;
     this.generateKeysButton.Click += new System.EventHandler(this.generateKeysButton_Click);
     //
     // keyPictureBox
     //
     this.keyPictureBox.BackColor   = System.Drawing.Color.Black;
     this.keyPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.keyPictureBox.Image       = ((System.Drawing.Image)(resources.GetObject("keyPictureBox.Image")));
     this.keyPictureBox.Location    = new System.Drawing.Point(31, 61);
     this.keyPictureBox.Name        = "keyPictureBox";
     this.keyPictureBox.Size        = new System.Drawing.Size(66, 75);
     this.keyPictureBox.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.keyPictureBox.TabIndex    = 1;
     this.keyPictureBox.TabStop     = false;
     //
     // numericUpDown
     //
     this.numericUpDown.BackColor = System.Drawing.Color.White;
     this.numericUpDown.Font      = new System.Drawing.Font("Georgia", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown.ForeColor = System.Drawing.Color.Black;
     this.numericUpDown.Increment = new decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.numericUpDown.Location = new System.Drawing.Point(183, 52);
     this.numericUpDown.Maximum  = new decimal(new int[] {
         16384,
         0,
         0,
         0
     });
     this.numericUpDown.Minimum = new decimal(new int[] {
         384,
         0,
         0,
         0
     });
     this.numericUpDown.Name               = "numericUpDown";
     this.numericUpDown.ReadOnly           = true;
     this.numericUpDown.Size               = new System.Drawing.Size(149, 26);
     this.numericUpDown.TabIndex           = 0;
     this.numericUpDown.ThousandsSeparator = true;
     this.numericUpDown.UpDownAlign        = System.Windows.Forms.LeftRightAlignment.Left;
     this.numericUpDown.Value              = new decimal(new int[] {
         1024,
         0,
         0,
         0
     });
     //
     // KeyPairGeneratorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.BackColor         = System.Drawing.SystemColors.ActiveBorder;
     this.ClientSize        = new System.Drawing.Size(366, 205);
     this.Controls.Add(this.numericUpDown);
     this.Controls.Add(this.keyPictureBox);
     this.Controls.Add(this.generateKeysButton);
     this.Font            = new System.Drawing.Font("Georgia", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ForeColor       = System.Drawing.Color.White;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "KeyPairGeneratorForm";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Generate Keys";
     this.Load           += new System.EventHandler(this.KeyPairGeneratorForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.keyPictureBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(rptKiemkekho));
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.butIn      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label12    = new System.Windows.Forms.Label();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.mm         = new System.Windows.Forms.NumericUpDown();
     this.nguon      = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.kho        = new System.Windows.Forms.CheckedListBox();
     this.chkChitiet = new System.Windows.Forms.CheckBox();
     this.chkAB      = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(-8, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(55, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(148, 10);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(34, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "năm :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butIn
     //
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(64, 210);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(60, 25);
     this.butIn.TabIndex   = 4;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(126, 210);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(60, 25);
     this.butKetthuc.TabIndex   = 5;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label12
     //
     this.label12.Location  = new System.Drawing.Point(15, 33);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(32, 23);
     this.label12.TabIndex  = 22;
     this.label12.Text      = "Kho :";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(185, 11);
     this.yyyy.Maximum  = new decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 1;
     this.yyyy.Value    = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // mm
     //
     this.mm.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mm.Location = new System.Drawing.Point(46, 11);
     this.mm.Maximum  = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.mm.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.Name     = "mm";
     this.mm.Size     = new System.Drawing.Size(40, 21);
     this.mm.TabIndex = 0;
     this.mm.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tu_KeyDown);
     //
     // nguon
     //
     this.nguon.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nguon.Location = new System.Drawing.Point(46, 136);
     this.nguon.Name     = "nguon";
     this.nguon.Size     = new System.Drawing.Size(187, 21);
     this.nguon.TabIndex = 3;
     this.nguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(0, 136);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 23);
     this.label3.TabIndex  = 24;
     this.label3.Text      = "Nguồn :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // kho
     //
     this.kho.CheckOnClick = true;
     this.kho.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.kho.Location     = new System.Drawing.Point(46, 34);
     this.kho.Name         = "kho";
     this.kho.Size         = new System.Drawing.Size(186, 100);
     this.kho.TabIndex     = 2;
     this.kho.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // chkChitiet
     //
     this.chkChitiet.Location = new System.Drawing.Point(48, 160);
     this.chkChitiet.Name     = "chkChitiet";
     this.chkChitiet.Size     = new System.Drawing.Size(128, 24);
     this.chkChitiet.TabIndex = 25;
     this.chkChitiet.Text     = "Chi tiết theo kho";
     this.chkChitiet.KeyDown += new System.Windows.Forms.KeyEventHandler(this.kho_KeyDown);
     //
     // chkAB
     //
     this.chkAB.Location        = new System.Drawing.Point(48, 178);
     this.chkAB.Name            = "chkAB";
     this.chkAB.Size            = new System.Drawing.Size(152, 24);
     this.chkAB.TabIndex        = 26;
     this.chkAB.Text            = "Theo thứ tự tên thuốc";
     this.chkAB.CheckedChanged += new System.EventHandler(this.chkAB_CheckedChanged);
     //
     // rptKiemkekho
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(250, 255);
     this.Controls.Add(this.chkAB);
     this.Controls.Add(this.chkChitiet);
     this.Controls.Add(this.kho);
     this.Controls.Add(this.nguon);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.yyyy);
     this.Controls.Add(this.mm);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butIn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "rptKiemkekho";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Phiếu kiểm kê kho";
     this.Load           += new System.EventHandler(this.rptKiemkekho_Load);
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     this.ResumeLayout(false);
 }
Example #41
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.Dlt_e_kat    = new System.Windows.Forms.Label();
     this.Dlt_e_dltt   = new System.Windows.Forms.Label();
     this.Dlt_e_sel    = new System.Windows.Forms.Button();
     this.Dlt_l_level  = new System.Windows.Forms.Label();
     this.Dlt_l_anz    = new System.Windows.Forms.Label();
     this.Dlt_e_anz    = new System.Windows.Forms.NumericUpDown();
     this.Dlt_e_level  = new System.Windows.Forms.NumericUpDown();
     this.Dlt_l_dltt   = new System.Windows.Forms.Label();
     this.Dlt_l_sta    = new System.Windows.Forms.Label();
     this.Dlt_e_sta    = new System.Windows.Forms.ComboBox();
     this.tdb_e_code   = new System.Windows.Forms.TextBox();
     this.tdb_l_code   = new System.Windows.Forms.Label();
     this.Dlt_e_ishost = new System.Windows.Forms.CheckBox();
     this.Dlt_e_host   = new System.Windows.Forms.Label();
     this.Dlt_l_host   = new System.Windows.Forms.Label();
     this.Dlt_e_parent = new System.Windows.Forms.ComboBox();
     this.Dlt_l_parent = new System.Windows.Forms.Label();
     this.tdb_e_id     = new System.Windows.Forms.Label();
     this.tdb_e_bez    = new System.Windows.Forms.TextBox();
     this.tdb_e_text   = new System.Windows.Forms.TextBox();
     this.tdb_l_text   = new System.Windows.Forms.Label();
     this.tdb_l_bez    = new System.Windows.Forms.Label();
     this.tdb_l_id     = new System.Windows.Forms.Label();
     this.TDB_abgrp    = new System.Windows.Forms.GroupBox();
     this.TDB_ab_clr   = new System.Windows.Forms.Button();
     this.TDB_ab_sel   = new System.Windows.Forms.Button();
     this.TDB_ab_exit  = new System.Windows.Forms.Button();
     this.TDB_ab_del   = new System.Windows.Forms.Button();
     this.TDB_ab_upd   = new System.Windows.Forms.Button();
     this.TDB_ab_ins   = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Dlt_e_anz)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Dlt_e_level)).BeginInit();
     this.TDB_abgrp.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.Dlt_e_kat);
     this.groupBox1.Controls.Add(this.Dlt_e_dltt);
     this.groupBox1.Controls.Add(this.Dlt_e_sel);
     this.groupBox1.Controls.Add(this.Dlt_l_level);
     this.groupBox1.Controls.Add(this.Dlt_l_anz);
     this.groupBox1.Controls.Add(this.Dlt_e_anz);
     this.groupBox1.Controls.Add(this.Dlt_e_level);
     this.groupBox1.Controls.Add(this.Dlt_l_dltt);
     this.groupBox1.Controls.Add(this.Dlt_l_sta);
     this.groupBox1.Controls.Add(this.Dlt_e_sta);
     this.groupBox1.Controls.Add(this.tdb_e_code);
     this.groupBox1.Controls.Add(this.tdb_l_code);
     this.groupBox1.Controls.Add(this.Dlt_e_ishost);
     this.groupBox1.Controls.Add(this.Dlt_e_host);
     this.groupBox1.Controls.Add(this.Dlt_l_host);
     this.groupBox1.Controls.Add(this.Dlt_e_parent);
     this.groupBox1.Controls.Add(this.Dlt_l_parent);
     this.groupBox1.Controls.Add(this.tdb_e_id);
     this.groupBox1.Controls.Add(this.tdb_e_bez);
     this.groupBox1.Controls.Add(this.tdb_e_text);
     this.groupBox1.Controls.Add(this.tdb_l_text);
     this.groupBox1.Controls.Add(this.tdb_l_bez);
     this.groupBox1.Controls.Add(this.tdb_l_id);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(608, 397);
     this.groupBox1.TabIndex = 13;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Description";
     //
     // Dlt_e_kat
     //
     this.Dlt_e_kat.Location = new System.Drawing.Point(224, 256);
     this.Dlt_e_kat.Name     = "Dlt_e_kat";
     this.Dlt_e_kat.Size     = new System.Drawing.Size(352, 16);
     this.Dlt_e_kat.TabIndex = 29;
     //
     // Dlt_e_dltt
     //
     this.Dlt_e_dltt.Location = new System.Drawing.Point(224, 240);
     this.Dlt_e_dltt.Name     = "Dlt_e_dltt";
     this.Dlt_e_dltt.Size     = new System.Drawing.Size(352, 16);
     this.Dlt_e_dltt.TabIndex = 28;
     //
     // Dlt_e_sel
     //
     this.Dlt_e_sel.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.Dlt_e_sel.Location  = new System.Drawing.Point(136, 240);
     this.Dlt_e_sel.Name      = "Dlt_e_sel";
     this.Dlt_e_sel.Size      = new System.Drawing.Size(75, 32);
     this.Dlt_e_sel.TabIndex  = 5;
     this.Dlt_e_sel.Text      = "Select";
     this.Dlt_e_sel.Click    += new System.EventHandler(this.Dlt_e_sel_Click);
     //
     // Dlt_l_level
     //
     this.Dlt_l_level.Location = new System.Drawing.Point(360, 306);
     this.Dlt_l_level.Name     = "Dlt_l_level";
     this.Dlt_l_level.Size     = new System.Drawing.Size(40, 17);
     this.Dlt_l_level.TabIndex = 26;
     this.Dlt_l_level.Text     = "Level";
     //
     // Dlt_l_anz
     //
     this.Dlt_l_anz.Location = new System.Drawing.Point(8, 304);
     this.Dlt_l_anz.Name     = "Dlt_l_anz";
     this.Dlt_l_anz.TabIndex = 25;
     this.Dlt_l_anz.Text     = "Capacity";
     //
     // Dlt_e_anz
     //
     this.Dlt_e_anz.Location = new System.Drawing.Point(136, 304);
     this.Dlt_e_anz.Maximum  = new System.Decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.Dlt_e_anz.Name     = "Dlt_e_anz";
     this.Dlt_e_anz.Size     = new System.Drawing.Size(56, 20);
     this.Dlt_e_anz.TabIndex = 7;
     this.Dlt_e_anz.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // Dlt_e_level
     //
     this.Dlt_e_level.Location = new System.Drawing.Point(408, 304);
     this.Dlt_e_level.Maximum  = new System.Decimal(new int[] {
         1000,
         0,
         0,
         0
     });
     this.Dlt_e_level.Name     = "Dlt_e_level";
     this.Dlt_e_level.Size     = new System.Drawing.Size(56, 20);
     this.Dlt_e_level.TabIndex = 8;
     this.Dlt_e_level.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // Dlt_l_dltt
     //
     this.Dlt_l_dltt.Location = new System.Drawing.Point(8, 240);
     this.Dlt_l_dltt.Name     = "Dlt_l_dltt";
     this.Dlt_l_dltt.Size     = new System.Drawing.Size(100, 32);
     this.Dlt_l_dltt.TabIndex = 22;
     this.Dlt_l_dltt.Text     = "Supliertype / Category";
     //
     // Dlt_l_sta
     //
     this.Dlt_l_sta.Location = new System.Drawing.Point(8, 280);
     this.Dlt_l_sta.Name     = "Dlt_l_sta";
     this.Dlt_l_sta.Size     = new System.Drawing.Size(112, 23);
     this.Dlt_l_sta.TabIndex = 21;
     this.Dlt_l_sta.Text     = "Best place attribute";
     //
     // Dlt_e_sta
     //
     this.Dlt_e_sta.Location = new System.Drawing.Point(136, 280);
     this.Dlt_e_sta.Name     = "Dlt_e_sta";
     this.Dlt_e_sta.Size     = new System.Drawing.Size(456, 21);
     this.Dlt_e_sta.TabIndex = 6;
     //
     // tdb_e_code
     //
     this.tdb_e_code.Location = new System.Drawing.Point(136, 64);
     this.tdb_e_code.Name     = "tdb_e_code";
     this.tdb_e_code.Size     = new System.Drawing.Size(456, 20);
     this.tdb_e_code.TabIndex = 1;
     this.tdb_e_code.Text     = "";
     //
     // tdb_l_code
     //
     this.tdb_l_code.Location = new System.Drawing.Point(8, 64);
     this.tdb_l_code.Name     = "tdb_l_code";
     this.tdb_l_code.TabIndex = 16;
     this.tdb_l_code.Text     = "Code";
     //
     // Dlt_e_ishost
     //
     this.Dlt_e_ishost.Location        = new System.Drawing.Point(488, 184);
     this.Dlt_e_ishost.Name            = "Dlt_e_ishost";
     this.Dlt_e_ishost.TabIndex        = 4;
     this.Dlt_e_ishost.Text            = "Top / Root ?";
     this.Dlt_e_ishost.CheckedChanged += new System.EventHandler(this.Dlt_e_ishost_CheckedChanged);
     //
     // Dlt_e_host
     //
     this.Dlt_e_host.Location = new System.Drawing.Point(136, 208);
     this.Dlt_e_host.Name     = "Dlt_e_host";
     this.Dlt_e_host.Size     = new System.Drawing.Size(448, 23);
     this.Dlt_e_host.TabIndex = 13;
     //
     // Dlt_l_host
     //
     this.Dlt_l_host.Location = new System.Drawing.Point(8, 208);
     this.Dlt_l_host.Name     = "Dlt_l_host";
     this.Dlt_l_host.Size     = new System.Drawing.Size(104, 23);
     this.Dlt_l_host.TabIndex = 12;
     this.Dlt_l_host.Text     = "Root Supplier";
     //
     // Dlt_e_parent
     //
     this.Dlt_e_parent.Location = new System.Drawing.Point(136, 184);
     this.Dlt_e_parent.Name     = "Dlt_e_parent";
     this.Dlt_e_parent.Size     = new System.Drawing.Size(344, 21);
     this.Dlt_e_parent.TabIndex = 3;
     //
     // Dlt_l_parent
     //
     this.Dlt_l_parent.Location = new System.Drawing.Point(8, 184);
     this.Dlt_l_parent.Name     = "Dlt_l_parent";
     this.Dlt_l_parent.TabIndex = 10;
     this.Dlt_l_parent.Text     = "Parent";
     //
     // tdb_e_id
     //
     this.tdb_e_id.Location = new System.Drawing.Point(136, 24);
     this.tdb_e_id.Name     = "tdb_e_id";
     this.tdb_e_id.Size     = new System.Drawing.Size(64, 16);
     this.tdb_e_id.TabIndex = 9;
     //
     // tdb_e_bez
     //
     this.tdb_e_bez.Location = new System.Drawing.Point(136, 40);
     this.tdb_e_bez.Name     = "tdb_e_bez";
     this.tdb_e_bez.Size     = new System.Drawing.Size(456, 20);
     this.tdb_e_bez.TabIndex = 0;
     this.tdb_e_bez.Text     = "";
     //
     // tdb_e_text
     //
     this.tdb_e_text.Location  = new System.Drawing.Point(136, 88);
     this.tdb_e_text.Multiline = true;
     this.tdb_e_text.Name      = "tdb_e_text";
     this.tdb_e_text.Size      = new System.Drawing.Size(456, 88);
     this.tdb_e_text.TabIndex  = 2;
     this.tdb_e_text.Text      = "";
     //
     // tdb_l_text
     //
     this.tdb_l_text.Location    = new System.Drawing.Point(8, 120);
     this.tdb_l_text.Name        = "tdb_l_text";
     this.tdb_l_text.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.tdb_l_text.TabIndex    = 4;
     this.tdb_l_text.Text        = "Description";
     //
     // tdb_l_bez
     //
     this.tdb_l_bez.Location = new System.Drawing.Point(8, 39);
     this.tdb_l_bez.Name     = "tdb_l_bez";
     this.tdb_l_bez.TabIndex = 2;
     this.tdb_l_bez.Text     = "Title";
     //
     // tdb_l_id
     //
     this.tdb_l_id.Location = new System.Drawing.Point(8, 21);
     this.tdb_l_id.Name     = "tdb_l_id";
     this.tdb_l_id.TabIndex = 1;
     this.tdb_l_id.Text     = "ID";
     //
     // TDB_abgrp
     //
     this.TDB_abgrp.Controls.Add(this.TDB_ab_clr);
     this.TDB_abgrp.Controls.Add(this.TDB_ab_sel);
     this.TDB_abgrp.Controls.Add(this.TDB_ab_exit);
     this.TDB_abgrp.Controls.Add(this.TDB_ab_del);
     this.TDB_abgrp.Controls.Add(this.TDB_ab_upd);
     this.TDB_abgrp.Controls.Add(this.TDB_ab_ins);
     this.TDB_abgrp.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.TDB_abgrp.Location = new System.Drawing.Point(0, 344);
     this.TDB_abgrp.Name     = "TDB_abgrp";
     this.TDB_abgrp.Size     = new System.Drawing.Size(608, 53);
     this.TDB_abgrp.TabIndex = 15;
     this.TDB_abgrp.TabStop  = false;
     this.TDB_abgrp.Text     = "Actions";
     //
     // TDB_ab_clr
     //
     this.TDB_ab_clr.Dock     = System.Windows.Forms.DockStyle.Right;
     this.TDB_ab_clr.Location = new System.Drawing.Point(455, 16);
     this.TDB_ab_clr.Name     = "TDB_ab_clr";
     this.TDB_ab_clr.Size     = new System.Drawing.Size(75, 34);
     this.TDB_ab_clr.TabIndex = 13;
     this.TDB_ab_clr.Text     = "Clear";
     this.TDB_ab_clr.Click   += new System.EventHandler(this.TDB_ab_clr_Click);
     //
     // TDB_ab_sel
     //
     this.TDB_ab_sel.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.TDB_ab_sel.Dock      = System.Windows.Forms.DockStyle.Left;
     this.TDB_ab_sel.Location  = new System.Drawing.Point(228, 16);
     this.TDB_ab_sel.Name      = "TDB_ab_sel";
     this.TDB_ab_sel.Size      = new System.Drawing.Size(80, 34);
     this.TDB_ab_sel.TabIndex  = 12;
     this.TDB_ab_sel.Text      = "Select";
     this.TDB_ab_sel.Click    += new System.EventHandler(this.TDB_ab_sel_Click);
     //
     // TDB_ab_exit
     //
     this.TDB_ab_exit.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.TDB_ab_exit.Dock      = System.Windows.Forms.DockStyle.Right;
     this.TDB_ab_exit.Location  = new System.Drawing.Point(530, 16);
     this.TDB_ab_exit.Name      = "TDB_ab_exit";
     this.TDB_ab_exit.Size      = new System.Drawing.Size(75, 34);
     this.TDB_ab_exit.TabIndex  = 14;
     this.TDB_ab_exit.Text      = "Exit";
     this.TDB_ab_exit.Click    += new System.EventHandler(this.TDB_ab_exit_Click);
     //
     // TDB_ab_del
     //
     this.TDB_ab_del.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.TDB_ab_del.Dock      = System.Windows.Forms.DockStyle.Left;
     this.TDB_ab_del.Location  = new System.Drawing.Point(153, 16);
     this.TDB_ab_del.Name      = "TDB_ab_del";
     this.TDB_ab_del.Size      = new System.Drawing.Size(75, 34);
     this.TDB_ab_del.TabIndex  = 11;
     this.TDB_ab_del.Text      = "Delete";
     this.TDB_ab_del.Click    += new System.EventHandler(this.TDB_ab_del_Click);
     //
     // TDB_ab_upd
     //
     this.TDB_ab_upd.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.TDB_ab_upd.Dock      = System.Windows.Forms.DockStyle.Left;
     this.TDB_ab_upd.Location  = new System.Drawing.Point(78, 16);
     this.TDB_ab_upd.Name      = "TDB_ab_upd";
     this.TDB_ab_upd.Size      = new System.Drawing.Size(75, 34);
     this.TDB_ab_upd.TabIndex  = 10;
     this.TDB_ab_upd.Text      = "Update";
     this.TDB_ab_upd.Click    += new System.EventHandler(this.TDB_ab_upd_Click);
     //
     // TDB_ab_ins
     //
     this.TDB_ab_ins.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192)));
     this.TDB_ab_ins.Dock      = System.Windows.Forms.DockStyle.Left;
     this.TDB_ab_ins.Location  = new System.Drawing.Point(3, 16);
     this.TDB_ab_ins.Name      = "TDB_ab_ins";
     this.TDB_ab_ins.Size      = new System.Drawing.Size(75, 34);
     this.TDB_ab_ins.TabIndex  = 9;
     this.TDB_ab_ins.Text      = "Insert";
     this.TDB_ab_ins.Click    += new System.EventHandler(this.TDB_ab_ins_Click);
     //
     // FSup
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 397);
     this.Controls.Add(this.TDB_abgrp);
     this.Controls.Add(this.groupBox1);
     this.Name  = "FSup";
     this.Text  = "Supplier";
     this.Load += new System.EventHandler(this.FSup_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.Dlt_e_anz)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Dlt_e_level)).EndInit();
     this.TDB_abgrp.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.WebCamCapture  = new WebCam_Capture.WebCamCapture();
     this.pictureBox1    = new System.Windows.Forms.PictureBox();
     this.cmdStart       = new System.Windows.Forms.Button();
     this.cmdStop        = new System.Windows.Forms.Button();
     this.cmdContinue    = new System.Windows.Forms.Button();
     this.numCaptureTime = new System.Windows.Forms.NumericUpDown();
     this.label1         = new System.Windows.Forms.Label();
     this.btnSalvar      = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numCaptureTime)).BeginInit();
     this.SuspendLayout();
     //
     // WebCamCapture
     //
     this.WebCamCapture.CaptureHeight = 240;
     this.WebCamCapture.CaptureWidth  = 320;
     this.WebCamCapture.FrameNumber   = ((ulong)(0ul));
     this.WebCamCapture.Location      = new System.Drawing.Point(17, 17);
     this.WebCamCapture.Name          = "WebCamCapture";
     this.WebCamCapture.Size          = new System.Drawing.Size(342, 252);
     this.WebCamCapture.TabIndex      = 0;
     this.WebCamCapture.TimeToCapture_milliseconds = 100;
     this.WebCamCapture.ImageCaptured += new WebCam_Capture.WebCamCapture.WebCamEventHandler(this.WebCamCapture_ImageCaptured);
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(6, 6);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(327, 252);
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop  = false;
     //
     // cmdStart
     //
     this.cmdStart.Location = new System.Drawing.Point(6, 264);
     this.cmdStart.Name     = "cmdStart";
     this.cmdStart.Size     = new System.Drawing.Size(78, 24);
     this.cmdStart.TabIndex = 1;
     this.cmdStart.Text     = "Start";
     this.cmdStart.Click   += new System.EventHandler(this.cmdStart_Click);
     //
     // cmdStop
     //
     this.cmdStop.Location = new System.Drawing.Point(90, 264);
     this.cmdStop.Name     = "cmdStop";
     this.cmdStop.Size     = new System.Drawing.Size(78, 24);
     this.cmdStop.TabIndex = 2;
     this.cmdStop.Text     = "Stop";
     this.cmdStop.Click   += new System.EventHandler(this.cmdStop_Click);
     //
     // cmdContinue
     //
     this.cmdContinue.Location = new System.Drawing.Point(174, 264);
     this.cmdContinue.Name     = "cmdContinue";
     this.cmdContinue.Size     = new System.Drawing.Size(78, 24);
     this.cmdContinue.TabIndex = 3;
     this.cmdContinue.Text     = "Continue";
     this.cmdContinue.Click   += new System.EventHandler(this.cmdContinue_Click);
     //
     // numCaptureTime
     //
     this.numCaptureTime.Location = new System.Drawing.Point(162, 306);
     this.numCaptureTime.Maximum  = new decimal(new int[] {
         32000,
         0,
         0,
         0
     });
     this.numCaptureTime.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numCaptureTime.Name     = "numCaptureTime";
     this.numCaptureTime.Size     = new System.Drawing.Size(66, 20);
     this.numCaptureTime.TabIndex = 4;
     this.numCaptureTime.Value    = new decimal(new int[] {
         20,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(6, 312);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(150, 18);
     this.label1.TabIndex = 5;
     this.label1.Text     = "Capture Time (Milliseconds)";
     //
     // btnSalvar
     //
     this.btnSalvar.Location = new System.Drawing.Point(258, 265);
     this.btnSalvar.Name     = "btnSalvar";
     this.btnSalvar.Size     = new System.Drawing.Size(75, 23);
     this.btnSalvar.TabIndex = 6;
     this.btnSalvar.Text     = "Salvar";
     this.btnSalvar.UseVisualStyleBackColor = true;
     this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(342, 342);
     this.Controls.Add(this.btnSalvar);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.numCaptureTime);
     this.Controls.Add(this.cmdContinue);
     this.Controls.Add(this.cmdStop);
     this.Controls.Add(this.cmdStart);
     this.Controls.Add(this.pictureBox1);
     this.Name     = "Form1";
     this.Text     = "WebCam Capture";
     this.Load    += new System.EventHandler(this.Form1_Load);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numCaptureTime)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RatingEquationEditor));
     this.labelTitle = new System.Windows.Forms.Label();
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.label1     = new System.Windows.Forms.Label();
     this.numericUpDownPolynomialOrder = new System.Windows.Forms.NumericUpDown();
     this.textBoxMinStage       = new System.Windows.Forms.TextBox();
     this.textBoxMaxStage       = new System.Windows.Forms.TextBox();
     this.buttonSave            = new System.Windows.Forms.Button();
     this.textBoxNote           = new System.Windows.Forms.TextBox();
     this.label4                = new System.Windows.Forms.Label();
     this.textBoxDateCreated    = new System.Windows.Forms.TextBox();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.checkBoxZeroIntercept = new System.Windows.Forms.CheckBox();
     this.textBoxOffset         = new System.Windows.Forms.TextBox();
     this.label8                = new System.Windows.Forms.Label();
     this.textBoxName           = new System.Windows.Forms.TextBox();
     this.label7                = new System.Windows.Forms.Label();
     this.buttonCompute         = new System.Windows.Forms.Button();
     this.textBoxEquation       = new System.Windows.Forms.TextBox();
     this.buttonAdd             = new System.Windows.Forms.Button();
     this.label6                = new System.Windows.Forms.Label();
     this.imageList1            = new System.Windows.Forms.ImageList(this.components);
     this.buttonAddAll          = new System.Windows.Forms.Button();
     this.toolTip1              = new System.Windows.Forms.ToolTip(this.components);
     this.panel1                = new System.Windows.Forms.Panel();
     this.buttonSelect          = new System.Windows.Forms.Button();
     this.tabControl1           = new System.Windows.Forms.TabControl();
     this.tabPage1              = new System.Windows.Forms.TabPage();
     this.tabPage2              = new System.Windows.Forms.TabPage();
     this.groupBox2             = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPolynomialOrder)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.SuspendLayout();
     //
     // labelTitle
     //
     this.labelTitle.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelTitle.Location = new System.Drawing.Point(20, 11);
     this.labelTitle.Name     = "labelTitle";
     this.labelTitle.Size     = new System.Drawing.Size(388, 23);
     this.labelTitle.TabIndex = 80;
     this.labelTitle.Text     = "site des";
     //
     // dataGrid1
     //
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(8, 48);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(424, 299);
     this.dataGrid1.TabIndex        = 82;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(281, 83);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(88, 20);
     this.label1.TabIndex = 84;
     this.label1.Text     = "polynomial order";
     //
     // numericUpDownPolynomialOrder
     //
     this.numericUpDownPolynomialOrder.Location = new System.Drawing.Point(375, 80);
     this.numericUpDownPolynomialOrder.Maximum  = new decimal(new int[] {
         4,
         0,
         0,
         0
     });
     this.numericUpDownPolynomialOrder.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDownPolynomialOrder.Name     = "numericUpDownPolynomialOrder";
     this.numericUpDownPolynomialOrder.Size     = new System.Drawing.Size(56, 20);
     this.numericUpDownPolynomialOrder.TabIndex = 85;
     this.numericUpDownPolynomialOrder.Value    = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     //
     // textBoxMinStage
     //
     this.textBoxMinStage.Location = new System.Drawing.Point(158, 503);
     this.textBoxMinStage.Name     = "textBoxMinStage";
     this.textBoxMinStage.Size     = new System.Drawing.Size(56, 20);
     this.textBoxMinStage.TabIndex = 88;
     //
     // textBoxMaxStage
     //
     this.textBoxMaxStage.Location = new System.Drawing.Point(86, 503);
     this.textBoxMaxStage.Name     = "textBoxMaxStage";
     this.textBoxMaxStage.Size     = new System.Drawing.Size(56, 20);
     this.textBoxMaxStage.TabIndex = 89;
     //
     // buttonSave
     //
     this.buttonSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonSave.Location = new System.Drawing.Point(851, 593);
     this.buttonSave.Name     = "buttonSave";
     this.buttonSave.Size     = new System.Drawing.Size(75, 23);
     this.buttonSave.TabIndex = 90;
     this.buttonSave.Text     = "Save";
     this.buttonSave.Click   += new System.EventHandler(this.buttonSave_Click);
     //
     // textBoxNote
     //
     this.textBoxNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxNote.Location  = new System.Drawing.Point(11, 141);
     this.textBoxNote.Multiline = true;
     this.textBoxNote.Name      = "textBoxNote";
     this.textBoxNote.Size      = new System.Drawing.Size(393, 63);
     this.textBoxNote.TabIndex  = 91;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 122);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(36, 16);
     this.label4.TabIndex = 92;
     this.label4.Text     = "notes";
     //
     // textBoxDateCreated
     //
     this.textBoxDateCreated.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxDateCreated.Location = new System.Drawing.Point(251, 503);
     this.textBoxDateCreated.Name     = "textBoxDateCreated";
     this.textBoxDateCreated.ReadOnly = true;
     this.textBoxDateCreated.Size     = new System.Drawing.Size(215, 20);
     this.textBoxDateCreated.TabIndex = 94;
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.groupBox2);
     this.groupBox1.Controls.Add(this.checkBoxZeroIntercept);
     this.groupBox1.Controls.Add(this.textBoxOffset);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.textBoxName);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.buttonCompute);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.numericUpDownPolynomialOrder);
     this.groupBox1.Controls.Add(this.textBoxNote);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.textBoxEquation);
     this.groupBox1.Location = new System.Drawing.Point(448, 20);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(455, 358);
     this.groupBox1.TabIndex = 95;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Rating Details";
     //
     // checkBoxZeroIntercept
     //
     this.checkBoxZeroIntercept.AutoSize = true;
     this.checkBoxZeroIntercept.Location = new System.Drawing.Point(6, 210);
     this.checkBoxZeroIntercept.Name     = "checkBoxZeroIntercept";
     this.checkBoxZeroIntercept.Size     = new System.Drawing.Size(102, 17);
     this.checkBoxZeroIntercept.TabIndex = 105;
     this.checkBoxZeroIntercept.Text     = "set intercept = 0";
     this.checkBoxZeroIntercept.UseVisualStyleBackColor = true;
     //
     // textBoxOffset
     //
     this.textBoxOffset.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxOffset.Location = new System.Drawing.Point(375, 328);
     this.textBoxOffset.Name     = "textBoxOffset";
     this.textBoxOffset.Size     = new System.Drawing.Size(56, 20);
     this.textBoxOffset.TabIndex = 104;
     this.toolTip1.SetToolTip(this.textBoxOffset, "offset applied to Scada/Logger data during computations");
     //
     // label8
     //
     this.label8.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label8.Location = new System.Drawing.Point(331, 332);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(40, 16);
     this.label8.TabIndex = 103;
     this.label8.Text     = "offset";
     //
     // textBoxName
     //
     this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxName.Location = new System.Drawing.Point(88, 16);
     this.textBoxName.Name     = "textBoxName";
     this.textBoxName.Size     = new System.Drawing.Size(359, 20);
     this.textBoxName.TabIndex = 101;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(8, 16);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(64, 12);
     this.label7.TabIndex = 100;
     this.label7.Text     = "name";
     //
     // buttonCompute
     //
     this.buttonCompute.Location = new System.Drawing.Point(11, 266);
     this.buttonCompute.Name     = "buttonCompute";
     this.buttonCompute.Size     = new System.Drawing.Size(75, 23);
     this.buttonCompute.TabIndex = 96;
     this.buttonCompute.Text     = "Compute";
     this.buttonCompute.Click   += new System.EventHandler(this.buttonCompute_Click);
     //
     // textBoxEquation
     //
     this.textBoxEquation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxEquation.Location = new System.Drawing.Point(11, 233);
     this.textBoxEquation.Name     = "textBoxEquation";
     this.textBoxEquation.ReadOnly = true;
     this.textBoxEquation.Size     = new System.Drawing.Size(431, 20);
     this.textBoxEquation.TabIndex = 99;
     //
     // buttonAdd
     //
     this.buttonAdd.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonAdd.Location = new System.Drawing.Point(272, 355);
     this.buttonAdd.Name     = "buttonAdd";
     this.buttonAdd.Size     = new System.Drawing.Size(48, 23);
     this.buttonAdd.TabIndex = 96;
     this.buttonAdd.Text     = "Add";
     this.buttonAdd.Click   += new System.EventHandler(this.buttonAdd_Click);
     //
     // label6
     //
     this.label6.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label6.Location = new System.Drawing.Point(4, 355);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(88, 23);
     this.label6.TabIndex = 95;
     this.label6.Text     = "Measurements";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     //
     // buttonAddAll
     //
     this.buttonAddAll.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonAddAll.Location = new System.Drawing.Point(324, 355);
     this.buttonAddAll.Name     = "buttonAddAll";
     this.buttonAddAll.Size     = new System.Drawing.Size(52, 23);
     this.buttonAddAll.TabIndex = 98;
     this.buttonAddAll.Text     = "Add All";
     this.buttonAddAll.Click   += new System.EventHandler(this.buttonAddAll_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.buttonAddAll);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.labelTitle);
     this.panel1.Controls.Add(this.dataGrid1);
     this.panel1.Controls.Add(this.buttonAdd);
     this.panel1.Controls.Add(this.buttonSelect);
     this.panel1.Location = new System.Drawing.Point(3, 5);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(907, 391);
     this.panel1.TabIndex = 99;
     //
     // buttonSelect
     //
     this.buttonSelect.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonSelect.Location = new System.Drawing.Point(384, 355);
     this.buttonSelect.Name     = "buttonSelect";
     this.buttonSelect.Size     = new System.Drawing.Size(52, 23);
     this.buttonSelect.TabIndex = 99;
     this.buttonSelect.Text     = "select ...";
     this.buttonSelect.Click   += new System.EventHandler(this.buttonSelect_Click);
     //
     // tabControl1
     //
     this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(923, 547);
     this.tabControl1.TabIndex      = 102;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.panel1);
     this.tabPage1.Controls.Add(this.textBoxMaxStage);
     this.tabPage1.Controls.Add(this.textBoxMinStage);
     this.tabPage1.Controls.Add(this.textBoxDateCreated);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(915, 521);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Rating Equation";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tabPage2
     //
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(915, 529);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Rating Table";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // groupBox2
     //
     this.groupBox2.Location = new System.Drawing.Point(11, 40);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(264, 79);
     this.groupBox2.TabIndex = 106;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "curve fit type";
     //
     // RatingEquationEditor
     //
     this.Controls.Add(this.buttonSave);
     this.Controls.Add(this.tabControl1);
     this.Name  = "RatingEquationEditor";
     this.Size  = new System.Drawing.Size(929, 619);
     this.Load += new System.EventHandler(this.RatingEquation_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDownPolynomialOrder)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.ResumeLayout(false);
 }
Example #44
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChonkhoxb));
     this.label1     = new System.Windows.Forms.Label();
     this.mm         = new System.Windows.Forms.NumericUpDown();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.label5     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.makho      = new System.Windows.Forms.ComboBox();
     this.butOk      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.quay       = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.ngay       = new MaskedBox.MaskedBox();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(112, 14);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mm
     //
     this.mm.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mm.Location = new System.Drawing.Point(160, 14);
     this.mm.Maximum  = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.mm.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.Name     = "mm";
     this.mm.Size     = new System.Drawing.Size(35, 21);
     this.mm.TabIndex = 3;
     this.mm.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mm_KeyDown);
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(208, 14);
     this.yyyy.Maximum  = new decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(48, 21);
     this.yyyy.TabIndex = 5;
     this.yyyy.Value    = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.yyyy_KeyDown);
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label5.Location  = new System.Drawing.Point(192, 14);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(16, 20);
     this.label5.TabIndex  = 4;
     this.label5.Text      = "/";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 38);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 23);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Kho :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makho
     //
     this.makho.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.makho.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.makho.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makho.Location      = new System.Drawing.Point(56, 38);
     this.makho.Name          = "makho";
     this.makho.Size          = new System.Drawing.Size(200, 21);
     this.makho.TabIndex      = 7;
     this.makho.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makho_KeyDown);
     //
     // butOk
     //
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(65, 96);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(70, 25);
     this.butOk.TabIndex   = 10;
     this.butOk.Text       = "Đồng ý";
     this.butOk.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = global::Vienphi.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(134, 96);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 11;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // quay
     //
     this.quay.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.quay.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.quay.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.quay.Location      = new System.Drawing.Point(56, 62);
     this.quay.Name          = "quay";
     this.quay.Size          = new System.Drawing.Size(200, 21);
     this.quay.TabIndex      = 9;
     this.quay.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makho_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 62);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 23);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "Quầy :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(8, 14);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(48, 23);
     this.label4.TabIndex  = 0;
     this.label4.Text      = "Ngày :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ngay
     //
     this.ngay.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ngay.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ngay.Location   = new System.Drawing.Point(56, 14);
     this.ngay.Mask       = "##/##/####";
     this.ngay.MaxLength  = 10;
     this.ngay.Name       = "ngay";
     this.ngay.Size       = new System.Drawing.Size(64, 21);
     this.ngay.TabIndex   = 1;
     this.ngay.Text       = "  /  /    ";
     this.ngay.Validated += new System.EventHandler(this.ngay_Validated);
     //
     // frmChonkhoxb
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(266, 143);
     this.Controls.Add(this.ngay);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.quay);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.makho);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.mm);
     this.Controls.Add(this.yyyy);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmChonkhoxb";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chọn kho";
     this.Load           += new System.EventHandler(this.frmChonkhoxb_Load);
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #45
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.checkBox1      = new System.Windows.Forms.CheckBox();
     this.line1          = new Steema.TeeChart.Styles.Line();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
     this.button1        = new System.Windows.Forms.Button();
     this.label1         = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.BackColor = System.Drawing.Color.AliceBlue;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(388, 63);
     this.textBox1.Text      = "Axis can be customized to display labels at specific positions with\r\ncustom text " +
                               "and formatting, without using any event:\r\n\r\ntChart1.Axes.Left.Labels.Items.Add(1" +
                               "23,\"Hello\");";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.SystemColors.Control;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.numericUpDown2);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Location = new System.Drawing.Point(0, 63);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(388, 33);
     //
     // tChart1
     //
     //
     // tChart1.Aspect
     //
     this.tChart1.Aspect.Chart3DPercent    = 50;
     this.tChart1.Aspect.SmoothingMode     = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
     this.tChart1.Aspect.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
     //
     // tChart1.Header
     //
     //
     // tChart1.Header.Font
     //
     //
     // tChart1.Header.Font.Brush
     //
     this.tChart1.Header.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(128)));
     this.tChart1.Header.Font.Name        = "Verdana";
     this.tChart1.Header.Lines            = new string[] {
         "Custom axis labels "
     };
     //
     // tChart1.Legend
     //
     this.tChart1.Legend.BorderRound = 8;
     //
     // tChart1.Legend.Brush
     //
     this.tChart1.Legend.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(210)));
     //
     // tChart1.Legend.Font
     //
     //
     // tChart1.Legend.Font.Brush
     //
     this.tChart1.Legend.Font.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(128)));
     //
     // tChart1.Legend.Pen
     //
     this.tChart1.Legend.Pen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192)));
     //
     // tChart1.Legend.Shadow
     //
     this.tChart1.Legend.Shadow.Visible = false;
     this.tChart1.Legend.ShapeStyle     = Steema.TeeChart.Drawing.TextShapeStyle.RoundRectangle;
     this.tChart1.Location = new System.Drawing.Point(0, 96);
     this.tChart1.Name     = "tChart1";
     //
     // tChart1.Panel
     //
     //
     // tChart1.Panel.Brush
     //
     this.tChart1.Panel.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255)));
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Brush.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tChart1.Panel.Brush.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tChart1.Panel.Brush.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Brush.Gradient.Visible     = true;
     //
     // tChart1.Panel.Gradient
     //
     this.tChart1.Panel.Gradient.MiddleColor = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tChart1.Panel.Gradient.StartColor  = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tChart1.Panel.Gradient.UseMiddle   = true;
     this.tChart1.Panel.Gradient.Visible     = true;
     this.tChart1.Series.Add(this.line1);
     this.tChart1.Size = new System.Drawing.Size(388, 151);
     //
     // tChart1.Walls
     //
     //
     // tChart1.Walls.Back
     //
     this.tChart1.Walls.Back.Visible = false;
     //
     // tChart1.Walls.Bottom
     //
     //
     // tChart1.Walls.Bottom.Pen
     //
     this.tChart1.Walls.Bottom.Pen.Visible = false;
     this.tChart1.Walls.Bottom.Size        = 5;
     //
     // tChart1.Walls.Left
     //
     //
     // tChart1.Walls.Left.Pen
     //
     this.tChart1.Walls.Left.Pen.Visible = false;
     this.tChart1.Walls.Left.Size        = 5;
     //
     // checkBox1
     //
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.Flat;
     this.checkBox1.Location        = new System.Drawing.Point(13, 7);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(91, 18);
     this.checkBox1.TabIndex        = 0;
     this.checkBox1.Text            = "&Custom labels";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // line1
     //
     //
     // line1.Brush
     //
     this.line1.Brush.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(223)), ((System.Byte)(0)), ((System.Byte)(0)));
     //
     // line1.LinePen
     //
     this.line1.LinePen.Color = System.Drawing.Color.FromArgb(((System.Byte)(254)), ((System.Byte)(134)), ((System.Byte)(0)), ((System.Byte)(0)));
     //
     // line1.Pointer
     //
     this.line1.Pointer.Style = Steema.TeeChart.Styles.PointerStyles.Rectangle;
     this.line1.Title         = "line1";
     //
     // line1.XValues
     //
     this.line1.XValues.DataMember = "X";
     this.line1.XValues.Order      = Steema.TeeChart.Styles.ValueListOrder.Ascending;
     //
     // line1.YValues
     //
     this.line1.YValues.DataMember = "Y";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location      = new System.Drawing.Point(152, 6);
     this.numericUpDown1.Name          = "numericUpDown1";
     this.numericUpDown1.Size          = new System.Drawing.Size(40, 20);
     this.numericUpDown1.TabIndex      = 1;
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // numericUpDown2
     //
     this.numericUpDown2.Location = new System.Drawing.Point(195, 6);
     this.numericUpDown2.Maximum  = new System.Decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.numericUpDown2.Minimum = new System.Decimal(new int[] {
         10000,
         0,
         0,
         -2147483648
     });
     this.numericUpDown2.Name          = "numericUpDown2";
     this.numericUpDown2.Size          = new System.Drawing.Size(61, 20);
     this.numericUpDown2.TabIndex      = 2;
     this.numericUpDown2.ValueChanged += new System.EventHandler(this.numericUpDown2_ValueChanged);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Location  = new System.Drawing.Point(272, 5);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(56, 24);
     this.button1.TabIndex  = 3;
     this.button1.Text      = "&Edit...";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(112, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(40, 16);
     this.label1.TabIndex = 4;
     this.label1.Text     = "&Label:";
     //
     // Axis_Items
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(388, 247);
     this.Name = "Axis_Items";
     this.Text = "Axis_Items";
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
     this.ResumeLayout(false);
 }
Example #46
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cmdStop         = new System.Windows.Forms.Button();
     this.cmdStart        = new System.Windows.Forms.Button();
     this.cmdDisableEvent = new System.Windows.Forms.Button();
     this.cmdEnableEvent  = new System.Windows.Forms.Button();
     this.chkAutoRestart  = new System.Windows.Forms.CheckBox();
     this.Label4          = new System.Windows.Forms.Label();
     this.Label3          = new System.Windows.Forms.Label();
     this.Label2          = new System.Windows.Forms.Label();
     this.Label1          = new System.Windows.Forms.Label();
     this.lblLatestSample = new System.Windows.Forms.Label();
     this.lblStatus       = new System.Windows.Forms.Label();
     this.lblSampleCount  = new System.Windows.Forms.Label();
     this.EventSize       = new System.Windows.Forms.NumericUpDown();
     ((System.ComponentModel.ISupportInitialize)(this.EventSize)).BeginInit();
     this.SuspendLayout();
     //
     // cmdStop
     //
     this.cmdStop.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdStop.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdStop.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdStop.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdStop.Location    = new System.Drawing.Point(16, 136);
     this.cmdStop.Name        = "cmdStop";
     this.cmdStop.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdStop.Size        = new System.Drawing.Size(115, 33);
     this.cmdStop.TabIndex    = 11;
     this.cmdStop.Text        = "Stop";
     this.cmdStop.Click      += new System.EventHandler(this.cmdStop_Click);
     //
     // cmdStart
     //
     this.cmdStart.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdStart.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdStart.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdStart.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdStart.Location    = new System.Drawing.Point(16, 104);
     this.cmdStart.Name        = "cmdStart";
     this.cmdStart.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdStart.Size        = new System.Drawing.Size(115, 33);
     this.cmdStart.TabIndex    = 10;
     this.cmdStart.Text        = "Start";
     this.cmdStart.Click      += new System.EventHandler(this.cmdStart_Click);
     //
     // cmdDisableEvent
     //
     this.cmdDisableEvent.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdDisableEvent.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdDisableEvent.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdDisableEvent.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdDisableEvent.Location    = new System.Drawing.Point(16, 56);
     this.cmdDisableEvent.Name        = "cmdDisableEvent";
     this.cmdDisableEvent.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdDisableEvent.Size        = new System.Drawing.Size(115, 33);
     this.cmdDisableEvent.TabIndex    = 9;
     this.cmdDisableEvent.Text        = "DisableEvent";
     this.cmdDisableEvent.Click      += new System.EventHandler(this.cmdDisableEvent_Click);
     //
     // cmdEnableEvent
     //
     this.cmdEnableEvent.BackColor   = System.Drawing.SystemColors.Control;
     this.cmdEnableEvent.Cursor      = System.Windows.Forms.Cursors.Default;
     this.cmdEnableEvent.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdEnableEvent.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.cmdEnableEvent.Location    = new System.Drawing.Point(16, 24);
     this.cmdEnableEvent.Name        = "cmdEnableEvent";
     this.cmdEnableEvent.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.cmdEnableEvent.Size        = new System.Drawing.Size(115, 33);
     this.cmdEnableEvent.TabIndex    = 8;
     this.cmdEnableEvent.Text        = "EnableEvent";
     this.cmdEnableEvent.Click      += new System.EventHandler(this.cmdEnableEvent_Click);
     //
     // chkAutoRestart
     //
     this.chkAutoRestart.BackColor   = System.Drawing.SystemColors.Control;
     this.chkAutoRestart.Cursor      = System.Windows.Forms.Cursors.Default;
     this.chkAutoRestart.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chkAutoRestart.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.chkAutoRestart.Location    = new System.Drawing.Point(216, 128);
     this.chkAutoRestart.Name        = "chkAutoRestart";
     this.chkAutoRestart.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.chkAutoRestart.Size        = new System.Drawing.Size(95, 21);
     this.chkAutoRestart.TabIndex    = 13;
     this.chkAutoRestart.Text        = "Auto Restart";
     //
     // Label4
     //
     this.Label4.BackColor   = System.Drawing.SystemColors.Control;
     this.Label4.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label4.Font        = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label4.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label4.Location    = new System.Drawing.Point(152, 24);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(89, 21);
     this.Label4.TabIndex    = 20;
     this.Label4.Text        = "Event Size:";
     this.Label4.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     //
     // Label3
     //
     this.Label3.BackColor   = System.Drawing.SystemColors.Control;
     this.Label3.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label3.Font        = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label3.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label3.Location    = new System.Drawing.Point(152, 96);
     this.Label3.Name        = "Label3";
     this.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label3.Size        = new System.Drawing.Size(89, 21);
     this.Label3.TabIndex    = 19;
     this.Label3.Text        = "Latest Sample:";
     this.Label3.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     //
     // Label2
     //
     this.Label2.BackColor   = System.Drawing.SystemColors.Control;
     this.Label2.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label2.Font        = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label2.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label2.Location    = new System.Drawing.Point(152, 72);
     this.Label2.Name        = "Label2";
     this.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label2.Size        = new System.Drawing.Size(89, 21);
     this.Label2.TabIndex    = 18;
     this.Label2.Text        = "Total Count:";
     this.Label2.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     //
     // Label1
     //
     this.Label1.BackColor   = System.Drawing.SystemColors.Control;
     this.Label1.Cursor      = System.Windows.Forms.Cursors.Default;
     this.Label1.Font        = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Label1.Location    = new System.Drawing.Point(152, 48);
     this.Label1.Name        = "Label1";
     this.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label1.Size        = new System.Drawing.Size(89, 21);
     this.Label1.TabIndex    = 17;
     this.Label1.Text        = "Status:";
     this.Label1.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     //
     // lblLatestSample
     //
     this.lblLatestSample.BackColor   = System.Drawing.SystemColors.Control;
     this.lblLatestSample.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblLatestSample.Font        = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblLatestSample.ForeColor   = System.Drawing.Color.Blue;
     this.lblLatestSample.Location    = new System.Drawing.Point(248, 96);
     this.lblLatestSample.Name        = "lblLatestSample";
     this.lblLatestSample.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblLatestSample.Size        = new System.Drawing.Size(141, 21);
     this.lblLatestSample.TabIndex    = 16;
     this.lblLatestSample.Text        = "NA";
     //
     // lblStatus
     //
     this.lblStatus.BackColor   = System.Drawing.SystemColors.Control;
     this.lblStatus.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblStatus.Font        = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblStatus.ForeColor   = System.Drawing.Color.Blue;
     this.lblStatus.Location    = new System.Drawing.Point(248, 48);
     this.lblStatus.Name        = "lblStatus";
     this.lblStatus.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblStatus.Size        = new System.Drawing.Size(141, 21);
     this.lblStatus.TabIndex    = 15;
     this.lblStatus.Text        = "IDLE";
     //
     // lblSampleCount
     //
     this.lblSampleCount.BackColor   = System.Drawing.SystemColors.Control;
     this.lblSampleCount.Cursor      = System.Windows.Forms.Cursors.Default;
     this.lblSampleCount.Font        = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblSampleCount.ForeColor   = System.Drawing.Color.Blue;
     this.lblSampleCount.Location    = new System.Drawing.Point(248, 72);
     this.lblSampleCount.Name        = "lblSampleCount";
     this.lblSampleCount.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblSampleCount.Size        = new System.Drawing.Size(141, 21);
     this.lblSampleCount.TabIndex    = 14;
     this.lblSampleCount.Text        = "0";
     //
     // EventSize
     //
     this.EventSize.Increment = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     this.EventSize.Location = new System.Drawing.Point(248, 24);
     this.EventSize.Maximum  = new System.Decimal(new int[] {
         2000,
         0,
         0,
         0
     });
     this.EventSize.Name     = "EventSize";
     this.EventSize.Size     = new System.Drawing.Size(144, 20);
     this.EventSize.TabIndex = 22;
     this.EventSize.Value    = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // frmEventDisplay
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(440, 197);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.EventSize,
         this.chkAutoRestart,
         this.Label4,
         this.Label3,
         this.Label2,
         this.Label1,
         this.lblLatestSample,
         this.lblStatus,
         this.lblSampleCount,
         this.cmdStop,
         this.cmdStart,
         this.cmdDisableEvent,
         this.cmdEnableEvent
     });
     this.Name = "frmEventDisplay";
     this.Text = "Universal Library ULEV02";
     ((System.ComponentModel.ISupportInitialize)(this.EventSize)).EndInit();
     this.ResumeLayout(false);
 }
Example #47
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDanhmuc));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label2     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     this.label3     = new System.Windows.Forms.Label();
     this.stt        = new System.Windows.Forms.NumericUpDown();
     this.label1     = new System.Windows.Forms.Label();
     this.loai       = new System.Windows.Forms.ComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.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.dataGrid1.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "";
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, 6);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(776, 501);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.Image      = global::Duoc.Properties.Resources.close_r;
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(560, 538);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 7;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(88, 510);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 23);
     this.label2.TabIndex  = 23;
     this.label2.Text      = "Nội dung :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.ten.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled    = false;
     this.ten.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location   = new System.Drawing.Point(144, 510);
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(640, 21);
     this.ten.TabIndex   = 1;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     this.ten.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butMoi.Image      = global::Duoc.Properties.Resources.add;
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(210, 538);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 4;
     this.butMoi.Text       = "    &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSua.Image      = global::Duoc.Properties.Resources.quick_edit;
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(280, 538);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 5;
     this.butSua.Text       = "    &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = global::Duoc.Properties.Resources.save;
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(350, 538);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 2;
     this.butLuu.Text       = "    &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = global::Duoc.Properties.Resources.undo_ok;
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(420, 538);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 3;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butHuy.Image      = global::Duoc.Properties.Resources.delete_enabled;
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(490, 538);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 6;
     this.butHuy.Text       = "    &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.Location  = new System.Drawing.Point(-3, 510);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(43, 23);
     this.label3.TabIndex  = 24;
     this.label3.Text      = "STT :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // stt
     //
     this.stt.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.stt.Enabled  = false;
     this.stt.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stt.Location = new System.Drawing.Point(40, 510);
     this.stt.Maximum  = new decimal(new int[] {
         999,
         0,
         0,
         0
     });
     this.stt.Name     = "stt";
     this.stt.Size     = new System.Drawing.Size(40, 21);
     this.stt.TabIndex = 0;
     this.stt.KeyDown += new System.Windows.Forms.KeyEventHandler(this.stt_KeyDown);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(0, 1);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(65, 23);
     this.label1.TabIndex  = 25;
     this.label1.Text      = "Danh mục :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // loai
     //
     this.loai.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                              | System.Windows.Forms.AnchorStyles.Right)));
     this.loai.BackColor             = System.Drawing.SystemColors.HighlightText;
     this.loai.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.loai.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loai.FormattingEnabled     = true;
     this.loai.Location              = new System.Drawing.Point(61, 2);
     this.loai.Name                  = "loai";
     this.loai.Size                  = new System.Drawing.Size(723, 21);
     this.loai.TabIndex              = 26;
     this.loai.SelectedIndexChanged += new System.EventHandler(this.loai_SelectedIndexChanged);
     //
     // frmDanhmuc
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 573);
     this.Controls.Add(this.loai);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.stt);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmDanhmuc";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDanhmuc_KeyDown);
     this.Load         += new System.EventHandler(this.frmDanhmuc_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.stt)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #48
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ElementSetViewer));
     this.panelViewer        = new System.Windows.Forms.Panel();
     this.buttonClose        = new System.Windows.Forms.Button();
     this.numericMarginWidth = new System.Windows.Forms.NumericUpDown();
     this.label1             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.numericLineWidth   = new System.Windows.Forms.NumericUpDown();
     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.label8             = new System.Windows.Forms.Label();
     this.label9             = new System.Windows.Forms.Label();
     this.label10            = new System.Windows.Forms.Label();
     this.label11            = new System.Windows.Forms.Label();
     this.listBox1           = new System.Windows.Forms.ListBox();
     ((System.ComponentModel.ISupportInitialize)(this.numericMarginWidth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericLineWidth)).BeginInit();
     this.SuspendLayout();
     //
     // panelViewer
     //
     this.panelViewer.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.panelViewer.BackColor   = System.Drawing.Color.White;
     this.panelViewer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelViewer.Location    = new System.Drawing.Point(4, 9);
     this.panelViewer.Name        = "panelViewer";
     this.panelViewer.Size        = new System.Drawing.Size(492, 368);
     this.panelViewer.TabIndex    = 0;
     this.panelViewer.Paint      += new System.Windows.Forms.PaintEventHandler(this.panelViewer_Paint);
     this.panelViewer.MouseMove  += new System.Windows.Forms.MouseEventHandler(this.panelViewer_MouseMove);
     this.panelViewer.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.panelViewer_MouseDown);
     this.panelViewer.Resize     += new System.EventHandler(this.panelViewer_Resize);
     //
     // buttonClose
     //
     this.buttonClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonClose.FlatStyle    = System.Windows.Forms.FlatStyle.Popup;
     this.buttonClose.Location     = new System.Drawing.Point(544, 404);
     this.buttonClose.Name         = "buttonClose";
     this.buttonClose.Size         = new System.Drawing.Size(92, 28);
     this.buttonClose.TabIndex     = 1;
     this.buttonClose.Text         = "Close";
     this.buttonClose.Click       += new System.EventHandler(this.buttonClose_Click);
     //
     // numericMarginWidth
     //
     this.numericMarginWidth.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.numericMarginWidth.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericMarginWidth.Increment   = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericMarginWidth.Location = new System.Drawing.Point(92, 416);
     this.numericMarginWidth.Name     = "numericMarginWidth";
     this.numericMarginWidth.Size     = new System.Drawing.Size(52, 20);
     this.numericMarginWidth.TabIndex = 2;
     this.numericMarginWidth.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.numericMarginWidth.ValueChanged += new System.EventHandler(this.panelViewer_Resize);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location  = new System.Drawing.Point(8, 416);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(76, 20);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Margin width:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(8, 388);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(76, 20);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Line width:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numericLineWidth
     //
     this.numericLineWidth.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.numericLineWidth.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.numericLineWidth.DecimalPlaces = 1;
     this.numericLineWidth.Increment     = new decimal(new int[] {
         25,
         0,
         0,
         131072
     });
     this.numericLineWidth.Location = new System.Drawing.Point(92, 388);
     this.numericLineWidth.Minimum  = new decimal(new int[] {
         25,
         0,
         0,
         131072
     });
     this.numericLineWidth.Name     = "numericLineWidth";
     this.numericLineWidth.Size     = new System.Drawing.Size(52, 20);
     this.numericLineWidth.TabIndex = 4;
     this.numericLineWidth.Value    = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericLineWidth.ValueChanged += new System.EventHandler(this.panelViewer_Resize);
     //
     // label3
     //
     this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.Location = new System.Drawing.Point(504, 380);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(144, 16);
     this.label3.TabIndex = 6;
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label4.Location = new System.Drawing.Point(160, 400);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(160, 16);
     this.label4.TabIndex = 7;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(0, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(100, 23);
     this.label5.TabIndex = 0;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(0, 0);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(100, 23);
     this.label6.TabIndex = 0;
     //
     // label7
     //
     this.label7.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label7.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.label7.Location  = new System.Drawing.Point(160, 380);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(160, 16);
     this.label7.TabIndex  = 8;
     //
     // label8
     //
     this.label8.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label8.Location = new System.Drawing.Point(160, 420);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(160, 16);
     this.label8.TabIndex = 9;
     //
     // label9
     //
     this.label9.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label9.Location = new System.Drawing.Point(328, 380);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(168, 16);
     this.label9.TabIndex = 10;
     //
     // label10
     //
     this.label10.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label10.Location = new System.Drawing.Point(328, 400);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(168, 16);
     this.label10.TabIndex = 11;
     //
     // label11
     //
     this.label11.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label11.Location = new System.Drawing.Point(328, 420);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(168, 16);
     this.label11.TabIndex = 12;
     //
     // listBox1
     //
     this.listBox1.AllowDrop = true;
     this.listBox1.Anchor    = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location          = new System.Drawing.Point(504, 9);
     this.listBox1.Name          = "listBox1";
     this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
     this.listBox1.Size          = new System.Drawing.Size(143, 368);
     this.listBox1.TabIndex      = 14;
     this.listBox1.MouseClick   += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseClick);
     this.listBox1.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDown);
     //
     // ElementSetViewer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonClose;
     this.ClientSize        = new System.Drawing.Size(656, 441);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.numericLineWidth);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.numericMarginWidth);
     this.Controls.Add(this.buttonClose);
     this.Controls.Add(this.panelViewer);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimizeBox   = false;
     this.MinimumSize   = new System.Drawing.Size(664, 468);
     this.Name          = "ElementSetViewer";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "ElementSetViewer";
     ((System.ComponentModel.ISupportInitialize)(this.numericMarginWidth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numericLineWidth)).EndInit();
     this.ResumeLayout(false);
 }
Example #49
0
        private void rank_output(object sender, DataReceivedEventArgs e)
        {
            if (!go)
            {
                return;
            }
            go                  = false;
            this.label1         = new System.Windows.Forms.Label();
            this.panel1         = new System.Windows.Forms.Panel();
            this.button1        = new System.Windows.Forms.Button();
            this.button2        = new System.Windows.Forms.Button();
            this.label2         = new System.Windows.Forms.Label();
            this.label3         = new System.Windows.Forms.Label();
            this.label4         = new System.Windows.Forms.Label();
            this.textBox1       = new System.Windows.Forms.TextBox();
            this.label5         = new System.Windows.Forms.Label();
            this.textBox2       = new System.Windows.Forms.TextBox();
            this.textBox3       = new System.Windows.Forms.TextBox();
            this.label6         = new System.Windows.Forms.Label();
            this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
            if (e.Data.Substring(0, 1) != "0")
            {
                if (e.Data.Substring(0, 1) == "1")
                {
                    MessageBox.Show("The file no longer exists", "Error opening rank", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                else if (e.Data.Substring(0, 1) == "2")
                {
                    MessageBox.Show("A file IO exception occurred. If you can't fix this issue yourself, open a ticket on github. https://github.com/dmp9-mc/prisoneditor/issues", "Error opening rank", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                else if (e.Data.Substring(0, 1) == "3")
                {
                    MessageBox.Show("Not a valid rank file. If you are confident it came from the Prison plugin, your PrisonEditor installation is corrupt, please install it again.", "Error opening rank", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                return;
            }
            Encoding iso  = Encoding.GetEncoding("ISO-8859-1");
            string   file = iso.GetString(Convert.FromBase64String(e.Data.Substring(1)));

            Invoke(new Action(() => { RankEditor(); }));
            foreach (string s in file.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
            {
                string key   = s.Split('=')[0];
                string value = s.Split('=')[1];
                if (key == "Id")
                {
                    Invoke(new Action(() => { numericUpDown1.Value = decimal.Parse(value); }));
                }
                else if (key == "Name")
                {
                    Invoke(new Action(() => { textBox1.Text = value; }));
                }
                else if (key == "Price")
                {
                    Invoke(new Action(() => { textBox2.Text = value; }));
                }
                else if (key == "Prefix")
                {
                    Invoke(new Action(() =>
                    {
                        textBox3.Text = value;
                    }));
                }
                else
                {
                    MessageBox.Show(this, "Invalid key/value pair (Are you sure it's a rank file?)", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }
            }
        }
Example #50
0
        private void mine_output(object sender, DataReceivedEventArgs e)
        {
            if (!go)
            {
                return;
            }
            go                  = false;
            this.blocks         = new System.Collections.Generic.List <string>();
            this.label1         = new System.Windows.Forms.Label();
            this.panel1         = new System.Windows.Forms.Panel();
            this.button1        = new System.Windows.Forms.Button();
            this.button2        = new System.Windows.Forms.Button();
            this.label2         = new System.Windows.Forms.Label();
            this.label3         = new System.Windows.Forms.Label();
            this.label4         = new System.Windows.Forms.Label();
            this.textBox1       = new System.Windows.Forms.TextBox();
            this.label5         = new System.Windows.Forms.Label();
            this.textBox2       = new System.Windows.Forms.TextBox();
            this.textBox3       = new System.Windows.Forms.TextBox();
            this.label6         = new System.Windows.Forms.Label();
            this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
            if (e.Data.Substring(0, 1) != "0")
            {
                if (e.Data.Substring(0, 1) == "1")
                {
                    MessageBox.Show("The file no longer exists", "Error opening mine", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                else if (e.Data.Substring(0, 1) == "2")
                {
                    MessageBox.Show("A file IO exception occurred. If you can't fix this issue yourself, open a ticket on github. https://github.com/dmp9-mc/prisoneditor/issues", "Error opening mine", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                else if (e.Data.Substring(0, 1) == "3")
                {
                    MessageBox.Show("Not a valid rank file. If you are confident it came from the Prison plugin, your PrisonEditor installation is corrupt, please install it again.", "Error opening mine", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
                return;
            }
            Encoding iso  = Encoding.GetEncoding("ISO-8859-1");
            string   file = iso.GetString(Convert.FromBase64String(e.Data.Substring(1)));

            Invoke(new Action(() => { Controls.Clear(); MineEditor(); }));
            foreach (string s in file.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
            {
                string key   = s.Split('=')[0];
                string value = s.Split('=')[1];
                if (key == "Name")
                {
                    Invoke(new Action(() => { textBox1.Text = value; }));
                }
                else if (key == "WorldName")
                {
                    Invoke(new Action(() => { textBox2.Text = value; }));
                }
                else if (key == "MinX")
                {
                    Invoke(new Action(() => { x1.Value = int.Parse(value); }));
                }
                else if (key == "MinY")
                {
                    Invoke(new Action(() => { y1.Value = int.Parse(value); }));
                }
                else if (key == "MinZ")
                {
                    Invoke(new Action(() => { numericUpDown1.Value = int.Parse(value); }));
                }
                else if (key == "MaxX")
                {
                    Invoke(new Action(() => { numericUpDown4.Value = int.Parse(value); }));
                }
                else if (key == "MaxY")
                {
                    Invoke(new Action(() => { numericUpDown3.Value = int.Parse(value); }));
                }
                else if (key == "MaxZ")
                {
                    Invoke(new Action(() => { numericUpDown2.Value = int.Parse(value); }));
                }
                else if (key == "Block")
                {
                    Invoke(new Action(() => { blocks.Add(value); }));
                }
                else
                {
                    MessageBox.Show(this, "Invalid key/value pair (Are you sure it's a mine file?)", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }
            }
            foreach (string s in blocks)
            {
                TreeNode editorNode = new TreeNode();
                editorNode.Name = s;
                editorNode.Text = s.Split(',')[0];
                treeView1.Nodes.Add(editorNode);
            }
            Invoke(new Action(() => { BlockDeselected(); }));
        }
Example #51
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.MColorDialog          = new System.Windows.Forms.ColorDialog();
     this.ColorChoose           = new System.Windows.Forms.Button();
     this.label3                = new System.Windows.Forms.Label();
     this.OkButton              = new System.Windows.Forms.Button();
     this.FontChoose            = new System.Windows.Forms.Button();
     this.TextFontDialog        = new System.Windows.Forms.FontDialog();
     this.ForeColorChose        = new System.Windows.Forms.Button();
     this.TextColorDialog       = new System.Windows.Forms.ColorDialog();
     this.tabControl1           = new System.Windows.Forms.TabControl();
     this.mainSet               = new System.Windows.Forms.TabPage();
     this.radioButton2          = new System.Windows.Forms.RadioButton();
     this.radioButton1          = new System.Windows.Forms.RadioButton();
     this.intervalNumericUpDown = new System.Windows.Forms.NumericUpDown();
     this.label7                = new System.Windows.Forms.Label();
     this.IsTimerCheckbox       = new System.Windows.Forms.CheckBox();
     this.label1                = new System.Windows.Forms.Label();
     this.label2                = new System.Windows.Forms.Label();
     this.password              = new System.Windows.Forms.TextBox();
     this.username              = new System.Windows.Forms.TextBox();
     this.textSet               = new System.Windows.Forms.TabPage();
     this.groupBox2             = new System.Windows.Forms.GroupBox();
     this.Vertical              = new System.Windows.Forms.RadioButton();
     this.Horizontal            = new System.Windows.Forms.RadioButton();
     this.ForwardDiagonal       = new System.Windows.Forms.RadioButton();
     this.BackwardDiagonal      = new System.Windows.Forms.RadioButton();
     this.DeskFontChoose        = new System.Windows.Forms.Button();
     this.label6                = new System.Windows.Forms.Label();
     this.Color2Chose           = new System.Windows.Forms.Button();
     this.Color1Chose           = new System.Windows.Forms.Button();
     this.label4                = new System.Windows.Forms.Label();
     this.DeskXnumeric          = new System.Windows.Forms.NumericUpDown();
     this.DeskYnumeric          = new System.Windows.Forms.NumericUpDown();
     this.label5                = new System.Windows.Forms.Label();
     this.groupBox3             = new System.Windows.Forms.GroupBox();
     this.formSet               = new System.Windows.Forms.TabPage();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.MOpacitynumeric       = new System.Windows.Forms.NumericUpDown();
     this.Plugs                = new System.Windows.Forms.TabPage();
     this.SaveButton           = new System.Windows.Forms.Button();
     this.Open_SaveButton      = new System.Windows.Forms.Button();
     this.DeleteButton         = new System.Windows.Forms.Button();
     this.MCurPluginListBox    = new System.Windows.Forms.ListBox();
     this.AddButton            = new System.Windows.Forms.Button();
     this.DescrButton          = new System.Windows.Forms.Button();
     this.MyCancelButton       = new System.Windows.Forms.Button();
     this.DeskColorDialog1     = new System.Windows.Forms.ColorDialog();
     this.DeskColorDialog2     = new System.Windows.Forms.ColorDialog();
     this.DeskFontDialog       = new System.Windows.Forms.FontDialog();
     this.PluginInfoOpenDialog = new System.Windows.Forms.OpenFileDialog();
     this.PluginOpenDialog     = new System.Windows.Forms.OpenFileDialog();
     this.PluginInfoSaveDialog = new System.Windows.Forms.SaveFileDialog();
     this.tabControl1.SuspendLayout();
     this.mainSet.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.intervalNumericUpDown)).BeginInit();
     this.textSet.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DeskXnumeric)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DeskYnumeric)).BeginInit();
     this.groupBox3.SuspendLayout();
     this.formSet.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.MOpacitynumeric)).BeginInit();
     this.Plugs.SuspendLayout();
     this.SuspendLayout();
     //
     // ColorChoose
     //
     this.ColorChoose.Location = new System.Drawing.Point(16, 72);
     this.ColorChoose.Name     = "ColorChoose";
     this.ColorChoose.Size     = new System.Drawing.Size(120, 24);
     this.ColorChoose.TabIndex = 4;
     this.ColorChoose.Text     = "Выбрать цвет";
     this.ColorChoose.Click   += new System.EventHandler(this.ColorChoose_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(24, 24);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(104, 16);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Прозрачность";
     //
     // OkButton
     //
     this.OkButton.Location = new System.Drawing.Point(304, 256);
     this.OkButton.Name     = "OkButton";
     this.OkButton.Size     = new System.Drawing.Size(72, 24);
     this.OkButton.TabIndex = 7;
     this.OkButton.Text     = "Ok";
     this.OkButton.Click   += new System.EventHandler(this.OkButton_Click);
     //
     // FontChoose
     //
     this.FontChoose.Location = new System.Drawing.Point(8, 32);
     this.FontChoose.Name     = "FontChoose";
     this.FontChoose.Size     = new System.Drawing.Size(136, 24);
     this.FontChoose.TabIndex = 8;
     this.FontChoose.Text     = "Выбрать шрифт текста";
     this.FontChoose.Click   += new System.EventHandler(this.FontChoose_Click);
     //
     // ForeColorChose
     //
     this.ForeColorChose.Location = new System.Drawing.Point(8, 64);
     this.ForeColorChose.Name     = "ForeColorChose";
     this.ForeColorChose.Size     = new System.Drawing.Size(136, 24);
     this.ForeColorChose.TabIndex = 9;
     this.ForeColorChose.Text     = "Выбрать цвет текста";
     this.ForeColorChose.Click   += new System.EventHandler(this.ForeColorChose_Click);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.mainSet);
     this.tabControl1.Controls.Add(this.textSet);
     this.tabControl1.Controls.Add(this.formSet);
     this.tabControl1.Controls.Add(this.Plugs);
     this.tabControl1.Location      = new System.Drawing.Point(8, 8);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(728, 240);
     this.tabControl1.TabIndex      = 10;
     //
     // mainSet
     //
     this.mainSet.Controls.Add(this.radioButton2);
     this.mainSet.Controls.Add(this.radioButton1);
     this.mainSet.Controls.Add(this.intervalNumericUpDown);
     this.mainSet.Controls.Add(this.label7);
     this.mainSet.Controls.Add(this.IsTimerCheckbox);
     this.mainSet.Controls.Add(this.label1);
     this.mainSet.Controls.Add(this.label2);
     this.mainSet.Controls.Add(this.password);
     this.mainSet.Controls.Add(this.username);
     this.mainSet.Location = new System.Drawing.Point(4, 22);
     this.mainSet.Name     = "mainSet";
     this.mainSet.Size     = new System.Drawing.Size(720, 214);
     this.mainSet.TabIndex = 0;
     this.mainSet.Text     = "Настройки плагина";
     //
     // radioButton2
     //
     this.radioButton2.Location = new System.Drawing.Point(216, 72);
     this.radioButton2.Name     = "radioButton2";
     this.radioButton2.Size     = new System.Drawing.Size(80, 16);
     this.radioButton2.TabIndex = 19;
     this.radioButton2.Text     = "минутах";
     //
     // radioButton1
     //
     this.radioButton1.Location = new System.Drawing.Point(216, 48);
     this.radioButton1.Name     = "radioButton1";
     this.radioButton1.Size     = new System.Drawing.Size(80, 16);
     this.radioButton1.TabIndex = 18;
     this.radioButton1.Text     = "секундах";
     //
     // intervalNumericUpDown
     //
     this.intervalNumericUpDown.Location = new System.Drawing.Point(136, 64);
     this.intervalNumericUpDown.Maximum  = new System.Decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.intervalNumericUpDown.Minimum = new System.Decimal(new int[] {
         3,
         0,
         0,
         0
     });
     this.intervalNumericUpDown.Name     = "intervalNumericUpDown";
     this.intervalNumericUpDown.Size     = new System.Drawing.Size(72, 20);
     this.intervalNumericUpDown.TabIndex = 17;
     this.intervalNumericUpDown.Value    = new System.Decimal(new int[] {
         3,
         0,
         0,
         0
     });
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(136, 48);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(64, 16);
     this.label7.TabIndex = 16;
     this.label7.Text     = "Интервал в";
     //
     // IsTimerCheckbox
     //
     this.IsTimerCheckbox.Location        = new System.Drawing.Point(136, 8);
     this.IsTimerCheckbox.Name            = "IsTimerCheckbox";
     this.IsTimerCheckbox.Size            = new System.Drawing.Size(160, 32);
     this.IsTimerCheckbox.TabIndex        = 15;
     this.IsTimerCheckbox.Text            = "Запускать получение статистики по таймеру";
     this.IsTimerCheckbox.CheckedChanged += new System.EventHandler(this.IsTimerCheckbox_CheckedChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(24, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(104, 16);
     this.label1.TabIndex = 11;
     this.label1.Text     = "Имя пользователя";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(24, 56);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 16);
     this.label2.TabIndex = 12;
     this.label2.Text     = "Пароль";
     //
     // password
     //
     this.password.Location     = new System.Drawing.Point(24, 80);
     this.password.Name         = "password";
     this.password.PasswordChar = '*';
     this.password.Size         = new System.Drawing.Size(80, 20);
     this.password.TabIndex     = 14;
     this.password.Text         = "";
     //
     // username
     //
     this.username.Location = new System.Drawing.Point(24, 32);
     this.username.Name     = "username";
     this.username.Size     = new System.Drawing.Size(80, 20);
     this.username.TabIndex = 13;
     this.username.Text     = "";
     //
     // textSet
     //
     this.textSet.Controls.Add(this.groupBox2);
     this.textSet.Controls.Add(this.groupBox3);
     this.textSet.Location = new System.Drawing.Point(4, 22);
     this.textSet.Name     = "textSet";
     this.textSet.Size     = new System.Drawing.Size(720, 214);
     this.textSet.TabIndex = 1;
     this.textSet.Text     = "Свойства текста";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.Vertical);
     this.groupBox2.Controls.Add(this.Horizontal);
     this.groupBox2.Controls.Add(this.ForwardDiagonal);
     this.groupBox2.Controls.Add(this.BackwardDiagonal);
     this.groupBox2.Controls.Add(this.DeskFontChoose);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.Color2Chose);
     this.groupBox2.Controls.Add(this.Color1Chose);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.DeskXnumeric);
     this.groupBox2.Controls.Add(this.DeskYnumeric);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Location = new System.Drawing.Point(16, 16);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(528, 192);
     this.groupBox2.TabIndex = 14;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Свойства надписи на рабочем столе";
     //
     // Vertical
     //
     this.Vertical.Location = new System.Drawing.Point(392, 120);
     this.Vertical.Name     = "Vertical";
     this.Vertical.Size     = new System.Drawing.Size(88, 24);
     this.Vertical.TabIndex = 19;
     this.Vertical.Text     = "Vertical";
     //
     // Horizontal
     //
     this.Horizontal.Location = new System.Drawing.Point(392, 96);
     this.Horizontal.Name     = "Horizontal";
     this.Horizontal.Size     = new System.Drawing.Size(88, 16);
     this.Horizontal.TabIndex = 18;
     this.Horizontal.Text     = "Horizontal";
     //
     // ForwardDiagonal
     //
     this.ForwardDiagonal.Location = new System.Drawing.Point(392, 64);
     this.ForwardDiagonal.Name     = "ForwardDiagonal";
     this.ForwardDiagonal.Size     = new System.Drawing.Size(112, 24);
     this.ForwardDiagonal.TabIndex = 17;
     this.ForwardDiagonal.Text     = "ForwardDiagonal";
     //
     // BackwardDiagonal
     //
     this.BackwardDiagonal.Location = new System.Drawing.Point(392, 40);
     this.BackwardDiagonal.Name     = "BackwardDiagonal";
     this.BackwardDiagonal.Size     = new System.Drawing.Size(120, 24);
     this.BackwardDiagonal.TabIndex = 16;
     this.BackwardDiagonal.Text     = "BackwardDiagonal";
     //
     // DeskFontChoose
     //
     this.DeskFontChoose.Location = new System.Drawing.Point(8, 112);
     this.DeskFontChoose.Name     = "DeskFontChoose";
     this.DeskFontChoose.Size     = new System.Drawing.Size(120, 24);
     this.DeskFontChoose.TabIndex = 15;
     this.DeskFontChoose.Text     = "Выбрать шрифт";
     this.DeskFontChoose.Click   += new System.EventHandler(this.DeskFontChoose_Click);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(392, 16);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(120, 16);
     this.label6.TabIndex = 14;
     this.label6.Text     = "Спецэффект надписи";
     //
     // Color2Chose
     //
     this.Color2Chose.Location = new System.Drawing.Point(288, 48);
     this.Color2Chose.Name     = "Color2Chose";
     this.Color2Chose.Size     = new System.Drawing.Size(88, 24);
     this.Color2Chose.TabIndex = 12;
     this.Color2Chose.Text     = "Цвет 2";
     this.Color2Chose.Click   += new System.EventHandler(this.Color2Chose_Click);
     //
     // Color1Chose
     //
     this.Color1Chose.Location = new System.Drawing.Point(288, 16);
     this.Color1Chose.Name     = "Color1Chose";
     this.Color1Chose.Size     = new System.Drawing.Size(88, 24);
     this.Color1Chose.TabIndex = 11;
     this.Color1Chose.Text     = "Цвет 1";
     this.Color1Chose.Click   += new System.EventHandler(this.Color1Chose_Click);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 16);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(280, 16);
     this.label4.TabIndex = 9;
     this.label4.Text     = "X левого верхнего угла надписи на рабочем столе";
     //
     // DeskXnumeric
     //
     this.DeskXnumeric.Location = new System.Drawing.Point(8, 32);
     this.DeskXnumeric.Maximum  = new System.Decimal(new int[] {
         1024,
         0,
         0,
         0
     });
     this.DeskXnumeric.Name     = "DeskXnumeric";
     this.DeskXnumeric.TabIndex = 7;
     //
     // DeskYnumeric
     //
     this.DeskYnumeric.Location = new System.Drawing.Point(8, 72);
     this.DeskYnumeric.Maximum  = new System.Decimal(new int[] {
         768,
         0,
         0,
         0
     });
     this.DeskYnumeric.Name     = "DeskYnumeric";
     this.DeskYnumeric.TabIndex = 8;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 56);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(272, 13);
     this.label5.TabIndex = 10;
     this.label5.Text     = "Y левого верхнего угла надписи на рабочем столе";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.FontChoose);
     this.groupBox3.Controls.Add(this.ForeColorChose);
     this.groupBox3.Location = new System.Drawing.Point(552, 16);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(152, 192);
     this.groupBox3.TabIndex = 15;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Свойства надписи на главном окне";
     //
     // formSet
     //
     this.formSet.Controls.Add(this.groupBox1);
     this.formSet.Location = new System.Drawing.Point(4, 22);
     this.formSet.Name     = "formSet";
     this.formSet.Size     = new System.Drawing.Size(720, 214);
     this.formSet.TabIndex = 2;
     this.formSet.Text     = "Настройки основного окна";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.MOpacitynumeric);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.ColorChoose);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(704, 200);
     this.groupBox1.TabIndex = 12;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Свойства основного окна";
     //
     // MOpacitynumeric
     //
     this.MOpacitynumeric.Increment = new System.Decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.MOpacitynumeric.Location = new System.Drawing.Point(16, 40);
     this.MOpacitynumeric.Maximum  = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.MOpacitynumeric.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.MOpacitynumeric.Name     = "MOpacitynumeric";
     this.MOpacitynumeric.Size     = new System.Drawing.Size(112, 20);
     this.MOpacitynumeric.TabIndex = 6;
     this.MOpacitynumeric.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     //
     // Plugs
     //
     this.Plugs.Controls.Add(this.SaveButton);
     this.Plugs.Controls.Add(this.Open_SaveButton);
     this.Plugs.Controls.Add(this.DeleteButton);
     this.Plugs.Controls.Add(this.MCurPluginListBox);
     this.Plugs.Controls.Add(this.AddButton);
     this.Plugs.Controls.Add(this.DescrButton);
     this.Plugs.Location = new System.Drawing.Point(4, 22);
     this.Plugs.Name     = "Plugs";
     this.Plugs.Size     = new System.Drawing.Size(720, 214);
     this.Plugs.TabIndex = 3;
     this.Plugs.Text     = "Подключаемые модули";
     //
     // SaveButton
     //
     this.SaveButton.Location = new System.Drawing.Point(512, 176);
     this.SaveButton.Name     = "SaveButton";
     this.SaveButton.Size     = new System.Drawing.Size(200, 32);
     this.SaveButton.TabIndex = 18;
     this.SaveButton.Text     = "Сохранить описатель";
     this.SaveButton.Click   += new System.EventHandler(this.button2_Click);
     //
     // Open_SaveButton
     //
     this.Open_SaveButton.Location = new System.Drawing.Point(512, 136);
     this.Open_SaveButton.Name     = "Open_SaveButton";
     this.Open_SaveButton.Size     = new System.Drawing.Size(200, 32);
     this.Open_SaveButton.TabIndex = 17;
     this.Open_SaveButton.Text     = "Открыть плагин и создать его описатель";
     this.Open_SaveButton.Click   += new System.EventHandler(this.button1_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Location = new System.Drawing.Point(512, 96);
     this.DeleteButton.Name     = "DeleteButton";
     this.DeleteButton.Size     = new System.Drawing.Size(200, 32);
     this.DeleteButton.TabIndex = 16;
     this.DeleteButton.Text     = "Удалить описатель плагина";
     this.DeleteButton.Click   += new System.EventHandler(this.DeleteButton_Click);
     //
     // MCurPluginListBox
     //
     this.MCurPluginListBox.Location = new System.Drawing.Point(16, 8);
     this.MCurPluginListBox.Name     = "MCurPluginListBox";
     this.MCurPluginListBox.Size     = new System.Drawing.Size(488, 199);
     this.MCurPluginListBox.Sorted   = true;
     this.MCurPluginListBox.TabIndex = 12;
     //
     // AddButton
     //
     this.AddButton.Location = new System.Drawing.Point(512, 16);
     this.AddButton.Name     = "AddButton";
     this.AddButton.Size     = new System.Drawing.Size(200, 32);
     this.AddButton.TabIndex = 13;
     this.AddButton.Text     = "Добавить описатель плагина";
     this.AddButton.Click   += new System.EventHandler(this.AddButton_Click);
     //
     // DescrButton
     //
     this.DescrButton.Location = new System.Drawing.Point(512, 56);
     this.DescrButton.Name     = "DescrButton";
     this.DescrButton.Size     = new System.Drawing.Size(200, 32);
     this.DescrButton.TabIndex = 15;
     this.DescrButton.Text     = "Описание плагина и его описателя";
     //
     // MyCancelButton
     //
     this.MyCancelButton.Location = new System.Drawing.Point(400, 256);
     this.MyCancelButton.Name     = "MyCancelButton";
     this.MyCancelButton.Size     = new System.Drawing.Size(72, 24);
     this.MyCancelButton.TabIndex = 11;
     this.MyCancelButton.Text     = "Отмена";
     this.MyCancelButton.Click   += new System.EventHandler(this.MyCancelButton_Click);
     //
     // PluginInfoOpenDialog
     //
     this.PluginInfoOpenDialog.Filter = "WinBalans Plug-ins (*.dll)|*.dll|All files (*.*)|*.*";
     //
     // PluginOpenDialog
     //
     this.PluginOpenDialog.Filter = "WinBalans Plug-ins (*.dll)|*.dll|All files (*.*)|*.*";
     //
     // Settings
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(746, 288);
     this.ControlBox        = false;
     this.Controls.Add(this.MyCancelButton);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.OkButton);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "Settings";
     this.Text            = "Settings";
     this.tabControl1.ResumeLayout(false);
     this.mainSet.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.intervalNumericUpDown)).EndInit();
     this.textSet.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.DeskXnumeric)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DeskYnumeric)).EndInit();
     this.groupBox3.ResumeLayout(false);
     this.formSet.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.MOpacitynumeric)).EndInit();
     this.Plugs.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #52
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.returnMineral  = new System.Windows.Forms.NumericUpDown();
     this.returnOrganic  = new System.Windows.Forms.NumericUpDown();
     this.returnEnergy   = new System.Windows.Forms.NumericUpDown();
     this.offerMineral   = new System.Windows.Forms.NumericUpDown();
     this.offerOrganic   = new System.Windows.Forms.NumericUpDown();
     this.offerEnergy    = new System.Windows.Forms.NumericUpDown();
     this.surplusMineral = new System.Windows.Forms.TextBox();
     this.surplusOrganic = new System.Windows.Forms.TextBox();
     this.surplusEnergy  = new System.Windows.Forms.TextBox();
     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.bnOffer        = new System.Windows.Forms.Button();
     this.label7         = new System.Windows.Forms.Label();
     this.bnCancel       = new System.Windows.Forms.Button();
     this.label9         = new System.Windows.Forms.Label();
     this.bnIgnore       = new System.Windows.Forms.Button();
     this.listBox1       = new System.Windows.Forms.ListBox();
     this.bnReject       = new System.Windows.Forms.Button();
     this.bnAccept       = new System.Windows.Forms.Button();
     this.chatBox        = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.offerMineral)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.returnEnergy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.offerEnergy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.returnOrganic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.offerOrganic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.returnMineral)).BeginInit();
     this.SuspendLayout();
     //
     // offerMineral
     //
     this.offerMineral.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.offerMineral.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.offerMineral.Location = new System.Drawing.Point(127, 283);
     this.offerMineral.Maximum  = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.offerMineral.Name          = "offerMineral";
     this.offerMineral.Size          = new System.Drawing.Size(48, 24);
     this.offerMineral.TabIndex      = 5;
     this.offerMineral.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.offerMineral.ValueChanged += new System.EventHandler(this.offerMineral_ValueChanged);
     //
     // returnEnergy
     //
     this.returnEnergy.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.returnEnergy.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.returnEnergy.Location = new System.Drawing.Point(257, 244);
     this.returnEnergy.Maximum  = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.returnEnergy.Name          = "returnEnergy";
     this.returnEnergy.Size          = new System.Drawing.Size(48, 24);
     this.returnEnergy.TabIndex      = 6;
     this.returnEnergy.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.returnEnergy.ValueChanged += new System.EventHandler(this.returnEnergy_ValueChanged);
     //
     // offerEnergy
     //
     this.offerEnergy.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.offerEnergy.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.offerEnergy.Location = new System.Drawing.Point(257, 283);
     this.offerEnergy.Maximum  = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.offerEnergy.Name          = "offerEnergy";
     this.offerEnergy.Size          = new System.Drawing.Size(48, 24);
     this.offerEnergy.TabIndex      = 7;
     this.offerEnergy.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.offerEnergy.ValueChanged += new System.EventHandler(this.offerEnergy_ValueChanged);
     //
     // returnOrganic
     //
     this.returnOrganic.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.returnOrganic.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.returnOrganic.Location = new System.Drawing.Point(192, 244);
     this.returnOrganic.Maximum  = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.returnOrganic.Name          = "returnOrganic";
     this.returnOrganic.Size          = new System.Drawing.Size(48, 24);
     this.returnOrganic.TabIndex      = 8;
     this.returnOrganic.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.returnOrganic.ValueChanged += new System.EventHandler(this.returnOrganic_ValueChanged);
     //
     // offerOrganic
     //
     this.offerOrganic.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.offerOrganic.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.offerOrganic.Location = new System.Drawing.Point(192, 283);
     this.offerOrganic.Maximum  = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.offerOrganic.Name          = "offerOrganic";
     this.offerOrganic.Size          = new System.Drawing.Size(48, 24);
     this.offerOrganic.TabIndex      = 9;
     this.offerOrganic.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.offerOrganic.ValueChanged += new System.EventHandler(this.offerOrganic_ValueChanged);
     //
     // returnMineral
     //
     this.returnMineral.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.returnMineral.Font     = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.returnMineral.Location = new System.Drawing.Point(127, 244);
     this.returnMineral.Maximum  = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this.returnMineral.Name          = "returnMineral";
     this.returnMineral.Size          = new System.Drawing.Size(48, 24);
     this.returnMineral.TabIndex      = 10;
     this.returnMineral.TextAlign     = System.Windows.Forms.HorizontalAlignment.Center;
     this.returnMineral.ValueChanged += new System.EventHandler(this.returnMineral_ValueChanged);
     //
     // surplusEnergy
     //
     this.surplusEnergy.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.surplusEnergy.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.surplusEnergy.Location  = new System.Drawing.Point(265, 329);
     this.surplusEnergy.Name      = "surplusEnergy";
     this.surplusEnergy.Size      = new System.Drawing.Size(32, 24);
     this.surplusEnergy.TabIndex  = 11;
     this.surplusEnergy.Text      = "0";
     this.surplusEnergy.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // surplusMineral
     //
     this.surplusMineral.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.surplusMineral.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.surplusMineral.Location  = new System.Drawing.Point(135, 329);
     this.surplusMineral.Name      = "surplusMineral";
     this.surplusMineral.Size      = new System.Drawing.Size(32, 24);
     this.surplusMineral.TabIndex  = 12;
     this.surplusMineral.Text      = "0";
     this.surplusMineral.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // surplusOrganic
     //
     this.surplusOrganic.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.surplusOrganic.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.surplusOrganic.Location  = new System.Drawing.Point(200, 329);
     this.surplusOrganic.Name      = "surplusOrganic";
     this.surplusOrganic.Size      = new System.Drawing.Size(32, 24);
     this.surplusOrganic.TabIndex  = 13;
     this.surplusOrganic.Text      = "0";
     this.surplusOrganic.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label1
     //
     this.label1.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label1.Location  = new System.Drawing.Point(123, 220);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(56, 23);
     this.label1.TabIndex  = 14;
     this.label1.Text      = "Minerals";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // label2
     //
     this.label2.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label2.Location  = new System.Drawing.Point(186, 220);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(61, 23);
     this.label2.TabIndex  = 15;
     this.label2.Text      = "Organics";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // label3
     //
     this.label3.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label3.Location = new System.Drawing.Point(257, 220);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(48, 23);
     this.label3.TabIndex = 16;
     this.label3.Text     = "Energy";
     //
     // label4
     //
     this.label4.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label4.Location  = new System.Drawing.Point(8, 244);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(112, 24);
     this.label4.TabIndex  = 17;
     this.label4.Text      = "they provide";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label5
     //
     this.label5.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label5.Location  = new System.Drawing.Point(8, 282);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(112, 24);
     this.label5.TabIndex  = 18;
     this.label5.Text      = "we provide";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label6.Location  = new System.Drawing.Point(8, 329);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(112, 24);
     this.label6.TabIndex  = 19;
     this.label6.Text      = "Surplus :";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // bnOffer
     //
     this.bnOffer.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.bnOffer.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnOffer.Location = new System.Drawing.Point(324, 252);
     this.bnOffer.Name     = "bnOffer";
     this.bnOffer.Size     = new System.Drawing.Size(100, 24);
     this.bnOffer.TabIndex = 20;
     this.bnOffer.Text     = "Offer";
     this.bnOffer.Click   += new System.EventHandler(this.bnOffer_Click);
     //
     // label7
     //
     this.label7.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                           | System.Windows.Forms.AnchorStyles.Right);
     this.label7.Location  = new System.Drawing.Point(136, 2);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(160, 21);
     this.label7.TabIndex  = 22;
     this.label7.Text      = "Active Trades";
     this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // bnCancel
     //
     this.bnCancel.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.bnCancel.Enabled  = false;
     this.bnCancel.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnCancel.Location = new System.Drawing.Point(324, 221);
     this.bnCancel.Name     = "bnCancel";
     this.bnCancel.Size     = new System.Drawing.Size(100, 24);
     this.bnCancel.TabIndex = 24;
     this.bnCancel.Text     = "Cancel Trade";
     this.bnCancel.Click   += new System.EventHandler(this.bnCancel_Click);
     //
     // label9
     //
     this.label9.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.label9.Location = new System.Drawing.Point(8, 220);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(108, 20);
     this.label9.TabIndex = 25;
     this.label9.Text     = "Proposal:";
     //
     // bnIgnore
     //
     this.bnIgnore.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.bnIgnore.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnIgnore.Location = new System.Drawing.Point(324, 345);
     this.bnIgnore.Name     = "bnIgnore";
     this.bnIgnore.Size     = new System.Drawing.Size(100, 24);
     this.bnIgnore.TabIndex = 26;
     this.bnIgnore.Text     = "Nevermind";
     //
     // listBox1
     //
     this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                             | System.Windows.Forms.AnchorStyles.Right);
     this.listBox1.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.listBox1.ItemHeight            = 16;
     this.listBox1.Location              = new System.Drawing.Point(2, 22);
     this.listBox1.Name                  = "listBox1";
     this.listBox1.Size                  = new System.Drawing.Size(428, 116);
     this.listBox1.TabIndex              = 27;
     this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
     //
     // bnReject
     //
     this.bnReject.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.bnReject.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnReject.Location = new System.Drawing.Point(324, 283);
     this.bnReject.Name     = "bnReject";
     this.bnReject.Size     = new System.Drawing.Size(100, 24);
     this.bnReject.TabIndex = 4;
     this.bnReject.Text     = "Reject";
     this.bnReject.Click   += new EventHandler(this.bnReject_Click);
     //
     // bnAccept
     //
     this.bnAccept.Anchor   = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.bnAccept.Enabled  = false;
     this.bnAccept.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnAccept.Location = new System.Drawing.Point(324, 314);
     this.bnAccept.Name     = "bnAccept";
     this.bnAccept.Size     = new System.Drawing.Size(100, 24);
     this.bnAccept.TabIndex = 3;
     this.bnAccept.Text     = "Accept";
     this.bnAccept.Click   += new System.EventHandler(this.bnAccept_Click_1);
     //
     // chatBox
     //
     this.chatBox.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                            | System.Windows.Forms.AnchorStyles.Right);
     this.chatBox.BackColor = System.Drawing.SystemColors.Window;
     this.chatBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.chatBox.Location  = new System.Drawing.Point(2, 142);
     this.chatBox.Multiline = true;
     this.chatBox.Name      = "chatBox";
     this.chatBox.ReadOnly  = true;
     this.chatBox.Size      = new System.Drawing.Size(428, 71);
     this.chatBox.TabIndex  = 0;
     this.chatBox.Text      = "";
     //
     // TradeDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(432, 376);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.listBox1,
         this.bnIgnore,
         this.label9,
         this.bnCancel,
         this.label7,
         this.bnOffer,
         this.label6,
         this.label5,
         this.label4,
         this.label3,
         this.label2,
         this.label1,
         this.surplusOrganic,
         this.surplusMineral,
         this.surplusEnergy,
         this.returnMineral,
         this.offerOrganic,
         this.returnOrganic,
         this.offerEnergy,
         this.returnEnergy,
         this.offerMineral,
         this.bnReject,
         this.bnAccept,
         this.chatBox
     });
     this.Font            = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MaximumSize     = new System.Drawing.Size(464, 464);
     this.MinimumSize     = new System.Drawing.Size(404, 304);
     this.Name            = "TradeDialog";
     this.Text            = "Trade Talks with ";
     ((System.ComponentModel.ISupportInitialize)(this.offerMineral)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.returnEnergy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.offerEnergy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.returnOrganic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.offerOrganic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.returnMineral)).EndInit();
     this.ResumeLayout(false);
 }
Example #53
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button1 = new System.Windows.Forms.Button();
     this._comboBoxStretchType = new System.Windows.Forms.ComboBox();
     this._pictureBoxPreview   = new System.Windows.Forms.PictureBox();
     this._checkBoxFullScreen  = new System.Windows.Forms.CheckBox();
     this._textBoxScaleFactor  = new System.Windows.Forms.TextBox();
     this.button2          = new System.Windows.Forms.Button();
     this._buttonPerf      = new System.Windows.Forms.Button();
     this.button3          = new System.Windows.Forms.Button();
     this.button4          = new System.Windows.Forms.Button();
     this.button5          = new System.Windows.Forms.Button();
     this.button6          = new System.Windows.Forms.Button();
     this._listBoxScripts  = new System.Windows.Forms.ListBox();
     this._listViewImages  = new System.Windows.Forms.ListView();
     this.FileName         = new System.Windows.Forms.ColumnHeader();
     this.FilePath         = new System.Windows.Forms.ColumnHeader();
     this._listViewScripts = new System.Windows.Forms.ListView();
     this.ScriptFileName   = new System.Windows.Forms.ColumnHeader();
     this.buttonReg        = new System.Windows.Forms.Button();
     this.setReg           = new System.Windows.Forms.Button();
     this._txtAddReg       = new System.Windows.Forms.TextBox();
     this._buttonAddReg    = new System.Windows.Forms.Button();
     this._txtFullPath     = new System.Windows.Forms.TextBox();
     this._cboLength       = new System.Windows.Forms.NumericUpDown();
     this._btnGo           = new System.Windows.Forms.Button();
     this.button7          = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this._pictureBoxPreview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._cboLength)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(8, 8);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(96, 23);
     this.button1.TabIndex = 0;
     this.button1.Text     = "Load Thumbnail";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // _comboBoxStretchType
     //
     this._comboBoxStretchType.AllowDrop             = true;
     this._comboBoxStretchType.Location              = new System.Drawing.Point(304, 40);
     this._comboBoxStretchType.Name                  = "_comboBoxStretchType";
     this._comboBoxStretchType.Size                  = new System.Drawing.Size(121, 21);
     this._comboBoxStretchType.TabIndex              = 3;
     this._comboBoxStretchType.SelectedIndexChanged += new System.EventHandler(this._comboBoxStretchType_SelectedIndexChanged);
     //
     // _pictureBoxPreview
     //
     this._pictureBoxPreview.Location = new System.Drawing.Point(352, 160);
     this._pictureBoxPreview.Name     = "_pictureBoxPreview";
     this._pictureBoxPreview.Size     = new System.Drawing.Size(300, 225);
     this._pictureBoxPreview.TabIndex = 4;
     this._pictureBoxPreview.TabStop  = false;
     //
     // _checkBoxFullScreen
     //
     this._checkBoxFullScreen.Location        = new System.Drawing.Point(312, 72);
     this._checkBoxFullScreen.Name            = "_checkBoxFullScreen";
     this._checkBoxFullScreen.Size            = new System.Drawing.Size(104, 24);
     this._checkBoxFullScreen.TabIndex        = 5;
     this._checkBoxFullScreen.Text            = "Full Screen";
     this._checkBoxFullScreen.MouseDown      += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown);
     this._checkBoxFullScreen.CheckedChanged += new System.EventHandler(this._checkBoxFullScreen_CheckedChanged);
     //
     // _textBoxScaleFactor
     //
     this._textBoxScaleFactor.Enabled      = false;
     this._textBoxScaleFactor.Location     = new System.Drawing.Point(432, 40);
     this._textBoxScaleFactor.Name         = "_textBoxScaleFactor";
     this._textBoxScaleFactor.Size         = new System.Drawing.Size(40, 20);
     this._textBoxScaleFactor.TabIndex     = 6;
     this._textBoxScaleFactor.Text         = "1.0";
     this._textBoxScaleFactor.TextChanged += new System.EventHandler(this._textBoxScaleFactor_TextChanged);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(112, 8);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(96, 23);
     this.button2.TabIndex = 7;
     this.button2.Text     = "Save Thumbnail";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // _buttonPerf
     //
     this._buttonPerf.Location = new System.Drawing.Point(216, 8);
     this._buttonPerf.Name     = "_buttonPerf";
     this._buttonPerf.Size     = new System.Drawing.Size(104, 23);
     this._buttonPerf.TabIndex = 8;
     this._buttonPerf.Text     = "Test Performance";
     this._buttonPerf.Click   += new System.EventHandler(this._buttonPerf_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(480, 40);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(75, 23);
     this.button3.TabIndex = 9;
     this.button3.Text     = "Save Script";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(480, 64);
     this.button4.Name     = "button4";
     this.button4.Size     = new System.Drawing.Size(75, 23);
     this.button4.TabIndex = 10;
     this.button4.Text     = "Load Script";
     this.button4.Click   += new System.EventHandler(this.button4_Click);
     //
     // button5
     //
     this.button5.Location = new System.Drawing.Point(576, 64);
     this.button5.Name     = "button5";
     this.button5.Size     = new System.Drawing.Size(75, 23);
     this.button5.TabIndex = 11;
     this.button5.Text     = "Load Config";
     this.button5.Click   += new System.EventHandler(this.button5_Click);
     //
     // button6
     //
     this.button6.Location = new System.Drawing.Point(576, 40);
     this.button6.Name     = "button6";
     this.button6.Size     = new System.Drawing.Size(75, 23);
     this.button6.TabIndex = 12;
     this.button6.Text     = "Save Config";
     this.button6.Click   += new System.EventHandler(this.button6_Click);
     //
     // _listBoxScripts
     //
     this._listBoxScripts.Location              = new System.Drawing.Point(368, 104);
     this._listBoxScripts.Name                  = "_listBoxScripts";
     this._listBoxScripts.ScrollAlwaysVisible   = true;
     this._listBoxScripts.SelectionMode         = System.Windows.Forms.SelectionMode.MultiSimple;
     this._listBoxScripts.Size                  = new System.Drawing.Size(288, 43);
     this._listBoxScripts.TabIndex              = 13;
     this._listBoxScripts.SelectedIndexChanged += new System.EventHandler(this._listBoxScripts_SelectedIndexChanged);
     //
     // _listViewImages
     //
     this._listViewImages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.FileName,
         this.FilePath
     });
     this._listViewImages.FullRowSelect = true;
     this._listViewImages.GridLines     = true;
     this._listViewImages.Location      = new System.Drawing.Point(8, 96);
     this._listViewImages.Name          = "_listViewImages";
     this._listViewImages.Size          = new System.Drawing.Size(288, 288);
     this._listViewImages.TabIndex      = 14;
     this._listViewImages.UseCompatibleStateImageBehavior = false;
     this._listViewImages.View = System.Windows.Forms.View.Details;
     //
     // FileName
     //
     this.FileName.Text  = "FileName";
     this.FileName.Width = 104;
     //
     // FilePath
     //
     this.FilePath.Text  = "Path";
     this.FilePath.Width = 174;
     //
     // _listViewScripts
     //
     this._listViewScripts.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.ScriptFileName
     });
     this._listViewScripts.FullRowSelect = true;
     this._listViewScripts.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.None;
     this._listViewScripts.Location      = new System.Drawing.Point(8, 40);
     this._listViewScripts.Name          = "_listViewScripts";
     this._listViewScripts.Size          = new System.Drawing.Size(288, 48);
     this._listViewScripts.TabIndex      = 15;
     this._listViewScripts.UseCompatibleStateImageBehavior = false;
     this._listViewScripts.View = System.Windows.Forms.View.Details;
     this._listViewScripts.SelectedIndexChanged += new System.EventHandler(this._listViewScripts_SelectedIndexChanged);
     //
     // ScriptFileName
     //
     this.ScriptFileName.Text  = "ScriptFileName";
     this.ScriptFileName.Width = 260;
     //
     // buttonReg
     //
     this.buttonReg.Location = new System.Drawing.Point(8, 392);
     this.buttonReg.Name     = "buttonReg";
     this.buttonReg.Size     = new System.Drawing.Size(75, 23);
     this.buttonReg.TabIndex = 16;
     this.buttonReg.Text     = "Load Reg";
     this.buttonReg.Click   += new System.EventHandler(this.buttonReg_Click);
     //
     // setReg
     //
     this.setReg.Location = new System.Drawing.Point(88, 392);
     this.setReg.Name     = "setReg";
     this.setReg.Size     = new System.Drawing.Size(75, 23);
     this.setReg.TabIndex = 17;
     this.setReg.Text     = "Set Reg";
     this.setReg.Click   += new System.EventHandler(this.setReg_Click);
     //
     // _txtAddReg
     //
     this._txtAddReg.Location = new System.Drawing.Point(176, 392);
     this._txtAddReg.Name     = "_txtAddReg";
     this._txtAddReg.Size     = new System.Drawing.Size(440, 20);
     this._txtAddReg.TabIndex = 18;
     this._txtAddReg.Text     = "filename 1";
     //
     // _buttonAddReg
     //
     this._buttonAddReg.Location = new System.Drawing.Point(624, 392);
     this._buttonAddReg.Name     = "_buttonAddReg";
     this._buttonAddReg.Size     = new System.Drawing.Size(32, 23);
     this._buttonAddReg.TabIndex = 19;
     this._buttonAddReg.Text     = "Add";
     this._buttonAddReg.Click   += new System.EventHandler(this._buttonAddReg_Click);
     //
     // _txtFullPath
     //
     this._txtFullPath.Location = new System.Drawing.Point(8, 424);
     this._txtFullPath.Name     = "_txtFullPath";
     this._txtFullPath.Size     = new System.Drawing.Size(456, 20);
     this._txtFullPath.TabIndex = 20;
     this._txtFullPath.Text     = "d:\\Documents and Settings\\Stan Dewan\\My Documents\\Work\\New Century\\Code\\LIMS_PR\\N" +
                                  "CEN.LIMS\\NCEN.LIMS.BusinessLayerNew\\NCEN.LIMS.BusinessLayer.Journals\\Something.v" +
                                  "b";
     //
     // _cboLength
     //
     this._cboLength.Increment = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this._cboLength.Location = new System.Drawing.Point(472, 424);
     this._cboLength.Maximum  = new decimal(new int[] {
         200,
         0,
         0,
         0
     });
     this._cboLength.Name     = "_cboLength";
     this._cboLength.Size     = new System.Drawing.Size(48, 20);
     this._cboLength.TabIndex = 21;
     this._cboLength.Value    = new decimal(new int[] {
         30,
         0,
         0,
         0
     });
     //
     // _btnGo
     //
     this._btnGo.Location = new System.Drawing.Point(528, 424);
     this._btnGo.Name     = "_btnGo";
     this._btnGo.Size     = new System.Drawing.Size(32, 23);
     this._btnGo.TabIndex = 22;
     this._btnGo.Text     = "Go";
     this._btnGo.Click   += new System.EventHandler(this._btnGo_Click);
     //
     // button7
     //
     this.button7.Location = new System.Drawing.Point(581, 424);
     this.button7.Name     = "button7";
     this.button7.Size     = new System.Drawing.Size(75, 23);
     this.button7.TabIndex = 23;
     this.button7.Text     = "String Constants";
     this.button7.UseVisualStyleBackColor = true;
     this.button7.Click += new System.EventHandler(this.button7_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(664, 454);
     this.Controls.Add(this.button7);
     this.Controls.Add(this._btnGo);
     this.Controls.Add(this._cboLength);
     this.Controls.Add(this._txtFullPath);
     this.Controls.Add(this._txtAddReg);
     this.Controls.Add(this._textBoxScaleFactor);
     this.Controls.Add(this._buttonAddReg);
     this.Controls.Add(this.setReg);
     this.Controls.Add(this.buttonReg);
     this.Controls.Add(this._listViewScripts);
     this.Controls.Add(this._listViewImages);
     this.Controls.Add(this._listBoxScripts);
     this.Controls.Add(this.button6);
     this.Controls.Add(this.button5);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button3);
     this.Controls.Add(this._buttonPerf);
     this.Controls.Add(this.button2);
     this.Controls.Add(this._checkBoxFullScreen);
     this.Controls.Add(this._pictureBoxPreview);
     this.Controls.Add(this._comboBoxStretchType);
     this.Controls.Add(this.button1);
     this.Name      = "Form1";
     this.Text      = "Form1";
     this.Click    += new System.EventHandler(this.OnClick);
     this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.OnKeyPress);
     this.KeyUp    += new System.Windows.Forms.KeyEventHandler(this.OnKeyUp);
     this.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.OnKeyDown);
     this.Load     += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this._pictureBoxPreview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._cboLength)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #54
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1      = new System.Windows.Forms.Label();
     this.txtJid      = new System.Windows.Forms.TextBox();
     this.cmdLogin    = new System.Windows.Forms.Button();
     this.cmdCancel   = new System.Windows.Forms.Button();
     this.label2      = new System.Windows.Forms.Label();
     this.txtPassword = new System.Windows.Forms.TextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.numPriority = new System.Windows.Forms.NumericUpDown();
     this.label4      = new System.Windows.Forms.Label();
     this.label5      = new System.Windows.Forms.Label();
     this.txtResource = new System.Windows.Forms.TextBox();
     this.label6      = new System.Windows.Forms.Label();
     this.txtPort     = new System.Windows.Forms.TextBox();
     this.chkSSL      = new System.Windows.Forms.CheckBox();
     this.chkRegister = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.numPriority)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(16, 15);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(144, 29);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Jabber ID:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtJid
     //
     this.txtJid.Location = new System.Drawing.Point(160, 15);
     this.txtJid.Name     = "txtJid";
     this.txtJid.Size     = new System.Drawing.Size(336, 31);
     this.txtJid.TabIndex = 0;
     this.txtJid.Text     = "*****@*****.**";
     //
     // cmdLogin
     //
     this.cmdLogin.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmdLogin.Location  = new System.Drawing.Point(278, 393);
     this.cmdLogin.Name      = "cmdLogin";
     this.cmdLogin.Size      = new System.Drawing.Size(176, 45);
     this.cmdLogin.TabIndex  = 6;
     this.cmdLogin.Text      = "Login";
     this.cmdLogin.Click    += new System.EventHandler(this.cmdLogin_Click);
     //
     // cmdCancel
     //
     this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.cmdCancel.Location  = new System.Drawing.Point(64, 393);
     this.cmdCancel.Name      = "cmdCancel";
     this.cmdCancel.Size      = new System.Drawing.Size(176, 45);
     this.cmdCancel.TabIndex  = 7;
     this.cmdCancel.Text      = "Cancel";
     this.cmdCancel.Click    += new System.EventHandler(this.cmdCancel_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(160, 59);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(352, 30);
     this.label2.TabIndex = 4;
     this.label2.Text     = "*****@*****.**";
     //
     // txtPassword
     //
     this.txtPassword.Location     = new System.Drawing.Point(160, 103);
     this.txtPassword.Name         = "txtPassword";
     this.txtPassword.PasswordChar = '*';
     this.txtPassword.Size         = new System.Drawing.Size(336, 31);
     this.txtPassword.TabIndex     = 1;
     this.txtPassword.Text         = "127.0.0.1";
     //
     // label3
     //
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(16, 103);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(128, 30);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Password:"******"numPriority";
     this.numPriority.Size     = new System.Drawing.Size(80, 31);
     this.numPriority.TabIndex = 2;
     this.numPriority.Value    = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(16, 162);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(112, 30);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Priority:";
     //
     // label5
     //
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(16, 222);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(128, 29);
     this.label5.TabIndex = 9;
     this.label5.Text     = "Resource:";
     //
     // txtResource
     //
     this.txtResource.Location = new System.Drawing.Point(160, 222);
     this.txtResource.Name     = "txtResource";
     this.txtResource.Size     = new System.Drawing.Size(336, 31);
     this.txtResource.TabIndex = 4;
     this.txtResource.Text     = "MiniClient";
     //
     // label6
     //
     this.label6.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(272, 162);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(64, 30);
     this.label6.TabIndex = 10;
     this.label6.Text     = "Port:";
     //
     // txtPort
     //
     this.txtPort.Location  = new System.Drawing.Point(352, 162);
     this.txtPort.MaxLength = 5;
     this.txtPort.Name      = "txtPort";
     this.txtPort.Size      = new System.Drawing.Size(144, 31);
     this.txtPort.TabIndex  = 3;
     this.txtPort.Text      = "5222";
     //
     // chkSSL
     //
     this.chkSSL.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.chkSSL.Location        = new System.Drawing.Point(160, 281);
     this.chkSSL.Name            = "chkSSL";
     this.chkSSL.Size            = new System.Drawing.Size(320, 29);
     this.chkSSL.TabIndex        = 5;
     this.chkSSL.Text            = "use SSL (old style SSL)";
     this.chkSSL.CheckedChanged += new System.EventHandler(this.chkSSL_CheckedChanged);
     //
     // chkRegister
     //
     this.chkRegister.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.chkRegister.Location  = new System.Drawing.Point(160, 321);
     this.chkRegister.Name      = "chkRegister";
     this.chkRegister.Size      = new System.Drawing.Size(320, 30);
     this.chkRegister.TabIndex  = 11;
     this.chkRegister.Text      = "register new Account";
     //
     // frmLogin
     //
     this.AcceptButton      = this.cmdLogin;
     this.AutoScaleBaseSize = new System.Drawing.Size(10, 24);
     this.ClientSize        = new System.Drawing.Size(623, 702);
     this.Controls.Add(this.chkRegister);
     this.Controls.Add(this.txtPort);
     this.Controls.Add(this.txtResource);
     this.Controls.Add(this.txtPassword);
     this.Controls.Add(this.txtJid);
     this.Controls.Add(this.chkSSL);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.numPriority);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.cmdCancel);
     this.Controls.Add(this.cmdLogin);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "frmLogin";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Login form";
     ((System.ComponentModel.ISupportInitialize)(this.numPriority)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.StartTimeLB          = new System.Windows.Forms.Label();
     this.EndTimeLB            = new System.Windows.Forms.Label();
     this.MaxValuesLB          = new System.Windows.Forms.Label();
     this.IncludeBoundsLB      = new System.Windows.Forms.Label();
     this.MaxValuesCTRL        = new System.Windows.Forms.NumericUpDown();
     this.IncludeBoundsCB      = new System.Windows.Forms.CheckBox();
     this.StartTimeSpecifiedCB = new System.Windows.Forms.CheckBox();
     this.EndTimeSpecifiedCB   = new System.Windows.Forms.CheckBox();
     this.StartTimeCTRL        = new OpcClientSdk.Hda.SampleClient.TimeCtrl();
     this.EndTimeCTRL          = new OpcClientSdk.Hda.SampleClient.TimeCtrl();
     this.AggregateLB          = new System.Windows.Forms.Label();
     this.AggregateCB          = new System.Windows.Forms.ComboBox();
     this.NameLB = new System.Windows.Forms.Label();
     this.NameTB = new System.Windows.Forms.TextBox();
     this.ResampleIntervalCTRL    = new System.Windows.Forms.NumericUpDown();
     this.ResampleIntervalLB      = new System.Windows.Forms.Label();
     this.AggregateSpecifiedCB    = new System.Windows.Forms.CheckBox();
     this.UpdateIntervalCTRL      = new System.Windows.Forms.NumericUpDown();
     this.UpdateIntervalLB        = new System.Windows.Forms.Label();
     this.PlaybackDurationCTRL    = new System.Windows.Forms.NumericUpDown();
     this.PlaybackDurationLB      = new System.Windows.Forms.Label();
     this.UpdateIntervalUnitsLB   = new System.Windows.Forms.Label();
     this.PlaybackDurationUnitsLB = new System.Windows.Forms.Label();
     this.ResampleIntervalUnitsLB = new System.Windows.Forms.Label();
     this.PlaybackIntervalUnitsLB = new System.Windows.Forms.Label();
     this.PlaybackIntervalCTRL    = new System.Windows.Forms.NumericUpDown();
     this.PlaybackIntervalLB      = new System.Windows.Forms.Label();
     this.PlaybackPN     = new System.Windows.Forms.Panel();
     this.SubscribePN    = new System.Windows.Forms.Panel();
     this.ProcessedPN    = new System.Windows.Forms.Panel();
     this.RawPN          = new System.Windows.Forms.Panel();
     this.MaxValuesPN    = new System.Windows.Forms.Panel();
     this.EndTimePN      = new System.Windows.Forms.Panel();
     this.NamePN         = new System.Windows.Forms.Panel();
     this.AggregatePN    = new System.Windows.Forms.Panel();
     this.StartTimePN    = new System.Windows.Forms.Panel();
     this.TimestampsPN   = new System.Windows.Forms.Panel();
     this.TimestampsCTRL = new OpcClientSdk.Hda.SampleClient.ItemTimesCtrl();
     ((System.ComponentModel.ISupportInitialize)(this.MaxValuesCTRL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ResampleIntervalCTRL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UpdateIntervalCTRL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlaybackDurationCTRL)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlaybackIntervalCTRL)).BeginInit();
     this.PlaybackPN.SuspendLayout();
     this.SubscribePN.SuspendLayout();
     this.ProcessedPN.SuspendLayout();
     this.RawPN.SuspendLayout();
     this.MaxValuesPN.SuspendLayout();
     this.EndTimePN.SuspendLayout();
     this.NamePN.SuspendLayout();
     this.AggregatePN.SuspendLayout();
     this.StartTimePN.SuspendLayout();
     this.TimestampsPN.SuspendLayout();
     this.SuspendLayout();
     //
     // StartTimeLB
     //
     this.StartTimeLB.Location  = new System.Drawing.Point(0, 0);
     this.StartTimeLB.Name      = "StartTimeLB";
     this.StartTimeLB.Size      = new System.Drawing.Size(96, 23);
     this.StartTimeLB.TabIndex  = 0;
     this.StartTimeLB.Text      = "Start Time";
     this.StartTimeLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // EndTimeLB
     //
     this.EndTimeLB.Location  = new System.Drawing.Point(0, 0);
     this.EndTimeLB.Name      = "EndTimeLB";
     this.EndTimeLB.Size      = new System.Drawing.Size(96, 23);
     this.EndTimeLB.TabIndex  = 1;
     this.EndTimeLB.Text      = "End Time";
     this.EndTimeLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MaxValuesLB
     //
     this.MaxValuesLB.Location  = new System.Drawing.Point(0, 0);
     this.MaxValuesLB.Name      = "MaxValuesLB";
     this.MaxValuesLB.Size      = new System.Drawing.Size(96, 23);
     this.MaxValuesLB.TabIndex  = 2;
     this.MaxValuesLB.Text      = "Max Values";
     this.MaxValuesLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // IncludeBoundsLB
     //
     this.IncludeBoundsLB.Location  = new System.Drawing.Point(0, 0);
     this.IncludeBoundsLB.Name      = "IncludeBoundsLB";
     this.IncludeBoundsLB.Size      = new System.Drawing.Size(96, 23);
     this.IncludeBoundsLB.TabIndex  = 3;
     this.IncludeBoundsLB.Text      = "Include Bounds";
     this.IncludeBoundsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // MaxValuesCTRL
     //
     this.MaxValuesCTRL.Location = new System.Drawing.Point(96, 1);
     this.MaxValuesCTRL.Maximum  = new System.Decimal(new int[] {
         2147483647,
         0,
         0,
         0
     });
     this.MaxValuesCTRL.Name     = "MaxValuesCTRL";
     this.MaxValuesCTRL.Size     = new System.Drawing.Size(72, 20);
     this.MaxValuesCTRL.TabIndex = 6;
     //
     // IncludeBoundsCB
     //
     this.IncludeBoundsCB.Location = new System.Drawing.Point(96, -1);
     this.IncludeBoundsCB.Name     = "IncludeBoundsCB";
     this.IncludeBoundsCB.Size     = new System.Drawing.Size(16, 24);
     this.IncludeBoundsCB.TabIndex = 7;
     //
     // StartTimeSpecifiedCB
     //
     this.StartTimeSpecifiedCB.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.StartTimeSpecifiedCB.Location        = new System.Drawing.Point(300, -1);
     this.StartTimeSpecifiedCB.Name            = "StartTimeSpecifiedCB";
     this.StartTimeSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.StartTimeSpecifiedCB.TabIndex        = 8;
     this.StartTimeSpecifiedCB.CheckedChanged += new System.EventHandler(this.TimeSpecifiedCB_CheckedChanged);
     //
     // EndTimeSpecifiedCB
     //
     this.EndTimeSpecifiedCB.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.EndTimeSpecifiedCB.Location        = new System.Drawing.Point(300, -1);
     this.EndTimeSpecifiedCB.Name            = "EndTimeSpecifiedCB";
     this.EndTimeSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.EndTimeSpecifiedCB.TabIndex        = 9;
     this.EndTimeSpecifiedCB.CheckedChanged += new System.EventHandler(this.TimeSpecifiedCB_CheckedChanged);
     //
     // StartTimeCTRL
     //
     this.StartTimeCTRL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.StartTimeCTRL.Enabled  = false;
     this.StartTimeCTRL.Location = new System.Drawing.Point(96, 0);
     this.StartTimeCTRL.Name     = "StartTimeCTRL";
     this.StartTimeCTRL.Size     = new System.Drawing.Size(200, 24);
     this.StartTimeCTRL.TabIndex = 10;
     //
     // EndTimeCTRL
     //
     this.EndTimeCTRL.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.EndTimeCTRL.Enabled  = false;
     this.EndTimeCTRL.Location = new System.Drawing.Point(96, 0);
     this.EndTimeCTRL.Name     = "EndTimeCTRL";
     this.EndTimeCTRL.Size     = new System.Drawing.Size(200, 24);
     this.EndTimeCTRL.TabIndex = 11;
     //
     // AggregateLB
     //
     this.AggregateLB.Location  = new System.Drawing.Point(0, 0);
     this.AggregateLB.Name      = "AggregateLB";
     this.AggregateLB.Size      = new System.Drawing.Size(96, 23);
     this.AggregateLB.TabIndex  = 12;
     this.AggregateLB.Text      = "Aggregate";
     this.AggregateLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AggregateCB
     //
     this.AggregateCB.Enabled  = false;
     this.AggregateCB.Location = new System.Drawing.Point(96, 0);
     this.AggregateCB.Name     = "AggregateCB";
     this.AggregateCB.Size     = new System.Drawing.Size(204, 21);
     this.AggregateCB.TabIndex = 13;
     //
     // NameLB
     //
     this.NameLB.Location  = new System.Drawing.Point(0, 0);
     this.NameLB.Name      = "NameLB";
     this.NameLB.Size      = new System.Drawing.Size(96, 23);
     this.NameLB.TabIndex  = 14;
     this.NameLB.Text      = "Name";
     this.NameLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // NameTB
     //
     this.NameTB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.NameTB.Location = new System.Drawing.Point(96, 0);
     this.NameTB.Name     = "NameTB";
     this.NameTB.Size     = new System.Drawing.Size(216, 20);
     this.NameTB.TabIndex = 15;
     this.NameTB.Text     = "";
     //
     // ResampleIntervalCTRL
     //
     this.ResampleIntervalCTRL.DecimalPlaces = 6;
     this.ResampleIntervalCTRL.Enabled       = false;
     this.ResampleIntervalCTRL.Location      = new System.Drawing.Point(96, 1);
     this.ResampleIntervalCTRL.Maximum       = new System.Decimal(new int[] {
         -1,
         2147483647,
         0,
         0
     });
     this.ResampleIntervalCTRL.Name     = "ResampleIntervalCTRL";
     this.ResampleIntervalCTRL.TabIndex = 17;
     //
     // ResampleIntervalLB
     //
     this.ResampleIntervalLB.Location  = new System.Drawing.Point(0, 0);
     this.ResampleIntervalLB.Name      = "ResampleIntervalLB";
     this.ResampleIntervalLB.Size      = new System.Drawing.Size(96, 23);
     this.ResampleIntervalLB.TabIndex  = 16;
     this.ResampleIntervalLB.Text      = "Resample Interval";
     this.ResampleIntervalLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AggregateSpecifiedCB
     //
     this.AggregateSpecifiedCB.Anchor          = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.AggregateSpecifiedCB.Location        = new System.Drawing.Point(300, -1);
     this.AggregateSpecifiedCB.Name            = "AggregateSpecifiedCB";
     this.AggregateSpecifiedCB.Size            = new System.Drawing.Size(16, 24);
     this.AggregateSpecifiedCB.TabIndex        = 18;
     this.AggregateSpecifiedCB.CheckedChanged += new System.EventHandler(this.AggregateSpecifiedCB_CheckedChanged);
     //
     // UpdateIntervalCTRL
     //
     this.UpdateIntervalCTRL.DecimalPlaces = 6;
     this.UpdateIntervalCTRL.Location      = new System.Drawing.Point(96, 1);
     this.UpdateIntervalCTRL.Maximum       = new System.Decimal(new int[] {
         -1,
         2147483647,
         0,
         0
     });
     this.UpdateIntervalCTRL.Name     = "UpdateIntervalCTRL";
     this.UpdateIntervalCTRL.TabIndex = 20;
     //
     // UpdateIntervalLB
     //
     this.UpdateIntervalLB.Location  = new System.Drawing.Point(0, 0);
     this.UpdateIntervalLB.Name      = "UpdateIntervalLB";
     this.UpdateIntervalLB.Size      = new System.Drawing.Size(96, 23);
     this.UpdateIntervalLB.TabIndex  = 19;
     this.UpdateIntervalLB.Text      = "Update Interval";
     this.UpdateIntervalLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PlaybackDurationCTRL
     //
     this.PlaybackDurationCTRL.DecimalPlaces = 6;
     this.PlaybackDurationCTRL.Location      = new System.Drawing.Point(96, 25);
     this.PlaybackDurationCTRL.Maximum       = new System.Decimal(new int[] {
         -1,
         2147483647,
         0,
         0
     });
     this.PlaybackDurationCTRL.Name     = "PlaybackDurationCTRL";
     this.PlaybackDurationCTRL.TabIndex = 22;
     //
     // PlaybackDurationLB
     //
     this.PlaybackDurationLB.Location  = new System.Drawing.Point(0, 24);
     this.PlaybackDurationLB.Name      = "PlaybackDurationLB";
     this.PlaybackDurationLB.Size      = new System.Drawing.Size(96, 23);
     this.PlaybackDurationLB.TabIndex  = 21;
     this.PlaybackDurationLB.Text      = "Playback Duration";
     this.PlaybackDurationLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // UpdateIntervalUnitsLB
     //
     this.UpdateIntervalUnitsLB.Location  = new System.Drawing.Point(220, 0);
     this.UpdateIntervalUnitsLB.Name      = "UpdateIntervalUnitsLB";
     this.UpdateIntervalUnitsLB.Size      = new System.Drawing.Size(52, 23);
     this.UpdateIntervalUnitsLB.TabIndex  = 23;
     this.UpdateIntervalUnitsLB.Text      = "Seconds";
     this.UpdateIntervalUnitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PlaybackDurationUnitsLB
     //
     this.PlaybackDurationUnitsLB.Location  = new System.Drawing.Point(220, 24);
     this.PlaybackDurationUnitsLB.Name      = "PlaybackDurationUnitsLB";
     this.PlaybackDurationUnitsLB.Size      = new System.Drawing.Size(52, 23);
     this.PlaybackDurationUnitsLB.TabIndex  = 24;
     this.PlaybackDurationUnitsLB.Text      = "Seconds";
     this.PlaybackDurationUnitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ResampleIntervalUnitsLB
     //
     this.ResampleIntervalUnitsLB.Location  = new System.Drawing.Point(220, 0);
     this.ResampleIntervalUnitsLB.Name      = "ResampleIntervalUnitsLB";
     this.ResampleIntervalUnitsLB.Size      = new System.Drawing.Size(52, 23);
     this.ResampleIntervalUnitsLB.TabIndex  = 25;
     this.ResampleIntervalUnitsLB.Text      = "Seconds";
     this.ResampleIntervalUnitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PlaybackIntervalUnitsLB
     //
     this.PlaybackIntervalUnitsLB.Location  = new System.Drawing.Point(220, 0);
     this.PlaybackIntervalUnitsLB.Name      = "PlaybackIntervalUnitsLB";
     this.PlaybackIntervalUnitsLB.Size      = new System.Drawing.Size(52, 23);
     this.PlaybackIntervalUnitsLB.TabIndex  = 28;
     this.PlaybackIntervalUnitsLB.Text      = "Seconds";
     this.PlaybackIntervalUnitsLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PlaybackIntervalCTRL
     //
     this.PlaybackIntervalCTRL.DecimalPlaces = 6;
     this.PlaybackIntervalCTRL.Location      = new System.Drawing.Point(96, 1);
     this.PlaybackIntervalCTRL.Maximum       = new System.Decimal(new int[] {
         -1,
         2147483647,
         0,
         0
     });
     this.PlaybackIntervalCTRL.Name     = "PlaybackIntervalCTRL";
     this.PlaybackIntervalCTRL.TabIndex = 27;
     //
     // PlaybackIntervalLB
     //
     this.PlaybackIntervalLB.Location  = new System.Drawing.Point(0, 0);
     this.PlaybackIntervalLB.Name      = "PlaybackIntervalLB";
     this.PlaybackIntervalLB.Size      = new System.Drawing.Size(96, 23);
     this.PlaybackIntervalLB.TabIndex  = 26;
     this.PlaybackIntervalLB.Text      = "Playback Interval";
     this.PlaybackIntervalLB.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // PlaybackPN
     //
     this.PlaybackPN.Controls.Add(this.PlaybackDurationLB);
     this.PlaybackPN.Controls.Add(this.PlaybackDurationCTRL);
     this.PlaybackPN.Controls.Add(this.PlaybackDurationUnitsLB);
     this.PlaybackPN.Controls.Add(this.PlaybackIntervalUnitsLB);
     this.PlaybackPN.Controls.Add(this.PlaybackIntervalCTRL);
     this.PlaybackPN.Controls.Add(this.PlaybackIntervalLB);
     this.PlaybackPN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.PlaybackPN.Location = new System.Drawing.Point(0, 192);
     this.PlaybackPN.Name     = "PlaybackPN";
     this.PlaybackPN.Size     = new System.Drawing.Size(316, 48);
     this.PlaybackPN.TabIndex = 29;
     //
     // SubscribePN
     //
     this.SubscribePN.Controls.Add(this.UpdateIntervalLB);
     this.SubscribePN.Controls.Add(this.UpdateIntervalUnitsLB);
     this.SubscribePN.Controls.Add(this.UpdateIntervalCTRL);
     this.SubscribePN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.SubscribePN.Location = new System.Drawing.Point(0, 168);
     this.SubscribePN.Name     = "SubscribePN";
     this.SubscribePN.Size     = new System.Drawing.Size(316, 24);
     this.SubscribePN.TabIndex = 30;
     //
     // ProcessedPN
     //
     this.ProcessedPN.Controls.Add(this.ResampleIntervalLB);
     this.ProcessedPN.Controls.Add(this.ResampleIntervalCTRL);
     this.ProcessedPN.Controls.Add(this.ResampleIntervalUnitsLB);
     this.ProcessedPN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.ProcessedPN.Location = new System.Drawing.Point(0, 144);
     this.ProcessedPN.Name     = "ProcessedPN";
     this.ProcessedPN.Size     = new System.Drawing.Size(316, 24);
     this.ProcessedPN.TabIndex = 31;
     //
     // RawPN
     //
     this.RawPN.Controls.Add(this.IncludeBoundsCB);
     this.RawPN.Controls.Add(this.IncludeBoundsLB);
     this.RawPN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.RawPN.Location = new System.Drawing.Point(0, 120);
     this.RawPN.Name     = "RawPN";
     this.RawPN.Size     = new System.Drawing.Size(316, 24);
     this.RawPN.TabIndex = 32;
     //
     // MaxValuesPN
     //
     this.MaxValuesPN.Controls.Add(this.MaxValuesCTRL);
     this.MaxValuesPN.Controls.Add(this.MaxValuesLB);
     this.MaxValuesPN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.MaxValuesPN.Location = new System.Drawing.Point(0, 96);
     this.MaxValuesPN.Name     = "MaxValuesPN";
     this.MaxValuesPN.Size     = new System.Drawing.Size(316, 24);
     this.MaxValuesPN.TabIndex = 33;
     //
     // EndTimePN
     //
     this.EndTimePN.Controls.Add(this.EndTimeSpecifiedCB);
     this.EndTimePN.Controls.Add(this.EndTimeLB);
     this.EndTimePN.Controls.Add(this.EndTimeCTRL);
     this.EndTimePN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.EndTimePN.Location = new System.Drawing.Point(0, 72);
     this.EndTimePN.Name     = "EndTimePN";
     this.EndTimePN.Size     = new System.Drawing.Size(316, 24);
     this.EndTimePN.TabIndex = 34;
     //
     // NamePN
     //
     this.NamePN.Controls.Add(this.NameLB);
     this.NamePN.Controls.Add(this.NameTB);
     this.NamePN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.NamePN.Location = new System.Drawing.Point(0, 0);
     this.NamePN.Name     = "NamePN";
     this.NamePN.Size     = new System.Drawing.Size(316, 24);
     this.NamePN.TabIndex = 36;
     //
     // AggregatePN
     //
     this.AggregatePN.Controls.Add(this.AggregateLB);
     this.AggregatePN.Controls.Add(this.AggregateCB);
     this.AggregatePN.Controls.Add(this.AggregateSpecifiedCB);
     this.AggregatePN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.AggregatePN.Location = new System.Drawing.Point(0, 24);
     this.AggregatePN.Name     = "AggregatePN";
     this.AggregatePN.Size     = new System.Drawing.Size(316, 24);
     this.AggregatePN.TabIndex = 37;
     //
     // StartTimePN
     //
     this.StartTimePN.Controls.Add(this.StartTimeSpecifiedCB);
     this.StartTimePN.Controls.Add(this.StartTimeCTRL);
     this.StartTimePN.Controls.Add(this.StartTimeLB);
     this.StartTimePN.Dock     = System.Windows.Forms.DockStyle.Top;
     this.StartTimePN.Location = new System.Drawing.Point(0, 48);
     this.StartTimePN.Name     = "StartTimePN";
     this.StartTimePN.Size     = new System.Drawing.Size(316, 24);
     this.StartTimePN.TabIndex = 38;
     //
     // TimestampsPN
     //
     this.TimestampsPN.Controls.Add(this.TimestampsCTRL);
     this.TimestampsPN.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.TimestampsPN.Location = new System.Drawing.Point(0, 240);
     this.TimestampsPN.Name     = "TimestampsPN";
     this.TimestampsPN.Size     = new System.Drawing.Size(316, 256);
     this.TimestampsPN.TabIndex = 39;
     //
     // TimestampsCTRL
     //
     this.TimestampsCTRL.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.TimestampsCTRL.Location = new System.Drawing.Point(0, 0);
     this.TimestampsCTRL.Name     = "TimestampsCTRL";
     this.TimestampsCTRL.Size     = new System.Drawing.Size(316, 256);
     this.TimestampsCTRL.TabIndex = 0;
     //
     // TrendEditCtrl
     //
     this.Controls.Add(this.TimestampsPN);
     this.Controls.Add(this.PlaybackPN);
     this.Controls.Add(this.SubscribePN);
     this.Controls.Add(this.ProcessedPN);
     this.Controls.Add(this.RawPN);
     this.Controls.Add(this.MaxValuesPN);
     this.Controls.Add(this.EndTimePN);
     this.Controls.Add(this.StartTimePN);
     this.Controls.Add(this.AggregatePN);
     this.Controls.Add(this.NamePN);
     this.Name = "TrendEditCtrl";
     this.Size = new System.Drawing.Size(316, 496);
     ((System.ComponentModel.ISupportInitialize)(this.MaxValuesCTRL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ResampleIntervalCTRL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.UpdateIntervalCTRL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlaybackDurationCTRL)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PlaybackIntervalCTRL)).EndInit();
     this.PlaybackPN.ResumeLayout(false);
     this.SubscribePN.ResumeLayout(false);
     this.ProcessedPN.ResumeLayout(false);
     this.RawPN.ResumeLayout(false);
     this.MaxValuesPN.ResumeLayout(false);
     this.EndTimePN.ResumeLayout(false);
     this.NamePN.ResumeLayout(false);
     this.AggregatePN.ResumeLayout(false);
     this.StartTimePN.ResumeLayout(false);
     this.TimestampsPN.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components       = new System.ComponentModel.Container();
     this.statusBar1       = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1  = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2  = new System.Windows.Forms.StatusBarPanel();
     this.progressBar1     = new System.Windows.Forms.ProgressBar();
     this.marqueeProvider1 = new EnoughPI.Components.MarqueeProvider(this.components);
     this.panel2           = new System.Windows.Forms.Panel();
     this.btnCalculate     = new System.Windows.Forms.Button();
     this.numericUpDown1   = new System.Windows.Forms.NumericUpDown();
     this.label1           = new System.Windows.Forms.Label();
     this.mainMenu1        = new System.Windows.Forms.MainMenu();
     this.mnuFile          = new System.Windows.Forms.MenuItem();
     this.mnuFileExit      = new System.Windows.Forms.MenuItem();
     this.panel1           = new System.Windows.Forms.Panel();
     this.textBox1         = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.marqueeProvider1)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 388);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(292, 22);
     this.statusBar1.TabIndex   = 0;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Width = 150;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel2.Width    = 126;
     //
     // progressBar1
     //
     this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.marqueeProvider1.SetAnimationWait(this.progressBar1, 50);
     this.marqueeProvider1.SetIsMarquee(this.progressBar1, true);
     this.progressBar1.Location = new System.Drawing.Point(157, 393);
     this.progressBar1.Name     = "progressBar1";
     this.progressBar1.Size     = new System.Drawing.Size(0, 14);
     this.progressBar1.TabIndex = 1;
     this.progressBar1.Visible  = false;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.SystemColors.InactiveCaption;
     this.panel2.Controls.Add(this.btnCalculate);
     this.panel2.Controls.Add(this.numericUpDown1);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(292, 56);
     this.panel2.TabIndex = 2;
     //
     // btnCalculate
     //
     this.btnCalculate.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCalculate.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnCalculate.Location  = new System.Drawing.Point(192, 11);
     this.btnCalculate.Name      = "btnCalculate";
     this.btnCalculate.Size      = new System.Drawing.Size(88, 32);
     this.btnCalculate.TabIndex  = 2;
     this.btnCalculate.Text      = "Calculate";
     this.btnCalculate.Click    += new System.EventHandler(this.btnCalculate_Click);
     //
     // numericUpDown1
     //
     this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.numericUpDown1.Location = new System.Drawing.Point(104, 14);
     this.numericUpDown1.Maximum  = new System.Decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(72, 26);
     this.numericUpDown1.TabIndex = 1;
     this.numericUpDown1.Value    = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 0;
     this.label1.Text     = "Digits of PI";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFile
     });
     //
     // mnuFile
     //
     this.mnuFile.Index = 0;
     this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuFileExit
     });
     this.mnuFile.Text = "&File";
     //
     // mnuFileExit
     //
     this.mnuFileExit.Index  = 0;
     this.mnuFileExit.Text   = "E&xit";
     this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 388);
     this.panel1.TabIndex = 3;
     //
     // textBox1
     //
     this.textBox1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.textBox1.Location   = new System.Drawing.Point(0, 56);
     this.textBox1.Multiline  = true;
     this.textBox1.Name       = "textBox1";
     this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox1.Size       = new System.Drawing.Size(292, 332);
     this.textBox1.TabIndex   = 3;
     this.textBox1.Text       = "3";
     //
     // MainForm
     //
     this.AcceptButton      = this.btnCalculate;
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.ClientSize        = new System.Drawing.Size(292, 410);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.progressBar1);
     this.Controls.Add(this.statusBar1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Menu = this.mainMenu1;
     this.Name = "MainForm";
     this.Text = "Never Enough PI";
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.marqueeProvider1)).EndInit();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.dataGrid1      = new System.Windows.Forms.DataGrid();
     this.panel1         = new System.Windows.Forms.Panel();
     this.CountB         = new System.Windows.Forms.Label();
     this.CountA         = new System.Windows.Forms.Label();
     this.label15        = new System.Windows.Forms.Label();
     this.TotalB         = new System.Windows.Forms.Label();
     this.TotalA         = new System.Windows.Forms.Label();
     this.label12        = new System.Windows.Forms.Label();
     this.MinB           = new System.Windows.Forms.Label();
     this.MinA           = new System.Windows.Forms.Label();
     this.label9         = new System.Windows.Forms.Label();
     this.MaxB           = new System.Windows.Forms.Label();
     this.MaxA           = new System.Windows.Forms.Label();
     this.label6         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.label4         = new System.Windows.Forms.Label();
     this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
     this.NewData        = new System.Windows.Forms.Button();
     this.panel2         = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.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.dataGrid1.DataMember          = "";
     this.dataGrid1.HeaderForeColor     = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location            = new System.Drawing.Point(8, 16);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.Size                = new System.Drawing.Size(208, 384);
     this.dataGrid1.TabIndex            = 0;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // panel1
     //
     this.panel1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.SystemColors.ControlLight;
     this.panel1.Controls.Add(this.CountB);
     this.panel1.Controls.Add(this.CountA);
     this.panel1.Controls.Add(this.label15);
     this.panel1.Controls.Add(this.TotalB);
     this.panel1.Controls.Add(this.TotalA);
     this.panel1.Controls.Add(this.label12);
     this.panel1.Controls.Add(this.MinB);
     this.panel1.Controls.Add(this.MinA);
     this.panel1.Controls.Add(this.label9);
     this.panel1.Controls.Add(this.MaxB);
     this.panel1.Controls.Add(this.MaxA);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(224, 128);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(296, 80);
     this.panel1.TabIndex = 1;
     //
     // CountB
     //
     this.CountB.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.CountB.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CountB.Location  = new System.Drawing.Point(240, 56);
     this.CountB.Name      = "CountB";
     this.CountB.Size      = new System.Drawing.Size(56, 23);
     this.CountB.TabIndex  = 14;
     this.CountB.Text      = "B";
     this.CountB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CountA
     //
     this.CountA.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.CountA.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CountA.Location  = new System.Drawing.Point(240, 32);
     this.CountA.Name      = "CountA";
     this.CountA.Size      = new System.Drawing.Size(56, 23);
     this.CountA.TabIndex  = 13;
     this.CountA.Text      = "A";
     this.CountA.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label15
     //
     this.label15.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.Location  = new System.Drawing.Point(248, 8);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(40, 23);
     this.label15.TabIndex  = 12;
     this.label15.Text      = "Count";
     this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // TotalB
     //
     this.TotalB.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.TotalB.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.TotalB.Location  = new System.Drawing.Point(184, 56);
     this.TotalB.Name      = "TotalB";
     this.TotalB.Size      = new System.Drawing.Size(56, 23);
     this.TotalB.TabIndex  = 11;
     this.TotalB.Text      = "B";
     this.TotalB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // TotalA
     //
     this.TotalA.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.TotalA.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.TotalA.Location  = new System.Drawing.Point(184, 32);
     this.TotalA.Name      = "TotalA";
     this.TotalA.Size      = new System.Drawing.Size(56, 23);
     this.TotalA.TabIndex  = 10;
     this.TotalA.Text      = "A";
     this.TotalA.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label12
     //
     this.label12.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location  = new System.Drawing.Point(192, 8);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(48, 23);
     this.label12.TabIndex  = 9;
     this.label12.Text      = "Total";
     this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // MinB
     //
     this.MinB.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.MinB.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MinB.Location  = new System.Drawing.Point(120, 56);
     this.MinB.Name      = "MinB";
     this.MinB.Size      = new System.Drawing.Size(64, 23);
     this.MinB.TabIndex  = 8;
     this.MinB.Text      = "B";
     this.MinB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // MinA
     //
     this.MinA.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.MinA.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MinA.Location  = new System.Drawing.Point(120, 32);
     this.MinA.Name      = "MinA";
     this.MinA.Size      = new System.Drawing.Size(64, 23);
     this.MinA.TabIndex  = 7;
     this.MinA.Text      = "A";
     this.MinA.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label9
     //
     this.label9.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location  = new System.Drawing.Point(128, 8);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(56, 23);
     this.label9.TabIndex  = 6;
     this.label9.Text      = "Minimum";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // MaxB
     //
     this.MaxB.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.MaxB.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MaxB.Location  = new System.Drawing.Point(64, 56);
     this.MaxB.Name      = "MaxB";
     this.MaxB.Size      = new System.Drawing.Size(56, 23);
     this.MaxB.TabIndex  = 5;
     this.MaxB.Text      = "B";
     this.MaxB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // MaxA
     //
     this.MaxA.BackColor = System.Drawing.SystemColors.ControlLightLight;
     this.MaxA.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MaxA.Location  = new System.Drawing.Point(64, 32);
     this.MaxA.Name      = "MaxA";
     this.MaxA.Size      = new System.Drawing.Size(56, 23);
     this.MaxA.TabIndex  = 4;
     this.MaxA.Text      = "A";
     this.MaxA.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label6
     //
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location  = new System.Drawing.Point(64, 8);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(56, 23);
     this.label6.TabIndex  = 3;
     this.label6.Text      = "Maximum";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label3
     //
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(8, 56);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(48, 23);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "B";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(8, 32);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 23);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "A";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Column";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label4
     //
     this.label4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label4.Location  = new System.Drawing.Point(16, 17);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(104, 16);
     this.label4.TabIndex  = 2;
     this.label4.Text      = "Number of rows";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(128, 16);
     this.numericUpDown1.Maximum  = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         3,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(56, 20);
     this.numericUpDown1.TabIndex = 3;
     this.numericUpDown1.Value    = new decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // NewData
     //
     this.NewData.BackColor = System.Drawing.SystemColors.ControlLight;
     this.NewData.Location  = new System.Drawing.Point(32, 48);
     this.NewData.Name      = "NewData";
     this.NewData.Size      = new System.Drawing.Size(152, 23);
     this.NewData.TabIndex  = 4;
     this.NewData.Text      = "Generate New Data";
     this.NewData.UseVisualStyleBackColor = false;
     this.NewData.Click += new System.EventHandler(this.NewData_Click);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Controls.Add(this.numericUpDown1);
     this.panel2.Controls.Add(this.NewData);
     this.panel2.Controls.Add(this.label4);
     this.panel2.Location = new System.Drawing.Point(264, 16);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(216, 80);
     this.panel2.TabIndex = 5;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(528, 422);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.dataGrid1);
     this.MinimumSize   = new System.Drawing.Size(544, 300);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Grouping With Data Grid Demo";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.chartControl1     = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.panel1            = new System.Windows.Forms.Panel();
     this.radioButton3      = new System.Windows.Forms.RadioButton();
     this.checkBox2         = new System.Windows.Forms.CheckBox();
     this.comboBox2         = new System.Windows.Forms.ComboBox();
     this.label4            = new System.Windows.Forms.Label();
     this.radioButton1      = new System.Windows.Forms.RadioButton();
     this.radioButton2      = new System.Windows.Forms.RadioButton();
     this.label22           = new System.Windows.Forms.Label();
     this.checkBox1         = new System.Windows.Forms.CheckBox();
     this.comboBoxChartType = new System.Windows.Forms.ComboBox();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.comboBox1         = new System.Windows.Forms.ComboBox();
     this.numericUpDown1    = new System.Windows.Forms.NumericUpDown();
     this.label3            = new System.Windows.Forms.Label();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     this.SuspendLayout();
     //
     // chartControl1
     //
     this.chartControl1.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.chartControl1.BackInterior             = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))), System.Drawing.Color.White);
     this.chartControl1.ChartArea.BackInterior   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.ChartAreaMargins         = new Syncfusion.Windows.Forms.Chart.ChartMargins(5, 15, 15, 5);
     this.chartControl1.ChartInterior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(165)))), ((int)(((byte)(194)))), ((int)(((byte)(229))))), System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(236)))), ((int)(((byte)(250))))));
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.ElementsSpacing          = 1;
     this.chartControl1.Font         = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.IsWindowLess = false;
     //
     //
     //
     this.chartControl1.Legend.BackInterior     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.Transparent, System.Drawing.Color.Transparent);
     this.chartControl1.Legend.Border.ForeColor = System.Drawing.Color.Transparent;
     this.chartControl1.Legend.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.Legend.ItemsSize        = new System.Drawing.Size(15, 15);
     this.chartControl1.Legend.Location         = new System.Drawing.Point(32, 53);
     this.chartControl1.Legend.Orientation      = Syncfusion.Windows.Forms.Chart.ChartOrientation.Horizontal;
     this.chartControl1.Legend.Position         = Syncfusion.Windows.Forms.Chart.ChartDock.Top;
     this.chartControl1.Legend.ShowSymbol       = true;
     this.chartControl1.Legend.Spacing          = 3;
     this.chartControl1.Localize = null;
     this.chartControl1.Location = new System.Drawing.Point(0, 0);
     this.chartControl1.Name     = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryXAxis.GridLineType.ForeColor = System.Drawing.Color.Silver;
     this.chartControl1.PrimaryXAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chartControl1.PrimaryYAxis.GridLineType.ForeColor = System.Drawing.Color.Silver;
     this.chartControl1.PrimaryYAxis.LineType.ForeColor     = System.Drawing.Color.DarkGray;
     this.chartControl1.PrimaryYAxis.Margin = true;
     this.chartControl1.Rotation            = 90F;
     this.chartControl1.Size     = new System.Drawing.Size(700, 569);
     this.chartControl1.TabIndex = 0;
     this.chartControl1.Text     = "EssentialChart";
     //
     //
     //
     this.chartControl1.Title.Name = "Def_title";
     this.chartControl1.Title.Text = "EssentialChart";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.panel1.Controls.Add(this.radioButton3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Controls.Add(this.comboBox2);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.radioButton1);
     this.panel1.Controls.Add(this.radioButton2);
     this.panel1.Controls.Add(this.label22);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.numericUpDown1);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(700, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(260, 585);
     this.panel1.TabIndex = 3;
     //
     // radioButton3
     //
     this.radioButton3.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton3.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton3.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton3.Location        = new System.Drawing.Point(36, 198);
     this.radioButton3.Name            = "radioButton3";
     this.radioButton3.Size            = new System.Drawing.Size(112, 24);
     this.radioButton3.TabIndex        = 13;
     this.radioButton3.Text            = "France";
     this.radioButton3.CheckedChanged += new System.EventHandler(this.radioButton3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.AutoSize  = true;
     this.checkBox2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox2.Location  = new System.Drawing.Point(36, 484);
     this.checkBox2.Name      = "checkBox2";
     this.checkBox2.Size      = new System.Drawing.Size(96, 24);
     this.checkBox2.TabIndex  = 12;
     this.checkBox2.Text      = "Enable 3D";
     this.checkBox2.UseVisualStyleBackColor = true;
     this.checkBox2.CheckedChanged         += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // comboBox2
     //
     this.comboBox2.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox2.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox2.Location              = new System.Drawing.Point(36, 270);
     this.comboBox2.Name                  = "comboBox2";
     this.comboBox2.Size                  = new System.Drawing.Size(180, 28);
     this.comboBox2.TabIndex              = 11;
     this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label4.Location  = new System.Drawing.Point(33, 236);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(162, 20);
     this.label4.TabIndex  = 10;
     this.label4.Text      = "Legend Representation";
     //
     // radioButton1
     //
     this.radioButton1.Checked         = true;
     this.radioButton1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton1.Location        = new System.Drawing.Point(36, 131);
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(82, 28);
     this.radioButton1.TabIndex        = 0;
     this.radioButton1.TabStop         = true;
     this.radioButton1.Text            = "Italy";
     this.radioButton1.CheckedChanged += new System.EventHandler(this.radiobutton1_SeriesType_CheckedChanged);
     //
     // radioButton2
     //
     this.radioButton2.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.radioButton2.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.radioButton2.Location        = new System.Drawing.Point(36, 163);
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(140, 28);
     this.radioButton2.TabIndex        = 1;
     this.radioButton2.Text            = "Spain";
     this.radioButton2.CheckedChanged += new System.EventHandler(this.radiobutton2_SeriesType_CheckedChanged);
     //
     // label22
     //
     this.label22.AutoSize  = true;
     this.label22.BackColor = System.Drawing.Color.Transparent;
     this.label22.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label22.Location  = new System.Drawing.Point(32, 99);
     this.label22.Name      = "label22";
     this.label22.Size      = new System.Drawing.Size(87, 20);
     this.label22.TabIndex  = 8;
     this.label22.Text      = "Chart Series";
     //
     // checkBox1
     //
     this.checkBox1.Font            = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.checkBox1.Location        = new System.Drawing.Point(36, 449);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(207, 29);
     this.checkBox1.TabIndex        = 7;
     this.checkBox1.Text            = "Points in different Color";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBoxChartType.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxChartType.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBoxChartType.Location              = new System.Drawing.Point(35, 60);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(184, 28);
     this.comboBoxChartType.TabIndex              = 6;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label2.Location  = new System.Drawing.Point(36, 383);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 30);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Width";
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label1.Location  = new System.Drawing.Point(36, 312);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(93, 20);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Dash Style";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FlatStyle             = System.Windows.Forms.FlatStyle.System;
     this.comboBox1.Font                  = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.comboBox1.Location              = new System.Drawing.Point(36, 342);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(180, 28);
     this.comboBox1.TabIndex              = 3;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // numericUpDown1
     //
     this.numericUpDown1.BackColor = System.Drawing.Color.White;
     this.numericUpDown1.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.numericUpDown1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.numericUpDown1.Location  = new System.Drawing.Point(36, 414);
     this.numericUpDown1.Maximum   = new decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.numericUpDown1.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.ReadOnly = true;
     this.numericUpDown1.Size     = new System.Drawing.Size(178, 27);
     this.numericUpDown1.TabIndex = 2;
     this.numericUpDown1.Value    = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66)))));
     this.label3.Location  = new System.Drawing.Point(35, 30);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(100, 26);
     this.label3.TabIndex  = 5;
     this.label3.Text      = "Chart Type";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "server_from_client.png");
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(954, 581);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.chartControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(705, 463);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Line";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox5           = new System.Windows.Forms.GroupBox();
     this.loadRoutesButton    = new System.Windows.Forms.Button();
     this.zoomCheckBox        = new System.Windows.Forms.CheckBox();
     this.loadTracksButton    = new System.Windows.Forms.Button();
     this.loadWaypointsButton = new System.Windows.Forms.Button();
     this.groupBox4           = new System.Windows.Forms.GroupBox();
     this.wptNamingCheckBox   = new System.Windows.Forms.CheckBox();
     this.label3 = new System.Windows.Forms.Label();
     this.nameConversionComboBox = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.startRouteNumericUpDown = new System.Windows.Forms.NumericUpDown();
     this.downloadRoutesButton    = new System.Windows.Forms.Button();
     this.downloadWaypointsButton = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.groupBox5.SuspendLayout();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.startRouteNumericUpDown)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox5
     //
     this.groupBox5.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.groupBox5.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.loadRoutesButton,
         this.zoomCheckBox,
         this.loadTracksButton,
         this.loadWaypointsButton
     });
     this.groupBox5.Location = new System.Drawing.Point(295, 40);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new System.Drawing.Size(260, 180);
     this.groupBox5.TabIndex = 14;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = "Upload from GPS";
     //
     // loadRoutesButton
     //
     this.loadRoutesButton.Location = new System.Drawing.Point(130, 65);
     this.loadRoutesButton.Name     = "loadRoutesButton";
     this.loadRoutesButton.Size     = new System.Drawing.Size(112, 23);
     this.loadRoutesButton.TabIndex = 10;
     this.loadRoutesButton.Text     = "Get Routes";
     this.loadRoutesButton.Click   += new System.EventHandler(this.loadRoutesButton_Click);
     //
     // zoomCheckBox
     //
     this.zoomCheckBox.Location        = new System.Drawing.Point(45, 136);
     this.zoomCheckBox.Name            = "zoomCheckBox";
     this.zoomCheckBox.Size            = new System.Drawing.Size(208, 24);
     this.zoomCheckBox.TabIndex        = 9;
     this.zoomCheckBox.Text            = "zoom in after upload";
     this.zoomCheckBox.CheckedChanged += new System.EventHandler(this.zoomCheckBox_CheckedChanged);
     //
     // loadTracksButton
     //
     this.loadTracksButton.Location = new System.Drawing.Point(130, 30);
     this.loadTracksButton.Name     = "loadTracksButton";
     this.loadTracksButton.Size     = new System.Drawing.Size(112, 23);
     this.loadTracksButton.TabIndex = 7;
     this.loadTracksButton.Text     = "Get Track Log";
     this.loadTracksButton.Click   += new System.EventHandler(this.loadTracksButton_Click);
     //
     // loadWaypointsButton
     //
     this.loadWaypointsButton.Location = new System.Drawing.Point(130, 100);
     this.loadWaypointsButton.Name     = "loadWaypointsButton";
     this.loadWaypointsButton.Size     = new System.Drawing.Size(112, 23);
     this.loadWaypointsButton.TabIndex = 8;
     this.loadWaypointsButton.Text     = "Get Waypoints";
     this.loadWaypointsButton.Click   += new System.EventHandler(this.loadWaypointsButton_Click);
     //
     // groupBox4
     //
     this.groupBox4.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.wptNamingCheckBox,
         this.label3,
         this.nameConversionComboBox,
         this.label2,
         this.startRouteNumericUpDown,
         this.downloadRoutesButton,
         this.downloadWaypointsButton
     });
     this.groupBox4.Location = new System.Drawing.Point(16, 40);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(260, 180);
     this.groupBox4.TabIndex = 13;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "Download to GPS";
     //
     // wptNamingCheckBox
     //
     this.wptNamingCheckBox.CheckAlign      = System.Drawing.ContentAlignment.MiddleRight;
     this.wptNamingCheckBox.Location        = new System.Drawing.Point(10, 132);
     this.wptNamingCheckBox.Name            = "wptNamingCheckBox";
     this.wptNamingCheckBox.Size            = new System.Drawing.Size(114, 32);
     this.wptNamingCheckBox.TabIndex        = 16;
     this.wptNamingCheckBox.Text            = "description as name";
     this.wptNamingCheckBox.TextAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this.wptNamingCheckBox.CheckedChanged += new System.EventHandler(this.wptNamingCheckBox_CheckedChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(10, 64);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(119, 26);
     this.label3.TabIndex  = 15;
     this.label3.Text      = "route name conversion";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // nameConversionComboBox
     //
     this.nameConversionComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.nameConversionComboBox.Items.AddRange(new object[] {
         "none",
         "A<name>",
         "T1P<name>"
     });
     this.nameConversionComboBox.Location              = new System.Drawing.Point(140, 64);
     this.nameConversionComboBox.Name                  = "nameConversionComboBox";
     this.nameConversionComboBox.Size                  = new System.Drawing.Size(112, 21);
     this.nameConversionComboBox.TabIndex              = 14;
     this.nameConversionComboBox.SelectedIndexChanged += new System.EventHandler(this.nameConversionComboBox_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(15, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(115, 28);
     this.label2.TabIndex  = 13;
     this.label2.Text      = "starting route number in GPS";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // startRouteNumericUpDown
     //
     this.startRouteNumericUpDown.Location = new System.Drawing.Point(140, 32);
     this.startRouteNumericUpDown.Maximum  = new System.Decimal(new int[] {
         20,
         0,
         0,
         0
     });
     this.startRouteNumericUpDown.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.startRouteNumericUpDown.Name     = "startRouteNumericUpDown";
     this.startRouteNumericUpDown.Size     = new System.Drawing.Size(48, 20);
     this.startRouteNumericUpDown.TabIndex = 12;
     this.startRouteNumericUpDown.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // downloadRoutesButton
     //
     this.downloadRoutesButton.Location = new System.Drawing.Point(140, 104);
     this.downloadRoutesButton.Name     = "downloadRoutesButton";
     this.downloadRoutesButton.Size     = new System.Drawing.Size(112, 23);
     this.downloadRoutesButton.TabIndex = 11;
     this.downloadRoutesButton.Text     = "Put Routes";
     this.downloadRoutesButton.Click   += new System.EventHandler(this.downloadRoutesButton_Click);
     //
     // downloadWaypointsButton
     //
     this.downloadWaypointsButton.Location = new System.Drawing.Point(140, 136);
     this.downloadWaypointsButton.Name     = "downloadWaypointsButton";
     this.downloadWaypointsButton.Size     = new System.Drawing.Size(112, 23);
     this.downloadWaypointsButton.TabIndex = 9;
     this.downloadWaypointsButton.Text     = "Put Waypoints";
     this.downloadWaypointsButton.Click   += new System.EventHandler(this.downloadWaypointsButton_Click);
     //
     // label1
     //
     this.label1.Anchor    = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.label1.Font      = new System.Drawing.Font("Impact", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location  = new System.Drawing.Point(450, 10);
     this.label1.Name      = "label1";
     this.label1.TabIndex  = 16;
     this.label1.Text      = "Magellan";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // MagellanGpsButtonPanelControl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.groupBox5,
         this.groupBox4
     });
     this.Name    = "MagellanGpsButtonPanelControl";
     this.Size    = new System.Drawing.Size(570, 260);
     this.Layout += new System.Windows.Forms.LayoutEventHandler(this.MagellanGpsButtonPanelControl_Layout);
     this.groupBox5.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.startRouteNumericUpDown)).EndInit();
     this.ResumeLayout(false);
 }
Example #60
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     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.lblFileSize  = new System.Windows.Forms.Label();
     this.numWidth     = new System.Windows.Forms.NumericUpDown();
     this.numHeight    = new System.Windows.Forms.NumericUpDown();
     this.numSlices    = new System.Windows.Forms.NumericUpDown();
     this.numOffset    = new System.Windows.Forms.NumericUpDown();
     this.numBits      = new System.Windows.Forms.NumericUpDown();
     this.btnCancel    = new System.Windows.Forms.Button();
     this.btnView      = new System.Windows.Forms.Button();
     this.chkBoxPlanar = new System.Windows.Forms.CheckBox();
     ((System.ComponentModel.ISupportInitialize)(this.numWidth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numHeight)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numSlices)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numOffset)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.numBits)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 23);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Width";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 48);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 23);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Height";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 80);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(80, 23);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Slices";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 112);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(80, 23);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Offset";
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 144);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(80, 23);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Bits per voxel";
     //
     // lblFileSize
     //
     this.lblFileSize.Location = new System.Drawing.Point(8, 176);
     this.lblFileSize.Name     = "lblFileSize";
     this.lblFileSize.Size     = new System.Drawing.Size(144, 23);
     this.lblFileSize.TabIndex = 5;
     this.lblFileSize.Text     = "File Size:";
     //
     // numWidth
     //
     this.numWidth.Location = new System.Drawing.Point(88, 16);
     this.numWidth.Maximum  = new System.Decimal(new int[] {
         32767,
         0,
         0,
         0
     });
     this.numWidth.Name     = "numWidth";
     this.numWidth.Size     = new System.Drawing.Size(64, 20);
     this.numWidth.TabIndex = 6;
     //
     // numHeight
     //
     this.numHeight.Location = new System.Drawing.Point(88, 48);
     this.numHeight.Maximum  = new System.Decimal(new int[] {
         32767,
         0,
         0,
         0
     });
     this.numHeight.Name     = "numHeight";
     this.numHeight.Size     = new System.Drawing.Size(64, 20);
     this.numHeight.TabIndex = 7;
     //
     // numSlices
     //
     this.numSlices.Location = new System.Drawing.Point(88, 80);
     this.numSlices.Minimum  = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numSlices.Name     = "numSlices";
     this.numSlices.Size     = new System.Drawing.Size(64, 20);
     this.numSlices.TabIndex = 8;
     this.numSlices.Value    = new System.Decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // numOffset
     //
     this.numOffset.Location = new System.Drawing.Point(88, 112);
     this.numOffset.Name     = "numOffset";
     this.numOffset.Size     = new System.Drawing.Size(64, 20);
     this.numOffset.TabIndex = 9;
     //
     // numBits
     //
     this.numBits.Increment = new System.Decimal(new int[] {
         4,
         0,
         0,
         0
     });
     this.numBits.Location = new System.Drawing.Point(88, 144);
     this.numBits.Maximum  = new System.Decimal(new int[] {
         24,
         0,
         0,
         0
     });
     this.numBits.Minimum = new System.Decimal(new int[] {
         8,
         0,
         0,
         0
     });
     this.numBits.Name     = "numBits";
     this.numBits.Size     = new System.Drawing.Size(64, 20);
     this.numBits.TabIndex = 10;
     this.numBits.Value    = new System.Decimal(new int[] {
         24,
         0,
         0,
         0
     });
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(8, 240);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 11;
     this.btnCancel.Text         = "Cancel";
     //
     // btnView
     //
     this.btnView.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnView.Location     = new System.Drawing.Point(88, 240);
     this.btnView.Name         = "btnView";
     this.btnView.TabIndex     = 12;
     this.btnView.Text         = "View";
     //
     // chkBoxPlanar
     //
     this.chkBoxPlanar.Location    = new System.Drawing.Point(8, 208);
     this.chkBoxPlanar.Name        = "chkBoxPlanar";
     this.chkBoxPlanar.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.chkBoxPlanar.TabIndex    = 13;
     this.chkBoxPlanar.Text        = "Planar RGB        ";
     //
     // DlgOpenRaw
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(170, 272);
     this.ControlBox        = false;
     this.Controls.Add(this.chkBoxPlanar);
     this.Controls.Add(this.btnView);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.numBits);
     this.Controls.Add(this.numOffset);
     this.Controls.Add(this.numSlices);
     this.Controls.Add(this.numHeight);
     this.Controls.Add(this.numWidth);
     this.Controls.Add(this.lblFileSize);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "DlgOpenRaw";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Open Raw";
     ((System.ComponentModel.ISupportInitialize)(this.numWidth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numHeight)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numSlices)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numOffset)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.numBits)).EndInit();
     this.ResumeLayout(false);
 }