当前位置: 首页>>代码示例>>C#>>正文


C# GroupBox.set_Dock方法代码示例

本文整理汇总了C#中System.Windows.Forms.GroupBox.set_Dock方法的典型用法代码示例。如果您正苦于以下问题:C# GroupBox.set_Dock方法的具体用法?C# GroupBox.set_Dock怎么用?C# GroupBox.set_Dock使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.Forms.GroupBox的用法示例。


在下文中一共展示了GroupBox.set_Dock方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_OwnerNameEdit = new System.Windows.Forms.TextBox();
     this.m_OwnerNameLabel = new System.Windows.Forms.Label();
     this.m_SearchByAddressRadio = new System.Windows.Forms.RadioButton();
     this.m_AccountEdit = new System.Windows.Forms.TextBox();
     this.m_AccountLabel = new System.Windows.Forms.Label();
     this.m_ApartmentLabel = new System.Windows.Forms.Label();
     this.m_ApartmentNumberEdit = new System.Windows.Forms.TextBox();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_SearchWorker = new BackgroundWorker();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.m_SearchByNumbersRadio = new System.Windows.Forms.RadioButton();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.treeAccount = new AccountTree();
     this.m_LocalAddressSelector = new LocalAddressSelector();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.bsAccountApartment.BeginInit();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.m_OwnerNameEdit);
     box.Controls.Add(this.m_OwnerNameLabel);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Top);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0x55));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x114, 0xb0));
     box.set_TabIndex(4);
     box.set_TabStop(false);
     this.m_OwnerNameEdit.set_CharacterCasing(System.Windows.Forms.CharacterCasing.Upper);
     this.m_OwnerNameEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameEdit.set_Location(new System.Drawing.Point(3, 0x99));
     this.m_OwnerNameEdit.set_Name("m_OwnerNameEdit");
     this.m_OwnerNameEdit.set_Size(new System.Drawing.Size(270, 20));
     this.m_OwnerNameEdit.set_TabIndex(5);
     this.m_OwnerNameEdit.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.m_OwnerNameEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_OwnerNameLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameLabel.set_Location(new System.Drawing.Point(3, 0x89));
     this.m_OwnerNameLabel.set_Name("m_OwnerNameLabel");
     this.m_OwnerNameLabel.set_Size(new System.Drawing.Size(270, 0x10));
     this.m_OwnerNameLabel.set_TabIndex(5);
     this.m_OwnerNameLabel.set_Text("Владелец");
     this.m_SearchByAddressRadio.set_AutoSize(true);
     this.m_SearchByAddressRadio.set_Checked(true);
     this.m_SearchByAddressRadio.set_Location(new System.Drawing.Point(7, 0x55));
     this.m_SearchByAddressRadio.set_Name("m_SearchByAddressRadio");
     this.m_SearchByAddressRadio.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.m_SearchByAddressRadio.set_TabIndex(3);
     this.m_SearchByAddressRadio.set_TabStop(true);
     this.m_SearchByAddressRadio.set_Text("Поиск по адресу и владельцу");
     this.m_SearchByAddressRadio.set_UseVisualStyleBackColor(true);
     this.m_AccountEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountEdit.set_Location(new System.Drawing.Point(3, 0x3e));
     this.m_AccountEdit.set_Name("m_AccountEdit");
     this.m_AccountEdit.set_Size(new System.Drawing.Size(270, 20));
     this.m_AccountEdit.set_TabIndex(1);
     this.m_AccountEdit.add_Enter(new System.EventHandler(this.m_ApartmentNumberEdit_Enter));
     this.m_AccountEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_AccountLabel.set_AutoSize(true);
     this.m_AccountLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_AccountLabel.set_Location(new System.Drawing.Point(3, 0x31));
     this.m_AccountLabel.set_Name("m_AccountLabel");
     this.m_AccountLabel.set_Size(new System.Drawing.Size(0x4c, 13));
     this.m_AccountLabel.set_TabIndex(2);
     this.m_AccountLabel.set_Text("Лицевой счет");
     this.m_AccountLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_ApartmentLabel.set_AutoSize(true);
     this.m_ApartmentLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentLabel.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_ApartmentLabel.set_Name("m_ApartmentLabel");
     this.m_ApartmentLabel.set_Size(new System.Drawing.Size(0x7a, 13));
     this.m_ApartmentLabel.set_TabIndex(0);
     this.m_ApartmentLabel.set_Text("Идентификатор жилья");
     this.m_ApartmentLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:AccountSelectControl.cs

示例2: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.m_SearchByAddressRadio = new System.Windows.Forms.RadioButton();
     this.m_OwnerNameEdit = new System.Windows.Forms.TextBox();
     this.m_OwnerNameLabel = new System.Windows.Forms.Label();
     this.m_LocalAddressSelector = new LocalAddressSelector();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.gbGroups = new System.Windows.Forms.GroupBox();
     this.cbAreas = new System.Windows.Forms.ComboBox();
     this.bsAreas = new System.Windows.Forms.BindingSource(this.components);
     this.label1 = new System.Windows.Forms.Label();
     this.cbxAreaGroups = new System.Windows.Forms.ComboBox();
     this.bsAreaGroups = new System.Windows.Forms.BindingSource(this.components);
     this.label2 = new System.Windows.Forms.Label();
     this.m_SearchByGroupsRadio = new System.Windows.Forms.RadioButton();
     this.gbNumbers = new System.Windows.Forms.GroupBox();
     this.chxShowCloseNum = new System.Windows.Forms.CheckBox();
     this.m_SearchByNumbersRadio = new System.Windows.Forms.RadioButton();
     this.m_AccountEdit = new System.Windows.Forms.TextBox();
     this.m_AccountLabel = new System.Windows.Forms.Label();
     this.m_ApartmentNumberEdit = new System.Windows.Forms.TextBox();
     this.m_ApartmentLabel = new System.Windows.Forms.Label();
     this.bwArea = new BackgroundWorker();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.gbGroups.SuspendLayout();
     this.bsAreas.BeginInit();
     this.bsAreaGroups.BeginInit();
     this.gbNumbers.SuspendLayout();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.chxShowClose);
     box.Controls.Add(this.m_SearchByAddressRadio);
     box.Controls.Add(this.m_OwnerNameEdit);
     box.Controls.Add(this.m_OwnerNameLabel);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Fill);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x17a, 0xbf));
     box.set_TabIndex(4);
     box.set_TabStop(false);
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(3, 0xad));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x174, 0x11));
     this.chxShowClose.set_TabIndex(0x6b);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.set_AutoSize(true);
     this.m_SearchByAddressRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByAddressRadio.set_Name("m_SearchByAddressRadio");
     this.m_SearchByAddressRadio.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.m_SearchByAddressRadio.set_TabIndex(0x6a);
     this.m_SearchByAddressRadio.set_Text("Поиск по адресу и владельцу");
     this.m_SearchByAddressRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_OwnerNameEdit.set_CharacterCasing(System.Windows.Forms.CharacterCasing.Upper);
     this.m_OwnerNameEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameEdit.set_Location(new System.Drawing.Point(3, 0x99));
     this.m_OwnerNameEdit.set_Name("m_OwnerNameEdit");
     this.m_OwnerNameEdit.set_Size(new System.Drawing.Size(0x174, 20));
     this.m_OwnerNameEdit.set_TabIndex(0);
     this.m_OwnerNameEdit.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_OwnerNameEdit.add_Enter(new System.EventHandler(this.m_OwnerNameEdit_Enter));
     this.m_OwnerNameLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameLabel.set_Location(new System.Drawing.Point(3, 0x89));
     this.m_OwnerNameLabel.set_Name("m_OwnerNameLabel");
     this.m_OwnerNameLabel.set_Size(new System.Drawing.Size(0x174, 0x10));
     this.m_OwnerNameLabel.set_TabIndex(5);
     this.m_OwnerNameLabel.set_Text("Владелец");
     this.m_LocalAddressSelector.set_AutoSize(true);
     this.m_LocalAddressSelector.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     this.m_LocalAddressSelector.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_LocalAddressSelector.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_LocalAddressSelector.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_LocalAddressSelector.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.m_LocalAddressSelector.set_Name("m_LocalAddressSelector");
     this.m_LocalAddressSelector.set_Size(new System.Drawing.Size(0x174, 0x79));
     this.m_LocalAddressSelector.set_TabIndex(0);
     this.m_LocalAddressSelector.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_LocalAddressSelector.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.gbGroups);
     this.splitContainer1.Panel1.Controls.Add(this.gbNumbers);
     this.splitContainer1.Panel2.Controls.Add(box);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2f4, 0xbf));
     this.splitContainer1.set_SplitterDistance(0x176);
     this.splitContainer1.set_TabIndex(0);
     this.gbGroups.set_AutoSize(true);
     this.gbGroups.Controls.Add(this.cbAreas);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:AddressesSelectControl.cs

示例3: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.m_SearchByAddressRadio = new System.Windows.Forms.RadioButton();
     this.m_OwnerNameEdit = new System.Windows.Forms.TextBox();
     this.m_OwnerNameLabel = new System.Windows.Forms.Label();
     this.m_LocalAddressSelector = new LocalAddressSelector();
     this.m_SearchByNumbersRadio = new System.Windows.Forms.RadioButton();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.m_AccountEdit = new System.Windows.Forms.TextBox();
     this.m_AccountLabel = new System.Windows.Forms.Label();
     this.m_ApartmentNumberEdit = new System.Windows.Forms.TextBox();
     this.m_ApartmentLabel = new System.Windows.Forms.Label();
     this.m_SearchWorker = new BackgroundWorker();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.acApTree = new AccountApartmentTree();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.bsAccountApartment.BeginInit();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.chxShowClose);
     box.Controls.Add(this.m_SearchByAddressRadio);
     box.Controls.Add(this.m_OwnerNameEdit);
     box.Controls.Add(this.m_OwnerNameLabel);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Top);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0x55));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x120, 0xc1));
     box.set_TabIndex(1);
     box.set_TabStop(false);
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(3, 0xad));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x11a, 0x11));
     this.chxShowClose.set_TabIndex(0x6d);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.set_AutoSize(true);
     this.m_SearchByAddressRadio.set_Checked(true);
     this.m_SearchByAddressRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByAddressRadio.set_Name("m_SearchByAddressRadio");
     this.m_SearchByAddressRadio.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.m_SearchByAddressRadio.set_TabIndex(0x6a);
     this.m_SearchByAddressRadio.set_TabStop(true);
     this.m_SearchByAddressRadio.set_Text("Поиск по адресу и владельцу");
     this.m_SearchByAddressRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByAddressRadio.add_Click(new System.EventHandler(this.m_SearchByAddressRadio_Click));
     this.m_OwnerNameEdit.set_CharacterCasing(System.Windows.Forms.CharacterCasing.Upper);
     this.m_OwnerNameEdit.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameEdit.set_Location(new System.Drawing.Point(3, 0x99));
     this.m_OwnerNameEdit.set_Name("m_OwnerNameEdit");
     this.m_OwnerNameEdit.set_Size(new System.Drawing.Size(0x11a, 20));
     this.m_OwnerNameEdit.set_TabIndex(0);
     this.m_OwnerNameEdit.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.m_OwnerNameEdit.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.m_ApartmentNumberEdit_KeyDown));
     this.m_OwnerNameLabel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_OwnerNameLabel.set_Location(new System.Drawing.Point(3, 0x89));
     this.m_OwnerNameLabel.set_Name("m_OwnerNameLabel");
     this.m_OwnerNameLabel.set_Size(new System.Drawing.Size(0x11a, 0x10));
     this.m_OwnerNameLabel.set_TabIndex(5);
     this.m_OwnerNameLabel.set_Text("Владелец");
     this.m_LocalAddressSelector.set_AutoSize(true);
     this.m_LocalAddressSelector.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     this.m_LocalAddressSelector.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_LocalAddressSelector.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_LocalAddressSelector.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_LocalAddressSelector.set_MinimumSize(new System.Drawing.Size(0, 0x79));
     this.m_LocalAddressSelector.set_Name("m_LocalAddressSelector");
     this.m_LocalAddressSelector.set_Size(new System.Drawing.Size(0x11a, 0x79));
     this.m_LocalAddressSelector.set_TabIndex(0);
     this.m_LocalAddressSelector.AddressSelected += new System.EventHandler(this.m_LocalAddressSelector_AddressSelected);
     this.m_LocalAddressSelector.add_Enter(new System.EventHandler(this.m_LocalAddressSelector_Enter));
     this.m_SearchByNumbersRadio.set_AutoSize(true);
     this.m_SearchByNumbersRadio.set_Location(new System.Drawing.Point(6, 0));
     this.m_SearchByNumbersRadio.set_Name("m_SearchByNumbersRadio");
     this.m_SearchByNumbersRadio.set_Size(new System.Drawing.Size(0x79, 0x11));
     this.m_SearchByNumbersRadio.set_TabIndex(4);
     this.m_SearchByNumbersRadio.set_Text("Поиск по номерам");
     this.m_SearchByNumbersRadio.set_UseVisualStyleBackColor(true);
     this.m_SearchByNumbersRadio.add_Click(new System.EventHandler(this.m_SearchByNumbersRadio_Click));
     this.tableLayoutPanel1.set_ColumnCount(2);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 86f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.Controls.Add(this.btnCancel, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnSearch, 0, 0);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0x13e));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(1);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:AddresseSearchControl.cs

示例4: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_SearchWorker = new BackgroundWorker();
     this.chxShowClose = new System.Windows.Forms.CheckBox();
     this.acApTree = new AccountApartmentTree();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_LocalAddressSelector = new LocalAddressByUserSelector();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     box.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.bsAccountApartment.BeginInit();
     base.SuspendLayout();
     box.set_AutoSize(true);
     box.Controls.Add(this.m_LocalAddressSelector);
     box.set_Dock(System.Windows.Forms.DockStyle.Top);
     box.set_FlatStyle(System.Windows.Forms.FlatStyle.System);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(0x114, 140));
     box.set_TabIndex(4);
     box.set_TabStop(false);
     this.btnClear.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnClear.set_Location(new System.Drawing.Point(0xbb, 3));
     this.btnClear.set_Name("btnClear");
     this.btnClear.set_Size(new System.Drawing.Size(0x56, 0x2c));
     this.btnClear.set_TabIndex(8);
     this.btnClear.set_Text("&Очистить");
     this.btnClear.set_UseVisualStyleBackColor(true);
     this.btnClear.add_Click(new System.EventHandler(this.btnClear_Click));
     this.btnSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.btnSearch.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnSearch.set_Location(new System.Drawing.Point(3, 3));
     this.btnSearch.set_Name("btnSearch");
     this.btnSearch.set_Size(new System.Drawing.Size(0xb2, 0x2c));
     this.btnSearch.set_TabIndex(7);
     this.btnSearch.set_Text("&Поиск");
     this.btnSearch.set_UseVisualStyleBackColor(true);
     this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click));
     this.tableLayoutPanel1.set_ColumnCount(2);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.66666f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333f));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.Controls.Add(this.btnSearch, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.btnClear, 1, 0);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0x9d));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(1);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f));
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(0x114, 50));
     this.tableLayoutPanel1.set_TabIndex(20);
     this.m_SearchWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_SearchWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.chxShowClose.set_AutoSize(true);
     this.chxShowClose.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.chxShowClose.set_Location(new System.Drawing.Point(0, 140));
     this.chxShowClose.set_Name("chxShowClose");
     this.chxShowClose.set_Size(new System.Drawing.Size(0x114, 0x11));
     this.chxShowClose.set_TabIndex(0x67);
     this.chxShowClose.set_Text("Показывать закрытые паспорта жилья");
     this.chxShowClose.set_UseVisualStyleBackColor(true);
     this.acApTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.acApTree.set_HideSelection(false);
     this.acApTree.set_Location(new System.Drawing.Point(0, 0xcf));
     this.acApTree.set_Name("acApTree");
     this.acApTree.set_ShowNodeToolTips(true);
     this.acApTree.set_Size(new System.Drawing.Size(0x114, 370));
     this.acApTree.set_TabIndex(100);
     this.bsAccountApartment.set_DataSource(typeof(AIS.SN.Model.DomainObjects.Views.AccountView));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("PrintName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("PrintName");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("DoorWay");
     this.dataGridViewTextBoxColumn2.set_HeaderText("DoorWay");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("LocalAddressId");
     this.dataGridViewTextBoxColumn3.set_HeaderText("LocalAddressId");
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:CounterApartmentSearchControl.cs


注:本文中的System.Windows.Forms.GroupBox.set_Dock方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。