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


C# Label.set_Anchor方法代码示例

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


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

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_StreetLabel = new System.Windows.Forms.Label();
     this.m_CityLabel = new System.Windows.Forms.Label();
     this.m_StreetBox = new System.Windows.Forms.ComboBox();
     this.bsStreet = new System.Windows.Forms.BindingSource(this.components);
     this.m_HouseBox = new System.Windows.Forms.ComboBox();
     this.bsHouse = new System.Windows.Forms.BindingSource(this.components);
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_CityBox = new System.Windows.Forms.ComboBox();
     this.bsCity = new System.Windows.Forms.BindingSource(this.components);
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.bsStreet.BeginInit();
     this.bsHouse.BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.bsCity.BeginInit();
     base.SuspendLayout();
     label.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(3, 80));
     label.set_Name("label3");
     label.set_Size(new System.Drawing.Size(0xcd, 13));
     label.set_TabIndex(6);
     label.set_Text("Дом");
     this.m_StreetLabel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_StreetLabel.set_AutoSize(true);
     this.m_StreetLabel.set_Location(new System.Drawing.Point(3, 40));
     this.m_StreetLabel.set_Name("m_StreetLabel");
     this.m_StreetLabel.set_Size(new System.Drawing.Size(0xcd, 13));
     this.m_StreetLabel.set_TabIndex(5);
     this.m_StreetLabel.set_Text("Улица");
     this.m_CityLabel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_CityLabel.set_AutoSize(true);
     this.m_CityLabel.set_Location(new System.Drawing.Point(3, 0));
     this.m_CityLabel.set_Name("m_CityLabel");
     this.m_CityLabel.set_Size(new System.Drawing.Size(0xcd, 13));
     this.m_CityLabel.set_TabIndex(5);
     this.m_CityLabel.set_Text("Населенный пункт");
     this.m_StreetBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_StreetBox.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.m_StreetBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.m_StreetBox.set_DataSource(this.bsStreet);
     this.m_StreetBox.set_DisplayMember("Name");
     this.m_StreetBox.set_FormattingEnabled(true);
     this.m_StreetBox.set_Location(new System.Drawing.Point(3, 0x38));
     this.m_StreetBox.set_MaxDropDownItems(0x10);
     this.m_StreetBox.set_Name("m_StreetBox");
     this.m_StreetBox.set_Size(new System.Drawing.Size(0xcd, 0x15));
     this.m_StreetBox.set_TabIndex(0);
     this.m_StreetBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.cb_KeyDown));
     this.bsStreet.set_DataSource(typeof(LocalAddress));
     this.bsStreet.add_CurrentChanged(new System.EventHandler(this.bsStreet_CurrentChanged));
     this.m_HouseBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_HouseBox.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.m_HouseBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.m_HouseBox.set_DataSource(this.bsHouse);
     this.m_HouseBox.set_DisplayMember("Name");
     this.m_HouseBox.set_FormattingEnabled(true);
     this.m_HouseBox.set_Location(new System.Drawing.Point(3, 0x60));
     this.m_HouseBox.set_MaxDropDownItems(0x10);
     this.m_HouseBox.set_Name("m_HouseBox");
     this.m_HouseBox.set_Size(new System.Drawing.Size(0xcd, 0x15));
     this.m_HouseBox.set_TabIndex(1);
     this.m_HouseBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.cb_KeyDown));
     this.bsHouse.set_DataSource(typeof(LocalAddress));
     this.tableLayoutPanel1.set_ColumnCount(1);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Controls.Add(label, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.m_StreetBox, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.m_StreetLabel, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.m_CityLabel, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.m_CityBox, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.m_HouseBox, 0, 5);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(7);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(0xd3, 0x9a));
     this.tableLayoutPanel1.set_TabIndex(8);
     this.m_CityBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_CityBox.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.m_CityBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.m_CityBox.set_DisplayMember("Name");
     this.m_CityBox.set_FormattingEnabled(true);
     this.m_CityBox.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_CityBox.set_MaxDropDownItems(0x10);
     this.m_CityBox.set_Name("m_CityBox");
     this.m_CityBox.set_Size(new System.Drawing.Size(0xcd, 0x15));
     this.m_CityBox.set_TabIndex(0);
     this.m_CityBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.cb_KeyDown));
     this.bsCity.set_DataSource(typeof(LocalAddress));
     this.bsCity.add_CurrentChanged(new System.EventHandler(this.bsCity_CurrentChanged));
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:HouseAddressSelector.cs

示例2: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.cbStreets = new System.Windows.Forms.ComboBox();
     this.bsStreets = new System.Windows.Forms.BindingSource(this.components);
     this.cbHouses = new System.Windows.Forms.ComboBox();
     this.bsHouses = new System.Windows.Forms.BindingSource(this.components);
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.PreviousAddressName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PreviousNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PreviousOwnerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsPrevApartments = new System.Windows.Forms.BindingSource(this.components);
     this.label1 = new System.Windows.Forms.Label();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.dateMergeSplit = new DateBox();
     this.dgvApartments = new System.Windows.Forms.DataGridView();
     this.selectForMergeDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.addressNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.numberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownerNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsCurrentApartments = new System.Windows.Forms.BindingSource(this.components);
     this.tsApartmentMerge = new System.Windows.Forms.ToolStrip();
     this.tsBtnSplit = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsBtnMerge = new System.Windows.Forms.ToolStripButton();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.dataGridView3 = new System.Windows.Forms.DataGridView();
     this.nextAddressNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nextNumberDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nextOwnerNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsNextApartments = new System.Windows.Forms.BindingSource(this.components);
     this.label2 = new System.Windows.Forms.Label();
     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();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     this.bsStreets.BeginInit();
     this.bsHouses.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.dataGridView1.BeginInit();
     this.bsPrevApartments.BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.dgvApartments.BeginInit();
     this.bsCurrentApartments.BeginInit();
     this.tsApartmentMerge.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.dataGridView3.BeginInit();
     this.bsNextApartments.BeginInit();
     base.SuspendLayout();
     label.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(0x22e, 0x13));
     label.set_Name("label6");
     label.set_Size(new System.Drawing.Size(30, 13));
     label.set_TabIndex(12);
     label.set_Text("Дом");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 0x13));
     label2.set_Name("label5");
     label2.set_Size(new System.Drawing.Size(0x27, 13));
     label2.set_TabIndex(13);
     label2.set_Text("Улица");
     this.cbStreets.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbStreets.set_DataSource(this.bsStreets);
     this.cbStreets.set_DisplayMember("Name");
     this.cbStreets.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbStreets.set_FormattingEnabled(true);
     this.cbStreets.set_Location(new System.Drawing.Point(0x3b, 0x10));
     this.cbStreets.set_Name("cbStreets");
     this.cbStreets.set_Size(new System.Drawing.Size(0x1ed, 0x15));
     this.cbStreets.set_TabIndex(10);
     this.bsStreets.set_DataSource(typeof(LocalAddress));
     this.bsStreets.add_CurrentChanged(new System.EventHandler(this.bsStreets_CurrentChanged));
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ApartmentMergeHistoryForm.cs

示例3: InitializeComponent


//.........这里部分代码省略.........
     System.Windows.Forms.Label label17 = new System.Windows.Forms.Label();
     this.orgListBindingSource.BeginInit();
     this.tcOrganizations.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.orgWageBindingSource.BeginInit();
     this.tabPage3.SuspendLayout();
     this.tbProperties.SuspendLayout();
     this.dgv.BeginInit();
     this.bsOrganizarionProperties.BeginInit();
     this.tsProperties.SuspendLayout();
     this.orgMaterialBindingSource.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(2, 0x173));
     label.set_Name("label12");
     label.set_Size(new System.Drawing.Size(0x4e, 13));
     label.set_TabIndex(0x5d);
     label.set_Text("Гл. бухгалтер:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(2, 0x10f));
     label2.set_Name("label10");
     label2.set_Size(new System.Drawing.Size(0x55, 13));
     label2.set_TabIndex(0x59);
     label2.set_Text("Режим работы:");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(2, 0x128));
     label3.set_Name("label8");
     label3.set_Size(new System.Drawing.Size(0x29, 13));
     label3.set_TabIndex(0x4e);
     label3.set_Text("Адрес:");
     label4.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x173, 0x15a));
     label4.set_Name("label6");
     label4.set_Size(new System.Drawing.Size(0x44, 13));
     label4.set_TabIndex(0x4d);
     label4.set_Text("Должность:");
     label5.set_AutoSize(true);
     label5.set_Location(new System.Drawing.Point(2, 0x15a));
     label5.set_Name("label7");
     label5.set_Size(new System.Drawing.Size(0x51, 13));
     label5.set_TabIndex(0x4b);
     label5.set_Text("Руководитель:");
     label6.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label6.set_AutoSize(true);
     label6.set_Location(new System.Drawing.Point(0x173, 0x141));
     label6.set_Name("label5");
     label6.set_Size(new System.Drawing.Size(0x27, 13));
     label6.set_TabIndex(0x49);
     label6.set_Text("Факс:");
     label7.set_AutoSize(true);
     label7.set_Location(new System.Drawing.Point(2, 0x18c));
     label7.set_Name("label9");
     label7.set_Size(new System.Drawing.Size(0x51, 13));
     label7.set_TabIndex(70);
     label7.set_Text("Телефон АДС:");
     label8.set_AutoSize(true);
     label8.set_Location(new System.Drawing.Point(2, 0x141));
     label8.set_Name("label4");
     label8.set_Size(new System.Drawing.Size(0x37, 13));
     label8.set_TabIndex(0x47);
     label8.set_Text("Телефон:");
     label9.set_AutoSize(true);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:OrganizationView.cs

示例4: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_ServicesBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_StreetsBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_HousesBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_SettlementsBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_Grid = new System.Windows.Forms.DataGridView();
     this.includeDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.flatNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.abonentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownershipTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.monthCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.chargeSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_GridBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_SaveCalcButton = new System.Windows.Forms.Button();
     this.m_PreprocessMonths = new System.Windows.Forms.NumericUpDown();
     this.m_PreprocessButton = new System.Windows.Forms.Button();
     this.m_SearchButton = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.chbxNotChargeMunicipal = new System.Windows.Forms.CheckBox();
     this.chbxValidateNegativeSumm = new System.Windows.Forms.CheckBox();
     this.m_ExcludeAllButton = new System.Windows.Forms.Button();
     this.m_PreprocessDate = new DateBox();
     this.m_IncludeAllButton = new System.Windows.Forms.Button();
     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.selectOrganization1 = new SelectOrganization();
     this.m_FindWorker = new BackgroundWorker();
     this.m_ExecWorker = new BackgroundWorker();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label8 = new System.Windows.Forms.Label();
     System.Windows.Forms.ComboBox box = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box2 = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box3 = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box4 = new System.Windows.Forms.ComboBox();
     this.m_ServicesBS.BeginInit();
     this.m_StreetsBS.BeginInit();
     this.m_HousesBS.BeginInit();
     this.m_SettlementsBS.BeginInit();
     this.m_Grid.BeginInit();
     this.m_GridBS.BeginInit();
     this.m_PreprocessMonths.BeginInit();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(9, 6));
     label.set_Name("label1");
     label.set_Size(new System.Drawing.Size(0x41, 13));
     label.set_TabIndex(1);
     label.set_Text("Поставщик");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 0x20));
     label2.set_Name("label2");
     label2.set_Size(new System.Drawing.Size(0x2b, 13));
     label2.set_TabIndex(2);
     label2.set_Text("Услуга");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(9, 0x3b));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(70, 13));
     label3.set_TabIndex(9);
     label3.set_Text("Насел.пункт");
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x11b, 0x3b));
     label4.set_Name("label5");
     label4.set_Size(new System.Drawing.Size(0x27, 13));
     label4.set_TabIndex(9);
     label4.set_Text("Улица");
     label5.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label5.set_AutoSize(true);
     label5.set_Location(new System.Drawing.Point(0x242, 0x3b));
     label5.set_Name("label6");
     label5.set_Size(new System.Drawing.Size(30, 13));
     label5.set_TabIndex(9);
     label5.set_Text("Дом");
     label6.set_AutoSize(true);
     label6.set_Location(new System.Drawing.Point(3, 0x2f));
     label6.set_Name("label7");
     label6.set_Size(new System.Drawing.Size(0x69, 13));
     label6.set_TabIndex(12);
     label6.set_Text("Начисление с даты");
     label7.set_AutoSize(true);
     label7.set_Location(new System.Drawing.Point(220, 0x2f));
     label7.set_Name("label8");
     label7.set_Size(new System.Drawing.Size(90, 13));
     label7.set_TabIndex(12);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:AddFixedSummServicesForm.cs


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