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


C# GroupBox.set_Location方法代码示例

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


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

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_OwnerName = new System.Windows.Forms.TextBox();
     this.m_ToDateLabel = new System.Windows.Forms.Label();
     this.cbNeedOwnerPresence = new System.Windows.Forms.CheckBox();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.m_AccountNumber = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.tbxAccountHolder = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.btnSelectProvider = new System.Windows.Forms.Button();
     this.cbNeedPrintNotice = new System.Windows.Forms.CheckBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label7 = new System.Windows.Forms.Label();
     this.tbIdentityCardHolderName = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.tbIdentityCardNumber = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.tbDocInfo = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.chbClosePG = new System.Windows.Forms.CheckBox();
     this.chbCloseReg = new System.Windows.Forms.CheckBox();
     this.tbNoticeAdrName = new System.Windows.Forms.TextBox();
     this.cbCloseInPaymentsystem = new System.Windows.Forms.CheckBox();
     this.m_AccountBS = new System.Windows.Forms.BindingSource(this.components);
     this.selectNoticeAdr = new SelectAddress();
     this.m_OwnerSelection = new SelectOwner();
     this.m_ToDate = new DateBox();
     this.m_FromDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     box.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.m_AccountBS.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(11, 0xca));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x49, 13));
     label.set_TabIndex(10);
     label.set_Text("Действует с:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(11, 0x6a));
     label2.set_Margin(new System.Windows.Forms.Padding(0));
     label2.set_Name("label1");
     label2.set_Size(new System.Drawing.Size(0x5d, 13));
     label2.set_TabIndex(8);
     label2.set_Text("Отображать как:");
     box.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     box.Controls.Add(this.m_OwnerSelection);
     box.Controls.Add(this.m_OwnerName);
     box.Controls.Add(label2);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("groupBox1");
     box.set_Size(new System.Drawing.Size(0x213, 130));
     box.set_TabIndex(1);
     box.set_TabStop(false);
     box.set_Text("Ответственный");
     this.m_OwnerName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "OwnerName", true));
     this.m_OwnerName.set_Location(new System.Drawing.Point(0x75, 0x67));
     this.m_OwnerName.set_Name("m_OwnerName");
     this.m_OwnerName.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_OwnerName.set_TabIndex(2);
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(11, 0x8b));
     label3.set_Margin(new System.Windows.Forms.Padding(0));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(0x2c, 13));
     label3.set_TabIndex(15);
     label3.set_Text("Номер:");
     this.m_ToDateLabel.set_AutoSize(true);
     this.m_ToDateLabel.set_Location(new System.Drawing.Point(210, 0xca));
     this.m_ToDateLabel.set_Margin(new System.Windows.Forms.Padding(0));
     this.m_ToDateLabel.set_Name("m_ToDateLabel");
     this.m_ToDateLabel.set_Size(new System.Drawing.Size(0x16, 13));
     this.m_ToDateLabel.set_TabIndex(10);
     this.m_ToDateLabel.set_Text("по:");
     this.cbNeedOwnerPresence.set_AutoSize(true);
     this.cbNeedOwnerPresence.set_CheckAlign(System.Drawing.ContentAlignment.TopRight);
     this.cbNeedOwnerPresence.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "NeedOwnerPresence", true));
     this.cbNeedOwnerPresence.set_Location(new System.Drawing.Point(8, 0x133));
     this.cbNeedOwnerPresence.set_Name("cbNeedOwnerPresence");
     this.cbNeedOwnerPresence.set_Size(new System.Drawing.Size(0x87, 0x11));
     this.cbNeedOwnerPresence.set_TabIndex(14);
     this.cbNeedOwnerPresence.set_Text("Зайти в бухгалтерию:");
     this.cbNeedOwnerPresence.set_UseVisualStyleBackColor(true);
     this.tbComment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbComment.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "Comment", true));
     this.tbComment.set_Location(new System.Drawing.Point(0x75, 0x169));
     this.tbComment.set_Multiline(true);
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x196, 0x1c));
     this.tbComment.set_TabIndex(13);
     this.label3.set_AutoSize(true);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:AccountView.cs

示例2: 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

示例3: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_SearchWorker = new BackgroundWorker();
     this.bsAccountApartment = new System.Windows.Forms.BindingSource(this.components);
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.groupBox6 = new System.Windows.Forms.GroupBox();
     this.cbDateIndication = new SelectFasetData();
     this.groupBox5 = new System.Windows.Forms.GroupBox();
     this.cbDatePlomb = new SelectFasetData();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.cbDateSeals = new SelectFasetData();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.cbTypeService = new System.Windows.Forms.ComboBox();
     this.bsServiceType = new System.Windows.Forms.BindingSource(this.components);
     this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
     this.btnSearch = new System.Windows.Forms.Button();
     this.btnClear = new System.Windows.Forms.Button();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.acApTree = new AccountApartmentTree();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     this.bsAccountApartment.BeginInit();
     this.groupBox2.SuspendLayout();
     this.groupBox6.SuspendLayout();
     this.groupBox5.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.bsServiceType.BeginInit();
     this.tableLayoutPanel3.SuspendLayout();
     base.SuspendLayout();
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("gbAddresses");
     box.set_Size(new System.Drawing.Size(200, 100));
     box.set_TabIndex(0);
     box.set_TabStop(false);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(200, 100));
     this.groupBox1.set_TabIndex(0);
     this.groupBox1.set_TabStop(false);
     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.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(1);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20f));
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(200, 100));
     this.tableLayoutPanel1.set_TabIndex(0);
     this.m_SearchWorker.add_DoWork(new DoWorkEventHandler(this.m_SearchWorker_DoWork));
     this.m_SearchWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_SearchWorker_RunWorkerCompleted));
     this.bsAccountApartment.set_DataSource(typeof(AIS.SN.Model.DomainObjects.Views.AccountView));
     this.groupBox2.Controls.Add(this.groupBox6);
     this.groupBox2.Controls.Add(this.groupBox5);
     this.groupBox2.Controls.Add(this.groupBox3);
     this.groupBox2.Controls.Add(this.groupBox4);
     this.groupBox2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x11b, 180));
     this.groupBox2.set_TabIndex(10);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Поиск приборов учета");
     this.groupBox6.Controls.Add(this.cbDateIndication);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:CountersSearchControl.cs

示例4: 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

示例5: 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

示例6: 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_Location方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。