private void InitializeComponent() { this.cbxSize = new ComboBox(); this.cbxSymbol = new ComboBox(); this.lblColor = new Label(); this.lblSize = new Label(); this.lblSymbol = new Label(); this.btnOK = new Button(); this.btnCancel = new Button(); this.gbxExample = new GroupBox(); this.pnlExample = new Panel(); this.pbtnColor = new PopupColorButton(); this.pbtnSelectedColor = new PopupColorButton(); this.SelectedColorLabel = new Label(); this.tabControl1 = new TabControl(); this.tabPage1 = new TabPage(); this.tabPage2 = new TabPage(); this.groupBox1 = new GroupBox(); this.FontPreView = new Panel(); this.FontSymbol = new ComboBox(); this.FontStyle = new Label(); this.FontSizeCombox = new ComboBox(); this.FontSize = new Label(); this.FontCombox = new ComboBox(); this.FontLable = new Label(); this.ColorLable = new Label(); this.FontColorCombox = new PopupColorButton(); this.gbxExample.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.groupBox1.SuspendLayout(); base.SuspendLayout(); this.cbxSize.DropDownStyle = ComboBoxStyle.DropDownList; this.cbxSize.FormattingEnabled = true; this.cbxSize.Location = new Point(0x34, 0x26); this.cbxSize.Margin = new Padding(3, 4, 3, 4); this.cbxSize.Name = "cbxSize"; this.cbxSize.Size = new Size(100, 0x17); this.cbxSize.TabIndex = 0; this.cbxSymbol.DropDownStyle = ComboBoxStyle.DropDownList; this.cbxSymbol.DropDownWidth = 0x53; this.cbxSymbol.FormattingEnabled = true; this.cbxSymbol.Location = new Point(0xfe, 0x29); this.cbxSymbol.Margin = new Padding(3, 4, 3, 4); this.cbxSymbol.Name = "cbxSymbol"; this.cbxSymbol.Size = new Size(0x65, 0x17); this.cbxSymbol.TabIndex = 1; this.lblColor.AutoSize = true; this.lblColor.Location = new Point(6, 13); this.lblColor.Name = "lblColor"; this.lblColor.Size = new Size(40, 15); this.lblColor.TabIndex = 3; this.lblColor.Text = NEResource.NE_COLOR; this.lblSize.AutoSize = true; this.lblSize.Location = new Point(13, 0x29); this.lblSize.Name = "lblSize"; this.lblSize.Size = new Size(0x21, 15); this.lblSize.TabIndex = 4; this.lblSize.Text = NEResource.NE_SIZE; this.lblSymbol.AutoSize = true; this.lblSymbol.Location = new Point(0xc5, 0x29); this.lblSymbol.Name = "lblSymbol"; this.lblSymbol.Size = new Size(0x33, 15); this.lblSymbol.TabIndex = 5; this.lblSymbol.Text = NEResource.NE_SYMBOL; this.btnOK.Location = new Point(230, 0xed); this.btnOK.Margin = new Padding(3, 2, 3, 2); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 6; this.btnOK.Text = GeneralResource.BUTTON_OK; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Location = new Point(0x137, 0xed); this.btnCancel.Margin = new Padding(3, 2, 3, 2); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 7; this.btnCancel.Text = NEResource.NE_CANCEL; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); this.gbxExample.Controls.Add(this.pnlExample); this.gbxExample.ForeColor = Color.Black; this.gbxExample.Location = new Point(0x12, 70); this.gbxExample.Margin = new Padding(3, 2, 3, 2); this.gbxExample.Name = "gbxExample"; this.gbxExample.Padding = new Padding(3, 2, 3, 2); this.gbxExample.Size = new Size(0x151, 0x75); this.gbxExample.TabIndex = 8; this.gbxExample.TabStop = false; this.gbxExample.Text = NEResource.NE_EXAMPLE; this.pnlExample.BackColor = Color.Transparent; this.pnlExample.ForeColor = Color.Black; // this.pnlExample.ImeMode = ImeMode.On; this.pnlExample.Location = new Point(6, 20); this.pnlExample.Margin = new Padding(3, 4, 3, 4); this.pnlExample.Name = "pnlExample"; this.pnlExample.Size = new Size(0x145, 0x5b); this.pnlExample.TabIndex = 0; this.pbtnColor.Font = new Font("Arial", 9f); this.pbtnColor.Location = new Point(0x34, 10); this.pbtnColor.Margin = new Padding(3, 4, 3, 4); this.pbtnColor.Name = "pbtnColor"; this.pbtnColor.SelectedColor = SystemColors.Window; this.pbtnColor.Size = new Size(0x66, 20); this.pbtnColor.TabIndex = 9; this.pbtnSelectedColor.Font = new Font("Arial", 9f); this.pbtnSelectedColor.Location = new Point(0xfe, 13); this.pbtnSelectedColor.Margin = new Padding(3, 4, 3, 4); this.pbtnSelectedColor.Name = "pbtnSelectedColor"; this.pbtnSelectedColor.SelectedColor = SystemColors.Window; this.pbtnSelectedColor.Size = new Size(0x66, 20); this.pbtnSelectedColor.TabIndex = 10; this.SelectedColorLabel.AutoSize = true; this.SelectedColorLabel.Location = new Point(160, 15); this.SelectedColorLabel.Name = "SelectedColorLabel"; this.SelectedColorLabel.Size = new Size(0x58, 15); this.SelectedColorLabel.TabIndex = 11; this.SelectedColorLabel.Text = NEResource.NE_SELECTED_COLOR; this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new Point(12, 12); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new Size(0x176, 220); this.tabControl1.TabIndex = 12; this.tabPage1.Controls.Add(this.lblColor); this.tabPage1.Controls.Add(this.SelectedColorLabel); this.tabPage1.Controls.Add(this.cbxSize); this.tabPage1.Controls.Add(this.pbtnSelectedColor); this.tabPage1.Controls.Add(this.cbxSymbol); this.tabPage1.Controls.Add(this.pbtnColor); this.tabPage1.Controls.Add(this.lblSize); this.tabPage1.Controls.Add(this.gbxExample); this.tabPage1.Controls.Add(this.lblSymbol); this.tabPage1.ForeColor = Color.Black; this.tabPage1.Location = new Point(4, 0x18); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new Padding(3); this.tabPage1.Size = new Size(0x16e, 0xc0); this.tabPage1.TabIndex = 0; this.tabPage1.Text = NEResource.NE_SYMBOL_STYLE; this.tabPage1.UseVisualStyleBackColor = true; this.tabPage2.Controls.Add(this.groupBox1); this.tabPage2.Controls.Add(this.FontSymbol); this.tabPage2.Controls.Add(this.FontStyle); this.tabPage2.Controls.Add(this.FontSizeCombox); this.tabPage2.Controls.Add(this.FontSize); this.tabPage2.Controls.Add(this.FontCombox); this.tabPage2.Controls.Add(this.FontLable); this.tabPage2.Controls.Add(this.ColorLable); this.tabPage2.Controls.Add(this.FontColorCombox); this.tabPage2.Location = new Point(4, 0x18); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new Padding(3); this.tabPage2.Size = new Size(0x16e, 0xc0); this.tabPage2.TabIndex = 1; this.tabPage2.Text = NEResource.NE_FONT; this.tabPage2.UseVisualStyleBackColor = true; this.groupBox1.Controls.Add(this.FontPreView); this.groupBox1.Location = new Point(9, 0x44); this.groupBox1.Margin = new Padding(3, 2, 3, 2); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new Padding(3, 2, 3, 2); this.groupBox1.Size = new Size(0x15f, 0x77); this.groupBox1.TabIndex = 0x12; this.groupBox1.TabStop = false; this.groupBox1.Text = NEResource.NE_EXAMPLE; this.FontPreView.BackColor = Color.Transparent; this.FontPreView.ForeColor = Color.Black; // this.FontPreView.ImeMode = ImeMode.On; this.FontPreView.Location = new Point(7, 0x12); this.FontPreView.Margin = new Padding(3, 4, 3, 4); this.FontPreView.Name = "FontPreView"; this.FontPreView.Size = new Size(0x152, 0x5f); this.FontPreView.TabIndex = 1; this.FontSymbol.DropDownStyle = ComboBoxStyle.DropDownList; this.FontSymbol.DropDownWidth = 0x53; this.FontSymbol.FormattingEnabled = true; this.FontSymbol.Location = new Point(0xf9, 0x23); this.FontSymbol.Margin = new Padding(3, 4, 3, 4); this.FontSymbol.Name = "FontSymbol"; this.FontSymbol.Size = new Size(0x6f, 0x17); this.FontSymbol.TabIndex = 0x11; this.FontStyle.AutoSize = true; this.FontStyle.Location = new Point(0xce, 0x27); this.FontStyle.Name = "FontStyle"; this.FontStyle.Size = new Size(0x24, 15); this.FontStyle.TabIndex = 0x10; this.FontStyle.Text = NEResource.NE_STYLE; this.FontSizeCombox.DropDownStyle = ComboBoxStyle.DropDownList; this.FontSizeCombox.FormattingEnabled = true; this.FontSizeCombox.Location = new Point(0x43, 0x23); this.FontSizeCombox.Name = "FontSizeCombox"; this.FontSizeCombox.Size = new Size(100, 0x17); this.FontSizeCombox.TabIndex = 15; this.FontSize.AutoSize = true; this.FontSize.Location = new Point(13, 0x27); this.FontSize.Name = "FontSize"; this.FontSize.Size = new Size(0x21, 15); this.FontSize.TabIndex = 14; this.FontSize.Text = NEResource.NE_SIZE; this.FontCombox.DropDownStyle = ComboBoxStyle.DropDownList; this.FontCombox.FormattingEnabled = true; this.FontCombox.Location = new Point(0xf9, 5); this.FontCombox.Name = "FontCombox"; this.FontCombox.Size = new Size(0x6f, 0x17); this.FontCombox.TabIndex = 13; this.FontLable.AutoSize = true; this.FontLable.Location = new Point(0xd3, 8); this.FontLable.Name = "FontLable"; this.FontLable.Size = new Size(0x1f, 15); this.FontLable.TabIndex = 12; this.FontLable.Text = NEResource.NE_FONT; this.ColorLable.AutoSize = true; this.ColorLable.Location = new Point(6, 8); this.ColorLable.Name = "ColorLable"; this.ColorLable.Size = new Size(40, 15); this.ColorLable.TabIndex = 11; this.ColorLable.Text = NEResource.NE_COLOR; this.FontColorCombox.Font = new Font("Arial", 9f); this.FontColorCombox.Location = new Point(0x43, 8); this.FontColorCombox.Margin = new Padding(3, 4, 3, 4); this.FontColorCombox.Name = "FontColorCombox"; this.FontColorCombox.SelectedColor = SystemColors.Window; this.FontColorCombox.Size = new Size(0x66, 20); this.FontColorCombox.TabIndex = 10; base.AutoScaleDimensions = new SizeF(7f, 15f); // base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = SystemColors.Control; base.ClientSize = new Size(0x18c, 0x10d); base.Controls.Add(this.tabControl1); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); this.Font = new Font("Arial", 9f, System.Drawing.FontStyle.Regular, GraphicsUnit.Point, 0); // base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "DispParamForm"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = NEResource.NE_DISPLAY; this.gbxExample.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.tabPage2.PerformLayout(); this.groupBox1.ResumeLayout(false); base.ResumeLayout(false); base.KeyPreview = true; base.HelpButton = true; base.KeyDown += new KeyEventHandler(this.SelectTypeFrm_KeyDown); base.HelpButtonClicked += new CancelEventHandler(this.SelectTypeFrm_HelpButtonClicked); }
private void InitializeComponent() { DataGridViewCellStyle style = new DataGridViewCellStyle(); DataGridViewCellStyle style2 = new DataGridViewCellStyle(); DataGridViewCellStyle style3 = new DataGridViewCellStyle(); ComponentResourceManager manager = new ComponentResourceManager(typeof(PolygonPropertyForm)); this.btnApply = new Button(); this.btnCancel = new Button(); this.btnOK = new Button(); this.PolygonPointsDGV = new DataGridViewBase(); this.PolygonOrder = new DataGridViewTextBoxColumn(); this.PointOrder = new DataGridViewTextBoxColumn(); this.X = new DataGridViewTextBoxColumn(); this.Y = new DataGridViewTextBoxColumn(); this.Longitude = new DataGridViewTextBoxColumn(); this.Latitude = new DataGridViewTextBoxColumn(); this.RegionProperty = new TabControl(); this.tPRegionProperty = new TabPage(); this.label4 = new Label(); this.chbIsShownPolygonName = new CheckBox(); this.pcbLineColor = new PopupColorButton(); this.txtPolygonLinesScale = new TextBox(); this.txtPolygonRemark = new TextBox(); this.label7 = new Label(); this.txtPolygonArea = new TextBox(); this.label1 = new Label(); this.comboBoxLinesType = new ComboBox(); this.label3 = new Label(); this.txtPolygonName = new TextBox(); this.label23 = new Label(); this.label6 = new Label(); this.label22 = new Label(); this.label21 = new Label(); this.PolygonList = new TabPage(); this.label2 = new Label(); this.rdbLat = new RadioButton(); this.rdbGeoXYPoint = new RadioButton(); ((ISupportInitialize) this.PolygonPointsDGV).BeginInit(); this.RegionProperty.SuspendLayout(); this.tPRegionProperty.SuspendLayout(); this.PolygonList.SuspendLayout(); base.SuspendLayout(); this.btnApply.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnApply.Location = new Point(0x20f, 0x14d); this.btnApply.Margin = new Padding(3, 4, 3, 4); this.btnApply.Name = "btnApply"; this.btnApply.Size = new Size(0x57, 0x1d); this.btnApply.TabIndex = 60; this.btnApply.Text = GeneralResource.BUTTON_APPLY; this.btnApply.UseVisualStyleBackColor = true; this.btnApply.Click += new EventHandler(this.btnApply_Click); this.btnCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnCancel.Location = new Point(0x1af, 0x14d); this.btnCancel.Margin = new Padding(3, 4, 3, 4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x57, 0x1d); this.btnCancel.TabIndex = 0x3b; this.btnCancel.Text = GeneralResource.BUTTON_CANCEL; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); this.btnOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this.btnOK.Location = new Point(0x152, 0x14d); this.btnOK.Margin = new Padding(3, 4, 3, 4); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x57, 0x1d); this.btnOK.TabIndex = 0x3a; this.btnOK.Text = GeneralResource.BUTTON_OK; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.PolygonPointsDGV.AfterDeleteHanlder = null; this.PolygonPointsDGV.AllowUserToOrderColumns = true; this.PolygonPointsDGV.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.PolygonPointsDGV.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; this.PolygonPointsDGV.BackgroundColor = Color.White; this.PolygonPointsDGV.BeforeDeleteHanlder = null; this.PolygonPointsDGV.ClearHandle = null; style2.Alignment = DataGridViewContentAlignment.MiddleLeft; style2.BackColor = SystemColors.Info; style2.Font = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0); style2.ForeColor = Color.Black; style2.SelectionBackColor = SystemColors.Highlight; style2.SelectionForeColor = SystemColors.HighlightText; style2.WrapMode = DataGridViewTriState.True; this.PolygonPointsDGV.ColumnHeadersDefaultCellStyle = style2; this.PolygonPointsDGV.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.PolygonPointsDGV.Columns.AddRange(new DataGridViewColumn[] { this.PolygonOrder, this.PointOrder, this.X, this.Y, this.Longitude, this.Latitude }); this.PolygonPointsDGV.CtrlDHanlder = null; style3.Alignment = DataGridViewContentAlignment.MiddleLeft; style3.BackColor = SystemColors.Window; style3.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); style3.ForeColor = Color.Black; style3.SelectionBackColor = SystemColors.Highlight; style3.SelectionForeColor = SystemColors.HighlightText; style3.WrapMode = DataGridViewTriState.False; this.PolygonPointsDGV.DefaultCellStyle = style3; this.PolygonPointsDGV.DeleteHanlder = null; this.PolygonPointsDGV.EnableCtrlA = true; this.PolygonPointsDGV.EnableCtrlD = false; this.PolygonPointsDGV.EnableDeleteRow = false; this.PolygonPointsDGV.EnableRowAndColSelect = true; this.PolygonPointsDGV.EnableSort = false; this.PolygonPointsDGV.Location = new Point(3, 40); this.PolygonPointsDGV.Margin = new Padding(3, 4, 3, 4); this.PolygonPointsDGV.Name = "PolygonPointsDGV"; this.PolygonPointsDGV.RowTemplate.Height = 0x17; this.PolygonPointsDGV.Size = new Size(0x24a, 0xd1); this.PolygonPointsDGV.TabIndex = 0x2d; this.PolygonPointsDGV.UncheckedColHeaderText = (List<string>) manager.GetObject("PolygonPointsDGV.UncheckedColHeaderText"); this.PolygonPointsDGV.UserDeletingRow += new DataGridViewRowCancelEventHandler(this.PolygonPointsDGV_UserDeletingRow); this.PolygonPointsDGV.CellBeginEdit += new DataGridViewCellCancelEventHandler(this.PolygonPointsDGV_CellBeginEdit); this.PolygonPointsDGV.CellEndEdit += new DataGridViewCellEventHandler(this.PolygonPointsDGV_CellEndEdit); this.PolygonPointsDGV.DefaultValuesNeeded += new DataGridViewRowEventHandler(this.PolygonPointsDGV_DefaultValuesNeeded); this.PolygonPointsDGV.DataError += new DataGridViewDataErrorEventHandler(this.PolygonPointsDGV_DataError); this.PolygonOrder.FillWeight = 20f; this.PolygonOrder.HeaderText = GISCtrlGResourceEx.GIS_POLYGONORDER; this.PolygonOrder.Name = "PolygonOrder"; this.PolygonOrder.ReadOnly = true; this.PolygonOrder.SortMode = DataGridViewColumnSortMode.NotSortable; this.PointOrder.FillWeight = 20f; this.PointOrder.HeaderText = GISCtrlGResourceEx.GIS_POINTORDER; this.PointOrder.Name = "PointOrder"; this.PointOrder.ReadOnly = true; this.PointOrder.SortMode = DataGridViewColumnSortMode.NotSortable; this.X.FillWeight = 40f; this.X.HeaderText = "X"; this.X.Name = "X"; this.X.SortMode = DataGridViewColumnSortMode.NotSortable; this.Y.FillWeight = 40f; this.Y.HeaderText = "Y"; this.Y.Name = "Y"; this.Y.SortMode = DataGridViewColumnSortMode.NotSortable; this.Longitude.FillWeight = 40f; this.Longitude.HeaderText = NEResource.NE_LONGITUDE; this.Longitude.Name = "Longitude"; this.Longitude.SortMode = DataGridViewColumnSortMode.NotSortable; this.Longitude.Visible = false; this.Latitude.FillWeight = 40f; this.Latitude.HeaderText = NEResource.NE_LATITUDE; this.Latitude.Name = "Latitude"; this.Latitude.SortMode = DataGridViewColumnSortMode.NotSortable; this.Latitude.Visible = false; this.RegionProperty.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this.RegionProperty.Controls.Add(this.tPRegionProperty); this.RegionProperty.Controls.Add(this.PolygonList); this.RegionProperty.Location = new Point(12, 13); this.RegionProperty.Margin = new Padding(3, 4, 3, 4); this.RegionProperty.Name = "RegionProperty"; this.RegionProperty.SelectedIndex = 0; this.RegionProperty.Size = new Size(0x25a, 0x123); this.RegionProperty.TabIndex = 0x3d; this.RegionProperty.KeyDown += new KeyEventHandler(this.RegionProperty_KeyDown); this.tPRegionProperty.Controls.Add(this.label4); this.tPRegionProperty.Controls.Add(this.chbIsShownPolygonName); this.tPRegionProperty.Controls.Add(this.pcbLineColor); this.tPRegionProperty.Controls.Add(this.txtPolygonLinesScale); this.tPRegionProperty.Controls.Add(this.txtPolygonRemark); this.tPRegionProperty.Controls.Add(this.label7); this.tPRegionProperty.Controls.Add(this.txtPolygonArea); this.tPRegionProperty.Controls.Add(this.label1); this.tPRegionProperty.Controls.Add(this.comboBoxLinesType); this.tPRegionProperty.Controls.Add(this.label3); this.tPRegionProperty.Controls.Add(this.txtPolygonName); this.tPRegionProperty.Controls.Add(this.label23); this.tPRegionProperty.Controls.Add(this.label6); this.tPRegionProperty.Controls.Add(this.label22); this.tPRegionProperty.Controls.Add(this.label21); this.tPRegionProperty.Location = new Point(4, 0x18); this.tPRegionProperty.Margin = new Padding(3, 4, 3, 4); this.tPRegionProperty.Name = "tPRegionProperty"; this.tPRegionProperty.Padding = new Padding(3, 4, 3, 4); this.tPRegionProperty.Size = new Size(0x252, 0x107); this.tPRegionProperty.TabIndex = 0; this.tPRegionProperty.Text = GISCtrlGResourceEx.GIS_REGIONPROPERTY; this.tPRegionProperty.UseVisualStyleBackColor = true; this.label4.AutoSize = true; this.label4.Location = new Point(0x22e, 0x4f); this.label4.Name = "label4"; this.label4.Size = new Size(0x21, 15); this.label4.TabIndex = 0x4e; this.label4.Text = GISCtrlGResourceEx.GIS_PIXEL; this.chbIsShownPolygonName.AutoSize = true; this.chbIsShownPolygonName.Location = new Point(0x14d, 0x1b); this.chbIsShownPolygonName.Name = "chbIsShownPolygonName"; this.chbIsShownPolygonName.Size = new Size(0x8d, 0x13); this.chbIsShownPolygonName.TabIndex = 0x4d; this.chbIsShownPolygonName.Text = GISCtrlGResourceEx.GIS_SHOW_POLYGON_NAME; this.chbIsShownPolygonName.UseVisualStyleBackColor = true; this.chbIsShownPolygonName.CheckedChanged += new EventHandler(this.chbIsShownPolygonName_CheckedChanged); this.pcbLineColor.Font = new Font("Arial", 9f); this.pcbLineColor.Location = new Point(0x1a3, 0x74); this.pcbLineColor.Margin = new Padding(3, 5, 3, 5); this.pcbLineColor.Name = "pcbLineColor"; this.pcbLineColor.SelectedColor = SystemColors.Window; this.pcbLineColor.Size = new Size(140, 0x1a); this.pcbLineColor.TabIndex = 0x4c; this.pcbLineColor.SelectedColorChanged += new EventHandler(this.pcbLineColor_SelectedColorChanged); this.txtPolygonLinesScale.Location = new Point(0x1a3, 0x49); this.txtPolygonLinesScale.Margin = new Padding(3, 4, 3, 4); this.txtPolygonLinesScale.MaxLength = 5; this.txtPolygonLinesScale.Name = "txtPolygonLinesScale"; this.txtPolygonLinesScale.Size = new Size(0x8a, 0x15); this.txtPolygonLinesScale.TabIndex = 0x4b; this.txtPolygonLinesScale.TextChanged += new EventHandler(this.ChangeControlText); this.txtPolygonLinesScale.KeyPress += new KeyPressEventHandler(this.txtPolygonLinesScale_KeyPress); this.txtPolygonRemark.Location = new Point(0x87, 160); this.txtPolygonRemark.Margin = new Padding(3, 4, 3, 4); this.txtPolygonRemark.Multiline = true; this.txtPolygonRemark.Name = "txtPolygonRemark"; this.txtPolygonRemark.ScrollBars = ScrollBars.Vertical; this.txtPolygonRemark.Size = new Size(0x1a7, 0x48); this.txtPolygonRemark.TabIndex = 0x4a; this.txtPolygonRemark.TextChanged += new EventHandler(this.ChangeControlText); this.label7.AutoSize = true; this.label7.Location = new Point(0x35, 0xa3); this.label7.Name = "label7"; this.label7.Size = new Size(0x48, 15); this.label7.TabIndex = 0x49; this.label7.Text = GISCtrlGResourceEx.GIS_COMMENTS; this.txtPolygonArea.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); this.txtPolygonArea.Location = new Point(0x88, 0x49); this.txtPolygonArea.Margin = new Padding(3, 4, 3, 4); this.txtPolygonArea.Name = "txtPolygonArea"; this.txtPolygonArea.ReadOnly = true; this.txtPolygonArea.Size = new Size(0x8b, 0x15); this.txtPolygonArea.TabIndex = 60; this.label1.AutoSize = true; this.label1.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); this.label1.Location = new Point(0x52, 0x4c); this.label1.Name = "label1"; this.label1.Size = new Size(0x23, 15); this.label1.TabIndex = 0x3a; this.label1.Text = GISCtrlGResourceEx.GIS_AREA; this.comboBoxLinesType.DropDownStyle = ComboBoxStyle.DropDownList; this.comboBoxLinesType.FormattingEnabled = true; this.comboBoxLinesType.Items.AddRange(new object[] { "Solid", "Dash", "DashDot", "Dot", "DashDotDot" }); this.comboBoxLinesType.Location = new Point(0x88, 0x74); this.comboBoxLinesType.Margin = new Padding(3, 4, 3, 4); this.comboBoxLinesType.Name = "comboBoxLinesType"; this.comboBoxLinesType.Size = new Size(0x8b, 0x17); this.comboBoxLinesType.TabIndex = 0x48; this.comboBoxLinesType.SelectedIndexChanged += new EventHandler(this.comboBoxLinesType_SelectedIndexChanged); this.label3.AutoSize = true; this.label3.Location = new Point(280, 0x4f); this.label3.Name = "label3"; this.label3.Size = new Size(0x2c, 15); this.label3.TabIndex = 0x3e; this.label3.Text = GISCtrlGResourceEx.GIS_SQ_KM; this.txtPolygonName.Location = new Point(0x88, 0x18); this.txtPolygonName.Margin = new Padding(3, 4, 3, 4); this.txtPolygonName.MaxLength = 15; this.txtPolygonName.Name = "txtPolygonName"; this.txtPolygonName.Size = new Size(0x8b, 0x15); this.txtPolygonName.TabIndex = 70; this.txtPolygonName.TextChanged += new EventHandler(this.ChangeControlText); this.label23.AutoSize = true; this.label23.Location = new Point(0x2f, 0x74); this.label23.Name = "label23"; this.label23.Size = new Size(70, 15); this.label23.TabIndex = 0x40; this.label23.Text = GISCtrlGResourceEx.GIS_LINES_TYPE; this.label6.AutoSize = true; this.label6.Location = new Point(0x4c, 0x1b); this.label6.Name = "label6"; this.label6.Size = new Size(0x29, 15); this.label6.TabIndex = 0x44; this.label6.Text = FrameworkResource.PROJECT_NAME; this.label22.AutoSize = true; this.label22.Location = new Point(330, 0x4c); this.label22.Name = "label22"; this.label22.Size = new Size(0x44, 15); this.label22.TabIndex = 0x41; this.label22.Text = GISCtrlGResourceEx.GIS_LINE_WIDTH; this.label21.AutoSize = true; this.label21.Location = new Point(330, 120); this.label21.Name = "label21"; this.label21.Size = new Size(0x4a, 15); this.label21.TabIndex = 0x42; this.label21.Text = GISCtrlGResourceEx.GIS_LINES_COLOR; this.PolygonList.Controls.Add(this.label2); this.PolygonList.Controls.Add(this.rdbLat); this.PolygonList.Controls.Add(this.PolygonPointsDGV); this.PolygonList.Controls.Add(this.rdbGeoXYPoint); this.PolygonList.Location = new Point(4, 0x18); this.PolygonList.Margin = new Padding(3, 4, 3, 4); this.PolygonList.Name = "PolygonList"; this.PolygonList.Padding = new Padding(3, 4, 3, 4); this.PolygonList.Size = new Size(0x252, 0x107); this.PolygonList.TabIndex = 1; this.PolygonList.Text = GISCtrlGResourceEx.GIS_POLYGONLIST; this.PolygonList.UseVisualStyleBackColor = true; this.label2.AutoSize = true; this.label2.Location = new Point(0x25, 0x10); this.label2.Name = "label2"; this.label2.Size = new Size(0x43, 15); this.label2.TabIndex = 0x2e; this.label2.Text = GISCtrlGResourceEx.GIS_POINT_TYPE; this.rdbLat.AutoSize = true; this.rdbLat.Checked = true; this.rdbLat.Location = new Point(0xd4, 0x10); this.rdbLat.Margin = new Padding(3, 4, 3, 4); this.rdbLat.Name = "rdbLat"; this.rdbLat.Size = new Size(0x7f, 0x13); this.rdbLat.TabIndex = 0; this.rdbLat.TabStop = true; this.rdbLat.Text = CommonResource.LONGITUDE_OR_LATITUDE; this.rdbLat.UseVisualStyleBackColor = true; this.rdbLat.MouseClick += new MouseEventHandler(this.rdbLat_MouseClick); this.rdbGeoXYPoint.AutoSize = true; this.rdbGeoXYPoint.Location = new Point(0x8f, 0x10); this.rdbGeoXYPoint.Margin = new Padding(3, 4, 3, 4); this.rdbGeoXYPoint.Name = "rdbGeoXYPoint"; this.rdbGeoXYPoint.Size = new Size(0x2a, 0x13); this.rdbGeoXYPoint.TabIndex = 1; this.rdbGeoXYPoint.Text = GISCtrlGResourceEx.GIS_X_Y; this.rdbGeoXYPoint.UseVisualStyleBackColor = true; this.rdbGeoXYPoint.MouseClick += new MouseEventHandler(this.rdbGeoXYPoint_MouseClick); base.AutoScaleDimensions = new SizeF(7f, 15f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = SystemColors.Control; base.ClientSize = new Size(0x26f, 0x177); base.Controls.Add(this.RegionProperty); base.Controls.Add(this.btnApply); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "PolygonPropertyForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Show; base.StartPosition = FormStartPosition.CenterScreen; this.Text = GISCtrlGResourceEx.GIS_POLYGON_PROPERTY; ((ISupportInitialize) this.PolygonPointsDGV).EndInit(); this.RegionProperty.ResumeLayout(false); this.tPRegionProperty.ResumeLayout(false); this.tPRegionProperty.PerformLayout(); this.PolygonList.ResumeLayout(false); this.PolygonList.PerformLayout(); base.ResumeLayout(false); base.KeyPreview = true; base.HelpButton = true; base.KeyDown += new KeyEventHandler(this.PolygonPropertyForm_KeyDown); base.HelpButtonClicked += new CancelEventHandler(this.PolygonPropertyForm_HelpButtonClicked); }
private void InitializeComponent() { this.btnOK = new Button(); this.btnCancel = new Button(); this.gbxSetting = new GroupBox(); this.pbtnNFColor = new PopupColorButton(); this.pbtnSFColor = new PopupColorButton(); this.lblNFColor = new Label(); this.lblSFColor = new Label(); this.gbxSetting.SuspendLayout(); base.SuspendLayout(); this.btnOK.Location = new Point(0x85, 0x76); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 0; this.btnOK.Text = GeneralResource.BUTTON_OK; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Location = new Point(0xd6, 0x76); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 1; this.btnCancel.Text = NEResource.NE_CANCEL; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); this.gbxSetting.Controls.Add(this.pbtnNFColor); this.gbxSetting.Controls.Add(this.pbtnSFColor); this.gbxSetting.Controls.Add(this.lblNFColor); this.gbxSetting.Controls.Add(this.lblSFColor); this.gbxSetting.Location = new Point(12, 12); this.gbxSetting.Name = "gbxSetting"; this.gbxSetting.Size = new Size(0x115, 100); this.gbxSetting.TabIndex = 2; this.gbxSetting.TabStop = false; this.gbxSetting.Text = NEResource.NE_SETTING; this.pbtnNFColor.Font = new Font("Arial", 9f); this.pbtnNFColor.Location = new Point(0x9e, 0x3d); this.pbtnNFColor.Margin = new Padding(3, 4, 3, 4); this.pbtnNFColor.Name = "pbtnNFColor"; this.pbtnNFColor.SelectedColor = SystemColors.Window; this.pbtnNFColor.Size = new Size(0x66, 20); this.pbtnNFColor.TabIndex = 11; this.pbtnSFColor.Font = new Font("Arial", 9f); this.pbtnSFColor.Location = new Point(0x9e, 0x19); this.pbtnSFColor.Margin = new Padding(3, 4, 3, 4); this.pbtnSFColor.Name = "pbtnSFColor"; this.pbtnSFColor.SelectedColor = SystemColors.Window; this.pbtnSFColor.Size = new Size(0x66, 20); this.pbtnSFColor.TabIndex = 10; this.lblNFColor.AutoSize = true; this.lblNFColor.Location = new Point(15, 0x3d); this.lblNFColor.Name = "lblNFColor"; this.lblNFColor.Size = new Size(0x79, 15); this.lblNFColor.TabIndex = 1; this.lblNFColor.Text = NEResource.NE_NEIGHBOR_FREQUENCY; this.lblSFColor.AutoSize = true; this.lblSFColor.Location = new Point(0x10, 30); this.lblSFColor.Name = "lblSFColor"; this.lblSFColor.Size = new Size(0x67, 15); this.lblSFColor.TabIndex = 0; this.lblSFColor.Text = NEResource.NE_SAME_FREQUENCY; base.AutoScaleDimensions = new SizeF(7f, 15f); // base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x12d, 0x98); base.Controls.Add(this.gbxSetting); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); // base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FrequencyColorSet"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterScreen; this.Text = NEResource.NE_FREQUENCY_COLOR_SETTING; base.Load += new EventHandler(this.FrequencyColorSet_Load); this.gbxSetting.ResumeLayout(false); this.gbxSetting.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this.ColorLbl = new Label(); this.btnOK = new Button(); this.btnCancel = new Button(); this.btnApply = new Button(); this.TrafficMap_popupColor = new PopupColorButton(); base.SuspendLayout(); this.ColorLbl.AutoSize = true; this.ColorLbl.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); this.ColorLbl.Location = new Point(12, 0x15); this.ColorLbl.Name = "ColorLbl"; this.ColorLbl.Size = new Size(0x5f, 12); this.ColorLbl.TabIndex = 0; this.ColorLbl.Text = TrafficMapResource.TRAFFICMAP_TRAFFICMAPCOLOR; this.btnOK.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); this.btnOK.Location = new Point(0x17, 0x41); this.btnOK.Margin = new Padding(3, 4, 3, 4); this.btnOK.Name = "btnOK"; this.btnOK.Size = new Size(0x4b, 0x17); this.btnOK.TabIndex = 2; this.btnOK.Text = GeneralResource.BUTTON_OK; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new EventHandler(this.btnOK_Click); this.btnCancel.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); this.btnCancel.Location = new Point(0x68, 0x41); this.btnCancel.Margin = new Padding(3, 4, 3, 4); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(0x4b, 0x17); this.btnCancel.TabIndex = 3; this.btnCancel.Text = GeneralResource.BUTTON_CANCEL; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); this.btnApply.Enabled = false; this.btnApply.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0x86); this.btnApply.Location = new Point(0xb9, 0x41); this.btnApply.Margin = new Padding(3, 4, 3, 4); this.btnApply.Name = "btnApply"; this.btnApply.Size = new Size(0x4b, 0x17); this.btnApply.TabIndex = 4; this.btnApply.Text = GeneralResource.BUTTON_APPLY; this.btnApply.UseVisualStyleBackColor = true; this.btnApply.Click += new EventHandler(this.btnApply_Click); this.TrafficMap_popupColor.Font = new Font("Arial", 9f); this.TrafficMap_popupColor.Location = new Point(0x85, 14); this.TrafficMap_popupColor.Margin = new Padding(3, 5, 3, 5); this.TrafficMap_popupColor.Name = "TrafficMap_popupColor"; this.TrafficMap_popupColor.SelectedColor = SystemColors.Window; this.TrafficMap_popupColor.Size = new Size(0x88, 0x1a); this.TrafficMap_popupColor.TabIndex = 1; this.TrafficMap_popupColor.SelectedColorChanged += new EventHandler(this.popupColorButton1_SelectedColorChanged); base.AutoScaleDimensions = new SizeF(7f, 15f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x11b, 0x72); base.Controls.Add(this.btnApply); base.Controls.Add(this.btnCancel); base.Controls.Add(this.btnOK); base.Controls.Add(this.TrafficMap_popupColor); base.Controls.Add(this.ColorLbl); this.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ColorSetUpFrom"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = TrafficMapResource.TRAFFICMAP_TRAFFICMAPSETUP; base.Load += new EventHandler(this.ColorSetUpFrom_Load); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this.btn_Cancel = new Button(); this.btn_OK = new Button(); this.label5 = new Label(); this.label4 = new Label(); this.label3 = new Label(); this.label2 = new Label(); this.label1 = new Label(); this.btn_Apply = new Button(); this.numericTextBox_Interval = new NumericTextBox(); this.popupColorButton_EndColor = new PopupColorButton(); this.popupColorButton_Start = new PopupColorButton(); this.numericTextBox_Last = new NumericTextBox(); this.numericTextBox_First = new NumericTextBox(); base.SuspendLayout(); this.btn_Cancel.DialogResult = DialogResult.Cancel; this.btn_Cancel.FlatStyle = FlatStyle.Popup; this.btn_Cancel.Location = new Point(0xbd, 0xbc); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.Size = new Size(0x4b, 0x17); this.btn_Cancel.TabIndex = 0x18; this.btn_Cancel.Text = GISCtrlGResourceEx.GIS_CANCEL; this.btn_Cancel.UseVisualStyleBackColor = true; this.btn_Cancel.Click += new EventHandler(this.btn_Cancel_Click); this.btn_OK.FlatStyle = FlatStyle.Popup; this.btn_OK.Location = new Point(0x5d, 0xbc); this.btn_OK.Name = "btn_OK"; this.btn_OK.Size = new Size(0x4b, 0x17); this.btn_OK.TabIndex = 0x17; this.btn_OK.Text = GISCtrlGResourceEx.GIS_OK; this.btn_OK.UseVisualStyleBackColor = true; this.btn_OK.Click += new EventHandler(this.btn_OK_Click); this.label5.AutoSize = true; this.label5.Location = new Point(0x15, 130); this.label5.Name = "label5"; this.label5.Size = new Size(0x35, 15); this.label5.TabIndex = 0x16; this.label5.Text = GISCtrlGResourceEx.GIS_INTERVALS; this.label4.AutoSize = true; this.label4.Location = new Point(0xbc, 0x55); this.label4.Name = "label4"; this.label4.Size = new Size(0x3e, 15); this.label4.TabIndex = 20; this.label4.Text = GISCtrlGResourceEx.GIS_END_COLOR; this.label3.AutoSize = true; this.label3.Location = new Point(0xbc, 0x24); this.label3.Name = "label3"; this.label3.Size = new Size(0x41, 15); this.label3.TabIndex = 0x13; this.label3.Text = GISCtrlGResourceEx.GIS_START_COLOR; this.label2.AutoSize = true; this.label2.Location = new Point(0x15, 0x55); this.label2.Name = "label2"; this.label2.Size = new Size(0x42, 15); this.label2.TabIndex = 0x10; this.label2.Text = GISCtrlGResourceEx.GIS_LAST_BREAK; this.label1.AutoSize = true; this.label1.Location = new Point(0x15, 0x24); this.label1.Name = "label1"; this.label1.Size = new Size(0x42, 15); this.label1.TabIndex = 15; this.label1.Text = GISCtrlGResourceEx.GIS_FIRST_BREAK; this.btn_Apply.Enabled = false; this.btn_Apply.FlatStyle = FlatStyle.Popup; this.btn_Apply.Location = new Point(0x11d, 0xbc); this.btn_Apply.Name = "btn_Apply"; this.btn_Apply.Size = new Size(0x4b, 0x17); this.btn_Apply.TabIndex = 0x19; this.btn_Apply.Text = GISCtrlGResourceEx.GIS_APPLY; this.btn_Apply.UseVisualStyleBackColor = true; this.btn_Apply.Click += new EventHandler(this.btn_Apply_Click); this.numericTextBox_Interval.AutoSize = true; this.numericTextBox_Interval.BackColor = SystemColors.ButtonHighlight; this.numericTextBox_Interval.BorderStyle = BorderStyle.Fixed3D; this.numericTextBox_Interval.CharExtensition = ""; this.numericTextBox_Interval.FloatPlaces = 0; this.numericTextBox_Interval.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); int[] bits = new int[4]; bits[0] = 1; this.numericTextBox_Interval.Increment = new decimal(bits); this.numericTextBox_Interval.Location = new Point(0x5d, 0x7a); this.numericTextBox_Interval.Margin = new Padding(3, 4, 3, 0); bits = new int[4]; bits[0] = 0x8000; this.numericTextBox_Interval.Maximum = new decimal(bits); bits = new int[4]; bits[0] = 1; this.numericTextBox_Interval.Minimum = new decimal(bits); this.numericTextBox_Interval.Name = "numericTextBox_Interval"; this.numericTextBox_Interval.ReadOnly = false; this.numericTextBox_Interval.Size = new Size(0x4b, 0x17); this.numericTextBox_Interval.TabIndex = 0x15; bits = new int[4]; bits[0] = 1; this.numericTextBox_Interval.Value = new decimal(bits); this.numericTextBox_Interval.ValueChanged += new EventHandler(this.numericTextBox_First_ValueChanged); this.popupColorButton_EndColor.Font = new Font("Arial", 9f); this.popupColorButton_EndColor.Location = new Point(0x103, 0x4d); this.popupColorButton_EndColor.Margin = new Padding(3, 4, 3, 4); this.popupColorButton_EndColor.Name = "popupColorButton_EndColor"; this.popupColorButton_EndColor.SelectedColor = SystemColors.Window; this.popupColorButton_EndColor.Size = new Size(0x65, 0x17); this.popupColorButton_EndColor.TabIndex = 0x12; this.popupColorButton_EndColor.SelectedColorChanged += new EventHandler(this.numericTextBox_First_ValueChanged); this.popupColorButton_Start.Font = new Font("Arial", 9f); this.popupColorButton_Start.Location = new Point(0x103, 0x1c); this.popupColorButton_Start.Margin = new Padding(3, 4, 3, 4); this.popupColorButton_Start.Name = "popupColorButton_Start"; this.popupColorButton_Start.SelectedColor = SystemColors.Window; this.popupColorButton_Start.Size = new Size(0x65, 0x17); this.popupColorButton_Start.TabIndex = 0x11; this.popupColorButton_Start.SelectedColorChanged += new EventHandler(this.numericTextBox_First_ValueChanged); this.numericTextBox_Last.AutoSize = true; this.numericTextBox_Last.BackColor = SystemColors.ButtonHighlight; this.numericTextBox_Last.BorderStyle = BorderStyle.Fixed3D; this.numericTextBox_Last.CharExtensition = ""; this.numericTextBox_Last.FloatPlaces = 1; this.numericTextBox_Last.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); bits = new int[4]; bits[0] = 1; this.numericTextBox_Last.Increment = new decimal(bits); this.numericTextBox_Last.Location = new Point(0x5d, 0x4d); this.numericTextBox_Last.Margin = new Padding(3, 4, 3, 0); bits = new int[4]; bits[0] = 0x8000; this.numericTextBox_Last.Maximum = new decimal(bits); bits = new int[4]; bits[0] = 0x8000; bits[3] = -2147483648; this.numericTextBox_Last.Minimum = new decimal(bits); this.numericTextBox_Last.Name = "numericTextBox_Last"; this.numericTextBox_Last.ReadOnly = false; this.numericTextBox_Last.Size = new Size(0x4b, 0x17); this.numericTextBox_Last.TabIndex = 14; bits = new int[4]; this.numericTextBox_Last.Value = new decimal(bits); this.numericTextBox_Last.ValueChanged += new EventHandler(this.numericTextBox_First_ValueChanged); this.numericTextBox_First.AutoSize = true; this.numericTextBox_First.BackColor = SystemColors.ButtonHighlight; this.numericTextBox_First.BorderStyle = BorderStyle.Fixed3D; this.numericTextBox_First.CharExtensition = ""; this.numericTextBox_First.FloatPlaces = 1; this.numericTextBox_First.Font = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); bits = new int[4]; bits[0] = 1; this.numericTextBox_First.Increment = new decimal(bits); this.numericTextBox_First.Location = new Point(0x5d, 0x1c); this.numericTextBox_First.Margin = new Padding(3, 4, 3, 0); bits = new int[4]; bits[0] = 0x8000; this.numericTextBox_First.Maximum = new decimal(bits); bits = new int[4]; bits[0] = 0x8000; bits[3] = -2147483648; this.numericTextBox_First.Minimum = new decimal(bits); this.numericTextBox_First.Name = "numericTextBox_First"; this.numericTextBox_First.ReadOnly = false; this.numericTextBox_First.Size = new Size(0x4b, 0x17); this.numericTextBox_First.TabIndex = 13; bits = new int[4]; this.numericTextBox_First.Value = new decimal(bits); this.numericTextBox_First.ValueChanged += new EventHandler(this.numericTextBox_First_ValueChanged); base.AcceptButton = this.btn_Cancel; base.AutoScaleDimensions = new SizeF(7f, 15f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = SystemColors.Info; base.CancelButton = this.btn_Cancel; base.ClientSize = new Size(0x182, 0xeb); base.Controls.Add(this.btn_Apply); base.Controls.Add(this.btn_Cancel); base.Controls.Add(this.btn_OK); base.Controls.Add(this.label5); base.Controls.Add(this.numericTextBox_Interval); base.Controls.Add(this.label4); base.Controls.Add(this.label3); base.Controls.Add(this.popupColorButton_EndColor); base.Controls.Add(this.popupColorButton_Start); base.Controls.Add(this.label2); base.Controls.Add(this.label1); base.Controls.Add(this.numericTextBox_Last); base.Controls.Add(this.numericTextBox_First); this.Font = new Font("Arial", 9f); base.FormBorderStyle = FormBorderStyle.FixedToolWindow; base.Margin = new Padding(3, 4, 3, 4); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ShadingForm"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = GISCtrlGResourceEx.GIS_SHADING; base.ResumeLayout(false); base.PerformLayout(); }