private void InitForm()
 {
     GroupLabel label = new GroupLabel();
     this.showHeaderCheck = new System.Windows.Forms.CheckBox();
     this.showFooterCheck = new System.Windows.Forms.CheckBox();
     GroupLabel label2 = new GroupLabel();
     this.allowSortingCheck = new System.Windows.Forms.CheckBox();
     label.SetBounds(4, 4, 0x1af, 0x10);
     label.Text = System.Design.SR.GetString("DGGen_HeaderFooterGroup");
     label.TabIndex = 8;
     label.TabStop = false;
     this.showHeaderCheck.SetBounds(12, 0x18, 160, 0x10);
     this.showHeaderCheck.TabIndex = 9;
     this.showHeaderCheck.Text = System.Design.SR.GetString("DGGen_ShowHeader");
     this.showHeaderCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.showHeaderCheck.FlatStyle = FlatStyle.System;
     this.showHeaderCheck.CheckedChanged += new EventHandler(this.OnCheckChangedShowHeader);
     this.showFooterCheck.SetBounds(12, 0x2c, 160, 0x10);
     this.showFooterCheck.TabIndex = 10;
     this.showFooterCheck.Text = System.Design.SR.GetString("DGGen_ShowFooter");
     this.showFooterCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.showFooterCheck.FlatStyle = FlatStyle.System;
     this.showFooterCheck.CheckedChanged += new EventHandler(this.OnCheckChangedShowFooter);
     label2.SetBounds(4, 70, 0x1af, 0x10);
     label2.Text = System.Design.SR.GetString("DGGen_BehaviorGroup");
     label2.TabIndex = 11;
     label2.TabStop = false;
     this.allowSortingCheck.SetBounds(12, 0x58, 160, 0x10);
     this.allowSortingCheck.Text = System.Design.SR.GetString("DGGen_AllowSorting");
     this.allowSortingCheck.TabIndex = 12;
     this.allowSortingCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.allowSortingCheck.FlatStyle = FlatStyle.System;
     this.allowSortingCheck.CheckedChanged += new EventHandler(this.OnCheckChangedAllowSorting);
     this.Text = System.Design.SR.GetString("DGGen_Text");
     base.AccessibleDescription = System.Design.SR.GetString("DGGen_Desc");
     base.Size = new Size(0x1d0, 0x110);
     base.CommitOnDeactivate = true;
     base.Icon = new Icon(base.GetType(), "DataGridGeneralPage.ico");
     base.Controls.Clear();
     base.Controls.AddRange(new Control[] { this.allowSortingCheck, label2, this.showFooterCheck, this.showHeaderCheck, label });
 }
コード例 #2
0
 private void InitForm()
 {
     this.autoColumnCheck = new System.Windows.Forms.CheckBox();
     GroupLabel label = new GroupLabel();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     this.availableColumnsTree = new System.Windows.Forms.TreeView();
     this.addColumnButton = new System.Windows.Forms.Button();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     this.selColumnsList = new ListView();
     this.moveColumnUpButton = new System.Windows.Forms.Button();
     this.moveColumnDownButton = new System.Windows.Forms.Button();
     this.deleteColumnButton = new System.Windows.Forms.Button();
     this.columnPropsGroup = new GroupLabel();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     this.columnHeaderTextEdit = new System.Windows.Forms.TextBox();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     this.columnHeaderImageEdit = new System.Windows.Forms.TextBox();
     this.columnHeaderImagePickerButton = new System.Windows.Forms.Button();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     this.columnFooterTextEdit = new System.Windows.Forms.TextBox();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     this.columnSortExprCombo = new ComboBox();
     this.columnVisibleCheck = new System.Windows.Forms.CheckBox();
     this.boundColumnEditor = new BoundColumnEditor();
     this.buttonColumnEditor = new ButtonColumnEditor();
     this.hyperLinkColumnEditor = new HyperLinkColumnEditor();
     this.editCommandColumnEditor = new EditCommandColumnEditor();
     this.templatizeLink = new LinkLabel();
     System.Drawing.Image image = System.Drawing.BitmapSelector.CreateBitmap(base.GetType(), "ColumnNodes.bmp");
     ImageList list = new ImageList {
         TransparentColor = Color.Magenta
     };
     list.Images.AddStrip(image);
     this.autoColumnCheck.SetBounds(4, 4, 400, 0x10);
     this.autoColumnCheck.Text = System.Design.SR.GetString("DGCol_AutoGen");
     this.autoColumnCheck.TabIndex = 0;
     this.autoColumnCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.autoColumnCheck.FlatStyle = FlatStyle.System;
     this.autoColumnCheck.CheckedChanged += new EventHandler(this.OnCheckChangedAutoColumn);
     this.autoColumnCheck.Name = "AutoColumnCheckBox";
     label.SetBounds(4, 0x18, 0x1af, 14);
     label.Text = System.Design.SR.GetString("DGCol_ColListGroup");
     label.TabStop = false;
     label.TabIndex = 1;
     label.Name = "ColumnListGroup";
     label2.SetBounds(12, 40, 0xb8, 0x10);
     label2.Text = System.Design.SR.GetString("DGCol_AvailableCols");
     label2.TabStop = false;
     label2.TabIndex = 2;
     label2.Name = "AvailableColumnsLabel";
     this.availableColumnsTree.SetBounds(12, 0x3a, 170, 0x58);
     this.availableColumnsTree.ImageList = list;
     this.availableColumnsTree.Indent = 5;
     this.availableColumnsTree.HideSelection = false;
     this.availableColumnsTree.TabIndex = 3;
     this.availableColumnsTree.AfterSelect += new TreeViewEventHandler(this.OnSelChangedAvailableColumns);
     this.availableColumnsTree.Name = "AvailableColumnsTree";
     this.addColumnButton.SetBounds(0xbb, 0x52, 0x1f, 0x18);
     this.addColumnButton.Text = ">";
     this.addColumnButton.TabIndex = 4;
     this.addColumnButton.FlatStyle = FlatStyle.System;
     this.addColumnButton.Click += new EventHandler(this.OnClickAddColumn);
     this.addColumnButton.Name = "AddColumnButton";
     this.addColumnButton.AccessibleName = System.Design.SR.GetString("DGCol_AddColButtonDesc");
     label3.SetBounds(0xe2, 40, 200, 14);
     label3.Text = System.Design.SR.GetString("DGCol_SelectedCols");
     label3.TabStop = false;
     label3.TabIndex = 5;
     label3.Name = "SelectedColumnsLabel";
     ColumnHeader header = new ColumnHeader {
         Width = 0xb0
     };
     this.selColumnsList.SetBounds(0xde, 0x3a, 180, 0x58);
     this.selColumnsList.Columns.Add(header);
     this.selColumnsList.SmallImageList = list;
     this.selColumnsList.View = System.Windows.Forms.View.Details;
     this.selColumnsList.HeaderStyle = ColumnHeaderStyle.None;
     this.selColumnsList.LabelWrap = false;
     this.selColumnsList.HideSelection = false;
     this.selColumnsList.MultiSelect = false;
     this.selColumnsList.TabIndex = 6;
     this.selColumnsList.SelectedIndexChanged += new EventHandler(this.OnSelIndexChangedSelColumnsList);
     this.selColumnsList.KeyDown += new KeyEventHandler(this.OnSelColumnsListKeyDown);
     this.selColumnsList.Name = "SelectedColumnsList";
     this.moveColumnUpButton.SetBounds(0x196, 0x3a, 0x1c, 0x1b);
     this.moveColumnUpButton.TabIndex = 7;
     Bitmap bitmap = System.Drawing.BitmapSelector.CreateIcon(base.GetType(), "SortUp.ico").ToBitmap();
     bitmap.MakeTransparent();
     this.moveColumnUpButton.Image = bitmap;
     this.moveColumnUpButton.Click += new EventHandler(this.OnClickMoveColumnUp);
     this.moveColumnUpButton.Name = "MoveColumnUpButton";
     this.moveColumnUpButton.AccessibleName = System.Design.SR.GetString("DGCol_MoveColumnUpButtonDesc");
     this.moveColumnDownButton.SetBounds(0x196, 0x58, 0x1c, 0x1b);
     this.moveColumnDownButton.TabIndex = 8;
     Bitmap bitmap2 = System.Drawing.BitmapSelector.CreateIcon(base.GetType(), "SortDown.ico").ToBitmap();
     bitmap2.MakeTransparent();
     this.moveColumnDownButton.Image = bitmap2;
     this.moveColumnDownButton.Click += new EventHandler(this.OnClickMoveColumnDown);
     this.moveColumnDownButton.Name = "MoveColumnDownButton";
     this.moveColumnDownButton.AccessibleName = System.Design.SR.GetString("DGCol_MoveColumnDownButtonDesc");
     this.deleteColumnButton.SetBounds(0x196, 0x76, 0x1c, 0x1b);
     this.deleteColumnButton.TabIndex = 9;
     Bitmap bitmap3 = System.Drawing.BitmapSelector.CreateIcon(base.GetType(), "Delete.ico").ToBitmap();
     bitmap3.MakeTransparent();
     this.deleteColumnButton.Image = bitmap3;
     this.deleteColumnButton.Click += new EventHandler(this.OnClickDeleteColumn);
     this.deleteColumnButton.Name = "DeleteColumnButton";
     this.deleteColumnButton.AccessibleName = System.Design.SR.GetString("DGCol_DeleteColumnButtonDesc");
     this.columnPropsGroup.SetBounds(8, 150, 0x1af, 14);
     this.columnPropsGroup.Text = System.Design.SR.GetString("DGCol_ColumnPropsGroup1");
     this.columnPropsGroup.TabStop = false;
     this.columnPropsGroup.TabIndex = 10;
     label4.SetBounds(20, 0xa6, 180, 14);
     label4.Text = System.Design.SR.GetString("DGCol_HeaderText");
     label4.TabStop = false;
     label4.TabIndex = 11;
     label4.Name = "ColumnHeaderTextLabel";
     this.columnHeaderTextEdit.SetBounds(20, 0xb6, 0xb6, 0x18);
     this.columnHeaderTextEdit.TabIndex = 12;
     this.columnHeaderTextEdit.TextChanged += new EventHandler(this.OnTextChangedColHeaderText);
     this.columnHeaderTextEdit.LostFocus += new EventHandler(this.OnLostFocusColHeaderText);
     this.columnHeaderTextEdit.Name = "ColumnHeaderTextEdit";
     label5.SetBounds(20, 0xd0, 180, 14);
     label5.Text = System.Design.SR.GetString("DGCol_HeaderImage");
     label5.TabStop = false;
     label5.TabIndex = 13;
     label5.Name = "ColumnHeaderImageLabel";
     this.columnHeaderImageEdit.SetBounds(20, 0xe0, 0x9c, 0x18);
     this.columnHeaderImageEdit.TabIndex = 14;
     this.columnHeaderImageEdit.TextChanged += new EventHandler(this.OnChangedColumnProperties);
     this.columnHeaderImageEdit.Name = "ColumnHeaderImageEdit";
     this.columnHeaderImagePickerButton.SetBounds(180, 0xdf, 0x18, 0x17);
     this.columnHeaderImagePickerButton.Text = "...";
     this.columnHeaderImagePickerButton.TabIndex = 15;
     this.columnHeaderImagePickerButton.FlatStyle = FlatStyle.System;
     this.columnHeaderImagePickerButton.Click += new EventHandler(this.OnClickColHeaderImagePicker);
     this.columnHeaderImagePickerButton.Name = "ColumnHeaderImagePickerButton";
     this.columnHeaderImagePickerButton.AccessibleName = System.Design.SR.GetString("DGCol_HeaderImagePickerDesc");
     label6.SetBounds(220, 0xa6, 180, 14);
     label6.Text = System.Design.SR.GetString("DGCol_FooterText");
     label6.TabStop = false;
     label6.TabIndex = 0x10;
     label6.Name = "ColumnFooterTextLabel";
     this.columnFooterTextEdit.SetBounds(220, 0xb6, 0xb6, 0x18);
     this.columnFooterTextEdit.TabIndex = 0x11;
     this.columnFooterTextEdit.TextChanged += new EventHandler(this.OnChangedColumnProperties);
     this.columnFooterTextEdit.Name = "ColumnFooterTextEdit";
     label7.SetBounds(220, 0xd0, 0x90, 0x10);
     label7.Text = System.Design.SR.GetString("DGCol_SortExpr");
     label7.TabStop = false;
     label7.TabIndex = 0x12;
     label7.Name = "ColumnSortExprLabel";
     this.columnSortExprCombo.SetBounds(220, 0xe0, 140, 0x15);
     this.columnSortExprCombo.TabIndex = 0x13;
     this.columnSortExprCombo.TextChanged += new EventHandler(this.OnChangedColumnProperties);
     this.columnSortExprCombo.SelectedIndexChanged += new EventHandler(this.OnChangedColumnProperties);
     this.columnSortExprCombo.Name = "ColumnSortExprCombo";
     this.columnVisibleCheck.SetBounds(0x170, 0xde, 100, 40);
     this.columnVisibleCheck.Text = System.Design.SR.GetString("DGCol_Visible");
     this.columnVisibleCheck.TabIndex = 20;
     this.columnVisibleCheck.FlatStyle = FlatStyle.System;
     this.columnVisibleCheck.CheckAlign = ContentAlignment.TopLeft;
     this.columnVisibleCheck.TextAlign = ContentAlignment.TopLeft;
     this.columnVisibleCheck.CheckedChanged += new EventHandler(this.OnChangedColumnProperties);
     this.columnVisibleCheck.Name = "ColumnVisibleCheckBox";
     this.boundColumnEditor.SetBounds(20, 250, 0x1a0, 0xa4);
     this.boundColumnEditor.TabIndex = 0x15;
     this.boundColumnEditor.Visible = false;
     this.boundColumnEditor.Changed += new EventHandler(this.OnChangedColumnProperties);
     this.buttonColumnEditor.SetBounds(20, 250, 0x1a0, 0xa4);
     this.buttonColumnEditor.TabIndex = 0x16;
     this.buttonColumnEditor.Visible = false;
     this.buttonColumnEditor.Changed += new EventHandler(this.OnChangedColumnProperties);
     this.hyperLinkColumnEditor.SetBounds(20, 250, 0x1a0, 0xa4);
     this.hyperLinkColumnEditor.TabIndex = 0x17;
     this.hyperLinkColumnEditor.Visible = false;
     this.hyperLinkColumnEditor.Changed += new EventHandler(this.OnChangedColumnProperties);
     this.editCommandColumnEditor.SetBounds(20, 250, 0x1a0, 0xa4);
     this.editCommandColumnEditor.TabIndex = 0x18;
     this.editCommandColumnEditor.Visible = false;
     this.editCommandColumnEditor.Changed += new EventHandler(this.OnChangedColumnProperties);
     this.templatizeLink.SetBounds(0x12, 0x19e, 400, 0x10);
     this.templatizeLink.TabIndex = 0x19;
     this.templatizeLink.Text = System.Design.SR.GetString("DGCol_Templatize");
     this.templatizeLink.Visible = false;
     this.templatizeLink.LinkClicked += new LinkLabelLinkClickedEventHandler(this.OnClickTemplatize);
     this.templatizeLink.Name = "TemplatizeLink";
     this.Text = System.Design.SR.GetString("DGCol_Text");
     base.AccessibleDescription = System.Design.SR.GetString("DGCol_Desc");
     base.Size = new Size(0x1d0, 0x1b0);
     base.CommitOnDeactivate = true;
     base.Icon = System.Drawing.BitmapSelector.CreateIcon(base.GetType(), "DataGridColumnsPage.ico");
     base.Controls.Clear();
     base.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.templatizeLink, this.editCommandColumnEditor, this.hyperLinkColumnEditor, this.buttonColumnEditor, this.boundColumnEditor, this.columnVisibleCheck, this.columnSortExprCombo, label7, this.columnFooterTextEdit, label6, this.columnHeaderImagePickerButton, this.columnHeaderImageEdit, label5, this.columnHeaderTextEdit, label4, this.columnPropsGroup,
         this.deleteColumnButton, this.moveColumnDownButton, this.moveColumnUpButton, this.selColumnsList, label3, this.addColumnButton, this.availableColumnsTree, label2, label, this.autoColumnCheck
      });
 }
 private void InitForm()
 {
     GroupLabel label = new GroupLabel();
     this.showHeaderCheck = new System.Windows.Forms.CheckBox();
     this.showFooterCheck = new System.Windows.Forms.CheckBox();
     GroupLabel label2 = new GroupLabel();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     this.repeatColumnsEdit = new NumberEdit();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     this.repeatDirectionCombo = new ComboBox();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     this.repeatLayoutCombo = new ComboBox();
     GroupLabel label6 = new GroupLabel();
     this.extractRowsCheck = new System.Windows.Forms.CheckBox();
     label.SetBounds(4, 4, 360, 0x10);
     label.Text = System.Design.SR.GetString("DLGen_HeaderFooterGroup");
     label.TabIndex = 7;
     label.TabStop = false;
     this.showHeaderCheck.SetBounds(8, 0x18, 170, 0x10);
     this.showHeaderCheck.TabIndex = 8;
     this.showHeaderCheck.Text = System.Design.SR.GetString("DLGen_ShowHeader");
     this.showHeaderCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.showHeaderCheck.FlatStyle = FlatStyle.System;
     this.showHeaderCheck.CheckedChanged += new EventHandler(this.OnCheckChangedShowHeader);
     this.showFooterCheck.SetBounds(8, 0x2a, 170, 0x10);
     this.showFooterCheck.TabIndex = 9;
     this.showFooterCheck.Text = System.Design.SR.GetString("DLGen_ShowFooter");
     this.showFooterCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.showFooterCheck.FlatStyle = FlatStyle.System;
     this.showFooterCheck.CheckedChanged += new EventHandler(this.OnCheckChangedShowFooter);
     label2.SetBounds(4, 0x44, 360, 0x10);
     label2.Text = System.Design.SR.GetString("DLGen_RepeatLayoutGroup");
     label2.TabIndex = 10;
     label2.TabStop = false;
     label3.SetBounds(8, 0x58, 0x6a, 0x10);
     label3.Text = System.Design.SR.GetString("DLGen_RepeatColumns");
     label3.TabStop = false;
     label3.TabIndex = 11;
     this.repeatColumnsEdit.SetBounds(0x70, 0x54, 40, 0x15);
     this.repeatColumnsEdit.AllowDecimal = false;
     this.repeatColumnsEdit.AllowNegative = false;
     this.repeatColumnsEdit.TabIndex = 12;
     this.repeatColumnsEdit.TextChanged += new EventHandler(this.OnChangedRepeatProps);
     label4.SetBounds(8, 0x71, 0x6a, 0x10);
     label4.Text = System.Design.SR.GetString("DLGen_RepeatDirection");
     label4.TabStop = false;
     label4.TabIndex = 13;
     this.repeatDirectionCombo.SetBounds(0x70, 0x6d, 140, 0x38);
     this.repeatDirectionCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.repeatDirectionCombo.Items.AddRange(new object[] { System.Design.SR.GetString("DLGen_RD_Horz"), System.Design.SR.GetString("DLGen_RD_Vert") });
     this.repeatDirectionCombo.TabIndex = 14;
     this.repeatDirectionCombo.SelectedIndexChanged += new EventHandler(this.OnChangedRepeatProps);
     label5.SetBounds(8, 0x8a, 0x6a, 0x10);
     label5.Text = System.Design.SR.GetString("DLGen_RepeatLayout");
     label5.TabStop = false;
     label5.TabIndex = 15;
     this.repeatLayoutCombo.SetBounds(0x70, 0x86, 140, 0x15);
     this.repeatLayoutCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.repeatLayoutCombo.Items.AddRange(new object[] { System.Design.SR.GetString("DLGen_RL_Table"), System.Design.SR.GetString("DLGen_RL_Flow") });
     this.repeatLayoutCombo.TabIndex = 0x10;
     this.repeatLayoutCombo.SelectedIndexChanged += new EventHandler(this.OnChangedRepeatProps);
     label6.SetBounds(4, 0xa2, 360, 0x10);
     label6.Text = System.Design.SR.GetString("DLGen_Templates");
     label6.TabIndex = 0x11;
     label6.TabStop = false;
     label6.Visible = false;
     this.extractRowsCheck.SetBounds(8, 0xb6, 260, 0x10);
     this.extractRowsCheck.Text = System.Design.SR.GetString("DLGen_ExtractRows");
     this.extractRowsCheck.TabIndex = 0x12;
     this.extractRowsCheck.Visible = false;
     this.extractRowsCheck.FlatStyle = FlatStyle.System;
     this.extractRowsCheck.CheckedChanged += new EventHandler(this.OnCheckChangedExtractRows);
     this.Text = System.Design.SR.GetString("DLGen_Text");
     base.AccessibleDescription = System.Design.SR.GetString("DLGen_Desc");
     base.Size = new Size(0x170, 280);
     base.CommitOnDeactivate = true;
     base.Icon = new Icon(base.GetType(), "DataListGeneralPage.ico");
     base.Controls.Clear();
     base.Controls.AddRange(new Control[] { this.extractRowsCheck, label6, this.repeatLayoutCombo, label5, this.repeatDirectionCombo, label4, this.repeatColumnsEdit, label3, label2, this.showFooterCheck, this.showHeaderCheck, label });
 }
 private void InitForm()
 {
     GroupLabel label = new GroupLabel();
     this.allowPagingCheck = new System.Windows.Forms.CheckBox();
     this.allowCustomPagingCheck = new System.Windows.Forms.CheckBox();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     this.pageSizeEdit = new NumberEdit();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     GroupLabel label4 = new GroupLabel();
     this.visibleCheck = new System.Windows.Forms.CheckBox();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     this.posCombo = new ComboBox();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     this.modeCombo = new ComboBox();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     this.nextPageTextEdit = new System.Windows.Forms.TextBox();
     System.Windows.Forms.Label label8 = new System.Windows.Forms.Label();
     this.prevPageTextEdit = new System.Windows.Forms.TextBox();
     System.Windows.Forms.Label label9 = new System.Windows.Forms.Label();
     this.pageButtonCountEdit = new NumberEdit();
     label.SetBounds(4, 4, 0x1af, 0x10);
     label.Text = System.Design.SR.GetString("DGPg_PagingGroup");
     label.TabStop = false;
     label.TabIndex = 0;
     this.allowPagingCheck.SetBounds(12, 0x18, 180, 0x10);
     this.allowPagingCheck.Text = System.Design.SR.GetString("DGPg_AllowPaging");
     this.allowPagingCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.allowPagingCheck.TabIndex = 1;
     this.allowPagingCheck.FlatStyle = FlatStyle.System;
     this.allowPagingCheck.CheckedChanged += new EventHandler(this.OnCheckChangedAllowPaging);
     this.allowCustomPagingCheck.SetBounds(220, 0x18, 180, 0x10);
     this.allowCustomPagingCheck.Text = System.Design.SR.GetString("DGPg_AllowCustomPaging");
     this.allowCustomPagingCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.allowCustomPagingCheck.TabIndex = 2;
     this.allowCustomPagingCheck.FlatStyle = FlatStyle.System;
     this.allowCustomPagingCheck.CheckedChanged += new EventHandler(this.OnCheckChangedAllowCustomPaging);
     label2.SetBounds(12, 50, 100, 14);
     label2.Text = System.Design.SR.GetString("DGPg_PageSize");
     label2.TabStop = false;
     label2.TabIndex = 3;
     this.pageSizeEdit.SetBounds(0x70, 0x2e, 40, 0x18);
     this.pageSizeEdit.TabIndex = 4;
     this.pageSizeEdit.AllowDecimal = false;
     this.pageSizeEdit.AllowNegative = false;
     this.pageSizeEdit.TextChanged += new EventHandler(this.OnTextChangedPageSize);
     label3.SetBounds(0x9e, 50, 80, 14);
     label3.Text = System.Design.SR.GetString("DGPg_Rows");
     label3.TabStop = false;
     label3.TabIndex = 5;
     label4.SetBounds(4, 0x4e, 0x1af, 14);
     label4.Text = System.Design.SR.GetString("DGPg_NavigationGroup");
     label4.TabStop = false;
     label4.TabIndex = 6;
     this.visibleCheck.SetBounds(12, 100, 260, 0x10);
     this.visibleCheck.Text = System.Design.SR.GetString("DGPg_Visible");
     this.visibleCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.visibleCheck.TabIndex = 7;
     this.visibleCheck.FlatStyle = FlatStyle.System;
     this.visibleCheck.CheckedChanged += new EventHandler(this.OnCheckChangedVisible);
     label5.SetBounds(12, 0x7a, 150, 14);
     label5.Text = System.Design.SR.GetString("DGPg_Position");
     label5.TabStop = false;
     label5.TabIndex = 8;
     this.posCombo.SetBounds(12, 0x8a, 0x90, 0x15);
     this.posCombo.TabIndex = 9;
     this.posCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.posCombo.Items.AddRange(new object[] { System.Design.SR.GetString("DGPg_Pos_Top"), System.Design.SR.GetString("DGPg_Pos_Bottom"), System.Design.SR.GetString("DGPg_Pos_TopBottom") });
     this.posCombo.SelectedIndexChanged += new EventHandler(this.OnPagerChanged);
     label6.SetBounds(12, 0xa6, 150, 14);
     label6.Text = System.Design.SR.GetString("DGPg_Mode");
     label6.TabStop = false;
     label6.TabIndex = 10;
     this.modeCombo.SetBounds(12, 0xb6, 0x90, 0x40);
     this.modeCombo.TabIndex = 11;
     this.modeCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.modeCombo.Items.AddRange(new object[] { System.Design.SR.GetString("DGPg_Mode_Buttons"), System.Design.SR.GetString("DGPg_Mode_Numbers") });
     this.modeCombo.SelectedIndexChanged += new EventHandler(this.OnPagerChanged);
     label7.SetBounds(12, 210, 200, 14);
     label7.Text = System.Design.SR.GetString("DGPg_NextPage");
     label7.TabStop = false;
     label7.TabIndex = 12;
     this.nextPageTextEdit.SetBounds(12, 0xe2, 0x90, 0x18);
     this.nextPageTextEdit.TabIndex = 13;
     this.nextPageTextEdit.TextChanged += new EventHandler(this.OnPagerChanged);
     label8.SetBounds(220, 210, 200, 14);
     label8.Text = System.Design.SR.GetString("DGPg_PrevPage");
     label8.TabStop = false;
     label8.TabIndex = 14;
     this.prevPageTextEdit.SetBounds(220, 0xe2, 140, 0x18);
     this.prevPageTextEdit.TabIndex = 15;
     this.prevPageTextEdit.TextChanged += new EventHandler(this.OnPagerChanged);
     label9.SetBounds(12, 0xfe, 200, 14);
     label9.Text = System.Design.SR.GetString("DGPg_ButtonCount");
     label9.TabStop = false;
     label9.TabIndex = 0x10;
     this.pageButtonCountEdit.SetBounds(12, 270, 40, 0x18);
     this.pageButtonCountEdit.TabIndex = 0x11;
     this.pageButtonCountEdit.AllowDecimal = false;
     this.pageButtonCountEdit.AllowNegative = false;
     this.pageButtonCountEdit.TextChanged += new EventHandler(this.OnPagerChanged);
     this.Text = System.Design.SR.GetString("DGPg_Text");
     base.AccessibleDescription = System.Design.SR.GetString("DGPg_Desc");
     base.Size = new Size(0x1d0, 300);
     base.CommitOnDeactivate = true;
     base.Icon = new Icon(base.GetType(), "DataGridPagingPage.ico");
     base.Controls.Clear();
     base.Controls.AddRange(new Control[] { 
         this.pageButtonCountEdit, label9, this.prevPageTextEdit, label8, this.nextPageTextEdit, label7, this.modeCombo, label6, this.posCombo, label5, this.visibleCheck, label4, label3, this.pageSizeEdit, label2, this.allowCustomPagingCheck, 
         this.allowPagingCheck, label
      });
 }
コード例 #5
0
 private void InitForm()
 {
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.formatTree = new System.Windows.Forms.TreeView();
     this.stylePanel = new System.Windows.Forms.Panel();
     GroupLabel label2 = new GroupLabel();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     this.foreColorCombo = new ColorComboBox();
     this.foreColorPickerButton = new System.Windows.Forms.Button();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     this.backColorCombo = new ColorComboBox();
     this.backColorPickerButton = new System.Windows.Forms.Button();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     this.fontNameCombo = new ComboBox();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     this.fontSizeCombo = new UnsettableComboBox();
     this.fontSizeUnit = new UnitControl();
     this.boldCheck = new System.Windows.Forms.CheckBox();
     this.italicCheck = new System.Windows.Forms.CheckBox();
     this.underlineCheck = new System.Windows.Forms.CheckBox();
     this.strikeOutCheck = new System.Windows.Forms.CheckBox();
     this.overlineCheck = new System.Windows.Forms.CheckBox();
     GroupLabel label7 = new GroupLabel();
     System.Windows.Forms.Label label8 = new System.Windows.Forms.Label();
     this.horzAlignCombo = new UnsettableComboBox();
     this.vertAlignLabel = new System.Windows.Forms.Label();
     this.vertAlignCombo = new UnsettableComboBox();
     this.allowWrappingCheck = new System.Windows.Forms.CheckBox();
     GroupLabel label9 = null;
     System.Windows.Forms.Label label10 = null;
     if (base.IsDataGridMode)
     {
         this.columnPanel = new System.Windows.Forms.Panel();
         label9 = new GroupLabel();
         label10 = new System.Windows.Forms.Label();
         this.widthUnit = new UnitControl();
     }
     label.SetBounds(4, 4, 0x6f, 14);
     label.Text = System.Design.SR.GetString("BDLFmt_Objects");
     label.TabStop = false;
     label.TabIndex = 2;
     this.formatTree.SetBounds(4, 20, 0xa2, 350);
     this.formatTree.HideSelection = false;
     this.formatTree.TabIndex = 3;
     this.formatTree.AfterSelect += new TreeViewEventHandler(this.OnSelChangedFormatObject);
     this.stylePanel.SetBounds(0xb1, 4, 230, 370);
     this.stylePanel.TabIndex = 6;
     this.stylePanel.Visible = false;
     label2.SetBounds(0, 2, 0xe0, 14);
     label2.Text = System.Design.SR.GetString("BDLFmt_AppearanceGroup");
     label2.TabStop = false;
     label2.TabIndex = 1;
     label3.SetBounds(8, 0x13, 160, 14);
     label3.Text = System.Design.SR.GetString("BDLFmt_ForeColor");
     label3.TabStop = false;
     label3.TabIndex = 2;
     this.foreColorCombo.SetBounds(8, 0x25, 0x66, 0x16);
     this.foreColorCombo.TabIndex = 3;
     this.foreColorCombo.TextChanged += new EventHandler(this.OnFormatChanged);
     this.foreColorCombo.SelectedIndexChanged += new EventHandler(this.OnFormatChanged);
     this.foreColorPickerButton.SetBounds(0x72, 0x24, 0x18, 0x16);
     this.foreColorPickerButton.TabIndex = 4;
     this.foreColorPickerButton.Text = "...";
     this.foreColorPickerButton.FlatStyle = FlatStyle.System;
     this.foreColorPickerButton.Click += new EventHandler(this.OnClickForeColorPicker);
     this.foreColorPickerButton.AccessibleName = System.Design.SR.GetString("BDLFmt_ChooseColorButton");
     this.foreColorPickerButton.AccessibleDescription = System.Design.SR.GetString("BDLFmt_ChooseForeColorDesc");
     label4.SetBounds(8, 0x3e, 160, 14);
     label4.Text = System.Design.SR.GetString("BDLFmt_BackColor");
     label4.TabStop = false;
     label4.TabIndex = 5;
     this.backColorCombo.SetBounds(8, 0x4e, 0x66, 0x16);
     this.backColorCombo.TabIndex = 6;
     this.backColorCombo.TextChanged += new EventHandler(this.OnFormatChanged);
     this.backColorCombo.SelectedIndexChanged += new EventHandler(this.OnFormatChanged);
     this.backColorPickerButton.SetBounds(0x72, 0x4d, 0x18, 0x16);
     this.backColorPickerButton.TabIndex = 7;
     this.backColorPickerButton.Text = "...";
     this.backColorPickerButton.FlatStyle = FlatStyle.System;
     this.backColorPickerButton.Click += new EventHandler(this.OnClickBackColorPicker);
     this.backColorPickerButton.AccessibleName = System.Design.SR.GetString("BDLFmt_ChooseColorButton");
     this.backColorPickerButton.AccessibleDescription = System.Design.SR.GetString("BDLFmt_ChooseBackColorDesc");
     label5.SetBounds(8, 0x68, 160, 14);
     label5.Text = System.Design.SR.GetString("BDLFmt_FontName");
     label5.TabStop = false;
     label5.TabIndex = 8;
     this.fontNameCombo.SetBounds(8, 120, 200, 0x16);
     this.fontNameCombo.Sorted = true;
     this.fontNameCombo.TabIndex = 9;
     this.fontNameCombo.SelectedIndexChanged += new EventHandler(this.OnFontNameChanged);
     this.fontNameCombo.TextChanged += new EventHandler(this.OnFontNameChanged);
     label6.SetBounds(8, 0x92, 160, 14);
     label6.Text = System.Design.SR.GetString("BDLFmt_FontSize");
     label6.TabStop = false;
     label6.TabIndex = 10;
     this.fontSizeCombo.SetBounds(8, 0xa2, 100, 0x16);
     this.fontSizeCombo.TabIndex = 11;
     this.fontSizeCombo.MaxDropDownItems = 11;
     this.fontSizeCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.fontSizeCombo.Items.AddRange(new object[] { System.Design.SR.GetString("BDLFmt_FS_Smaller"), System.Design.SR.GetString("BDLFmt_FS_Larger"), System.Design.SR.GetString("BDLFmt_FS_XXSmall"), System.Design.SR.GetString("BDLFmt_FS_XSmall"), System.Design.SR.GetString("BDLFmt_FS_Small"), System.Design.SR.GetString("BDLFmt_FS_Medium"), System.Design.SR.GetString("BDLFmt_FS_Large"), System.Design.SR.GetString("BDLFmt_FS_XLarge"), System.Design.SR.GetString("BDLFmt_FS_XXLarge"), System.Design.SR.GetString("BDLFmt_FS_Custom") });
     this.fontSizeCombo.SelectedIndexChanged += new EventHandler(this.OnFontSizeChanged);
     this.fontSizeUnit.SetBounds(0x70, 0xa2, 0x60, 0x16);
     this.fontSizeUnit.AllowNegativeValues = false;
     this.fontSizeUnit.TabIndex = 12;
     this.fontSizeUnit.Changed += new EventHandler(this.OnFormatChanged);
     this.fontSizeUnit.ValueAccessibleDescription = System.Design.SR.GetString("BDLFmt_FontSizeValueDesc");
     this.fontSizeUnit.ValueAccessibleName = System.Design.SR.GetString("BDLFmt_FontSizeValueName");
     this.fontSizeUnit.UnitAccessibleDescription = System.Design.SR.GetString("BDLFmt_FontSizeUnitDesc");
     this.fontSizeUnit.UnitAccessibleName = System.Design.SR.GetString("BDLFmt_FontSizeUnitName");
     this.boldCheck.SetBounds(8, 0xba, 0x6a, 20);
     this.boldCheck.Text = System.Design.SR.GetString("BDLFmt_FontBold");
     this.boldCheck.TabIndex = 13;
     this.boldCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.boldCheck.FlatStyle = FlatStyle.System;
     this.boldCheck.CheckedChanged += new EventHandler(this.OnFormatChanged);
     this.italicCheck.SetBounds(8, 0xcc, 0x6a, 20);
     this.italicCheck.Text = System.Design.SR.GetString("BDLFmt_FontItalic");
     this.italicCheck.TabIndex = 14;
     this.italicCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.italicCheck.FlatStyle = FlatStyle.System;
     this.italicCheck.CheckedChanged += new EventHandler(this.OnFormatChanged);
     this.underlineCheck.SetBounds(8, 0xde, 0x6a, 20);
     this.underlineCheck.Text = System.Design.SR.GetString("BDLFmt_FontUnderline");
     this.underlineCheck.TabIndex = 15;
     this.underlineCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.underlineCheck.FlatStyle = FlatStyle.System;
     this.underlineCheck.CheckedChanged += new EventHandler(this.OnFormatChanged);
     this.strikeOutCheck.SetBounds(120, 0xba, 0x6a, 20);
     this.strikeOutCheck.Text = System.Design.SR.GetString("BDLFmt_FontStrikeout");
     this.strikeOutCheck.TabIndex = 0x10;
     this.strikeOutCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.strikeOutCheck.FlatStyle = FlatStyle.System;
     this.strikeOutCheck.CheckedChanged += new EventHandler(this.OnFormatChanged);
     this.overlineCheck.SetBounds(120, 0xcc, 0x6a, 20);
     this.overlineCheck.Text = System.Design.SR.GetString("BDLFmt_FontOverline");
     this.overlineCheck.TabIndex = 0x11;
     this.overlineCheck.TextAlign = ContentAlignment.MiddleLeft;
     this.overlineCheck.FlatStyle = FlatStyle.System;
     this.overlineCheck.CheckedChanged += new EventHandler(this.OnFormatChanged);
     label7.SetBounds(0, 0xf6, 0xe0, 14);
     label7.Text = System.Design.SR.GetString("BDLFmt_AlignmentGroup");
     label7.TabStop = false;
     label7.TabIndex = 0x12;
     label8.SetBounds(8, 0x108, 160, 14);
     label8.Text = System.Design.SR.GetString("BDLFmt_HorzAlign");
     label8.TabStop = false;
     label8.TabIndex = 0x13;
     this.horzAlignCombo.SetBounds(8, 280, 190, 0x16);
     this.horzAlignCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.horzAlignCombo.Items.AddRange(new object[] { System.Design.SR.GetString("BDLFmt_HA_Left"), System.Design.SR.GetString("BDLFmt_HA_Center"), System.Design.SR.GetString("BDLFmt_HA_Right"), System.Design.SR.GetString("BDLFmt_HA_Justify") });
     this.horzAlignCombo.TabIndex = 20;
     this.horzAlignCombo.SelectedIndexChanged += new EventHandler(this.OnFormatChanged);
     this.vertAlignLabel.SetBounds(8, 0x132, 160, 14);
     this.vertAlignLabel.Text = System.Design.SR.GetString("BDLFmt_VertAlign");
     this.vertAlignLabel.TabStop = false;
     this.vertAlignLabel.TabIndex = 0x15;
     this.vertAlignCombo.SetBounds(8, 0x142, 190, 0x16);
     this.vertAlignCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.vertAlignCombo.Items.AddRange(new object[] { System.Design.SR.GetString("BDLFmt_VA_Top"), System.Design.SR.GetString("BDLFmt_VA_Middle"), System.Design.SR.GetString("BDLFmt_VA_Bottom") });
     this.vertAlignCombo.TabIndex = 0x16;
     this.vertAlignCombo.SelectedIndexChanged += new EventHandler(this.OnFormatChanged);
     this.allowWrappingCheck.SetBounds(8, 0x15c, 200, 0x11);
     this.allowWrappingCheck.Text = System.Design.SR.GetString("BDLFmt_AllowWrapping");
     this.allowWrappingCheck.TabIndex = 0x18;
     this.allowWrappingCheck.FlatStyle = FlatStyle.System;
     this.allowWrappingCheck.CheckedChanged += new EventHandler(this.OnFormatChanged);
     if (base.IsDataGridMode)
     {
         this.columnPanel.SetBounds(0xb1, 4, 0x117, 350);
         this.columnPanel.TabIndex = 7;
         this.columnPanel.Visible = false;
         label9.SetBounds(0, 0, 0x117, 14);
         label9.Text = System.Design.SR.GetString("BDLFmt_LayoutGroup");
         label9.TabStop = false;
         label9.TabIndex = 0;
         label10.SetBounds(8, 20, 0x40, 14);
         label10.Text = System.Design.SR.GetString("BDLFmt_Width");
         label10.TabStop = false;
         label10.TabIndex = 1;
         this.widthUnit.SetBounds(80, 0x11, 0x66, 0x16);
         this.widthUnit.AllowNegativeValues = false;
         this.widthUnit.DefaultUnit = 0;
         this.widthUnit.TabIndex = 2;
         this.widthUnit.Changed += new EventHandler(this.OnFormatChanged);
         this.widthUnit.ValueAccessibleName = System.Design.SR.GetString("BDLFmt_WidthValueName");
         this.widthUnit.ValueAccessibleDescription = System.Design.SR.GetString("BDLFmt_WidthValueDesc");
         this.widthUnit.UnitAccessibleName = System.Design.SR.GetString("BDLFmt_WidthUnitName");
         this.widthUnit.UnitAccessibleDescription = System.Design.SR.GetString("BDLFmt_WidthUnitDesc");
     }
     this.Text = System.Design.SR.GetString("BDLFmt_Text");
     base.AccessibleDescription = System.Design.SR.GetString("BDLFmt_Desc");
     base.Size = new Size(0x198, 370);
     base.CommitOnDeactivate = true;
     base.Icon = new Icon(base.GetType(), "FormatPage.ico");
     this.stylePanel.Controls.Clear();
     this.stylePanel.Controls.AddRange(new Control[] { 
         this.allowWrappingCheck, this.vertAlignCombo, this.vertAlignLabel, this.horzAlignCombo, label8, label7, this.overlineCheck, this.strikeOutCheck, this.underlineCheck, this.italicCheck, this.boldCheck, this.fontSizeUnit, this.fontSizeCombo, label6, this.fontNameCombo, label5, 
         this.backColorPickerButton, this.backColorCombo, label4, this.foreColorPickerButton, this.foreColorCombo, label3, label2
      });
     if (base.IsDataGridMode)
     {
         this.columnPanel.Controls.Clear();
         this.columnPanel.Controls.AddRange(new Control[] { this.widthUnit, label10, label9 });
         base.Controls.Clear();
         base.Controls.AddRange(new Control[] { this.columnPanel, this.stylePanel, this.formatTree, label });
     }
     else
     {
         base.Controls.Clear();
         base.Controls.AddRange(new Control[] { this.stylePanel, this.formatTree, label });
     }
 }
コード例 #6
0
 private void InitForm()
 {
     GroupLabel label = new GroupLabel();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     this.cellPaddingEdit = new NumberEdit();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     this.cellSpacingEdit = new NumberEdit();
     GroupLabel label4 = new GroupLabel();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     this.gridLinesCombo = new ComboBox();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     this.borderColorCombo = new ColorComboBox();
     this.borderColorPickerButton = new System.Windows.Forms.Button();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     this.borderWidthUnit = new UnitControl();
     label.SetBounds(4, 4, 300, 0x10);
     label.Text = System.Design.SR.GetString("BDLBor_CellMarginsGroup");
     label.TabStop = false;
     label.TabIndex = 0;
     label2.Text = System.Design.SR.GetString("BDLBor_CellPadding");
     label2.SetBounds(12, 0x18, 120, 14);
     label2.TabStop = false;
     label2.TabIndex = 1;
     this.cellPaddingEdit.SetBounds(12, 40, 70, 20);
     this.cellPaddingEdit.AllowDecimal = false;
     this.cellPaddingEdit.AllowNegative = false;
     this.cellPaddingEdit.TabIndex = 2;
     this.cellPaddingEdit.TextChanged += new EventHandler(this.OnBordersChanged);
     label3.Text = System.Design.SR.GetString("BDLBor_CellSpacing");
     label3.SetBounds(160, 0x18, 120, 14);
     label3.TabStop = false;
     label3.TabIndex = 3;
     this.cellSpacingEdit.SetBounds(160, 40, 70, 20);
     this.cellSpacingEdit.AllowDecimal = false;
     this.cellSpacingEdit.AllowNegative = false;
     this.cellSpacingEdit.TabIndex = 4;
     this.cellSpacingEdit.TextChanged += new EventHandler(this.OnBordersChanged);
     label4.SetBounds(4, 70, 300, 0x10);
     label4.Text = System.Design.SR.GetString("BDLBor_BorderLinesGroup");
     label4.TabStop = false;
     label4.TabIndex = 5;
     label5.Text = System.Design.SR.GetString("BDLBor_GridLines");
     label5.SetBounds(12, 90, 150, 14);
     label5.TabStop = false;
     label5.TabIndex = 6;
     this.gridLinesCombo.SetBounds(12, 0x6a, 140, 0x15);
     this.gridLinesCombo.DropDownStyle = ComboBoxStyle.DropDownList;
     this.gridLinesCombo.Items.Clear();
     this.gridLinesCombo.Items.AddRange(new object[] { System.Design.SR.GetString("BDLBor_GL_Horz"), System.Design.SR.GetString("BDLBor_GL_Vert"), System.Design.SR.GetString("BDLBor_GL_Both"), System.Design.SR.GetString("BDLBor_GL_None") });
     this.gridLinesCombo.TabIndex = 7;
     this.gridLinesCombo.SelectedIndexChanged += new EventHandler(this.OnBordersChanged);
     label6.Text = System.Design.SR.GetString("BDLBor_BorderColor");
     label6.SetBounds(12, 0x86, 150, 14);
     label6.TabStop = false;
     label6.TabIndex = 8;
     this.borderColorCombo.SetBounds(12, 150, 140, 0x15);
     this.borderColorCombo.TabIndex = 9;
     this.borderColorCombo.TextChanged += new EventHandler(this.OnBordersChanged);
     this.borderColorCombo.SelectedIndexChanged += new EventHandler(this.OnBordersChanged);
     this.borderColorPickerButton.SetBounds(0x9c, 0x95, 0x18, 0x16);
     this.borderColorPickerButton.Text = "...";
     this.borderColorPickerButton.TabIndex = 10;
     this.borderColorPickerButton.FlatStyle = FlatStyle.System;
     this.borderColorPickerButton.Click += new EventHandler(this.OnClickColorPicker);
     this.borderColorPickerButton.AccessibleName = System.Design.SR.GetString("BDLBor_ChooseColorButton");
     this.borderColorPickerButton.AccessibleDescription = System.Design.SR.GetString("BDLBor_ChooseColorDesc");
     label7.Text = System.Design.SR.GetString("BDLBor_BorderWidth");
     label7.SetBounds(12, 0xb2, 150, 14);
     label7.TabStop = false;
     label7.TabIndex = 11;
     this.borderWidthUnit.SetBounds(12, 0xc2, 0x66, 0x16);
     this.borderWidthUnit.AllowNegativeValues = false;
     this.borderWidthUnit.AllowPercentValues = false;
     this.borderWidthUnit.DefaultUnit = 0;
     this.borderWidthUnit.TabIndex = 12;
     this.borderWidthUnit.Changed += new EventHandler(this.OnBordersChanged);
     this.borderWidthUnit.ValueAccessibleDescription = System.Design.SR.GetString("BDLBor_BorderWidthValueDesc");
     this.borderWidthUnit.ValueAccessibleName = System.Design.SR.GetString("BDLBor_BorderWidthValueName");
     this.borderWidthUnit.UnitAccessibleDescription = System.Design.SR.GetString("BDLBor_BorderWidthUnitDesc");
     this.borderWidthUnit.UnitAccessibleName = System.Design.SR.GetString("BDLBor_BorderWidthUnitName");
     this.Text = System.Design.SR.GetString("BDLBor_Text");
     base.AccessibleDescription = System.Design.SR.GetString("BDLBor_Desc");
     base.Size = new Size(0x134, 0x9c);
     base.CommitOnDeactivate = true;
     base.Icon = new Icon(base.GetType(), "BordersPage.ico");
     base.Controls.Clear();
     base.Controls.AddRange(new Control[] { this.borderWidthUnit, label7, this.borderColorPickerButton, this.borderColorCombo, label6, this.gridLinesCombo, label5, label4, this.cellSpacingEdit, label3, this.cellPaddingEdit, label2, label });
 }