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


C# Label.set_Margin方法代码示例

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


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

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.label4 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.tbCode = new System.Windows.Forms.TextBox();
     this.tbShortName = new System.Windows.Forms.TextBox();
     this.btnOk = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.nudComission = new System.Windows.Forms.NumericUpDown();
     this.selectOrganization1 = new SelectOrganization();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.nudComission.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(2, 60));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label6");
     label.set_Size(new System.Drawing.Size(0x4a, 13));
     label.set_TabIndex(0x16);
     label.set_Text("Организация");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(1, 0x58));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label4.set_TabIndex(0x15);
     this.label4.set_Text("Комиссия");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(1, 0x1f));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x7e, 13));
     this.label2.set_TabIndex(20);
     this.label2.set_Text("Краткое наименование");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(1, 7));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label1.set_TabIndex(0x13);
     this.label1.set_Text("Код организации");
     this.tbCode.set_Location(new System.Drawing.Point(0x84, 7));
     this.tbCode.set_MaxLength(10);
     this.tbCode.set_Name("tbCode");
     this.tbCode.set_Size(new System.Drawing.Size(0x120, 20));
     this.tbCode.set_TabIndex(0x17);
     this.tbShortName.set_Location(new System.Drawing.Point(0x84, 0x1f));
     this.tbShortName.set_MaxLength(200);
     this.tbShortName.set_Name("tbShortName");
     this.tbShortName.set_Size(new System.Drawing.Size(0x120, 20));
     this.tbShortName.set_TabIndex(0x18);
     this.btnOk.set_Location(new System.Drawing.Point(0x108, 0x75));
     this.btnOk.set_Name("btnOk");
     this.btnOk.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnOk.set_TabIndex(0x1b);
     this.btnOk.set_UseVisualStyleBackColor(true);
     this.btnOk.add_Click(new System.EventHandler(this.btnOk_Click));
     this.btnCancel.set_Location(new System.Drawing.Point(0x159, 0x75));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(0x1c);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.nudComission.set_DecimalPlaces(6);
     this.nudComission.set_Location(new System.Drawing.Point(0x84, 0x58));
     this.nudComission.set_Name("nudComission");
     this.nudComission.set_Size(new System.Drawing.Size(0x6d, 20));
     this.nudComission.set_TabIndex(0x1a);
     this.selectOrganization1.IsCashlessTransferrer = false;
     this.selectOrganization1.IsHouseHolder = false;
     this.selectOrganization1.IsPaymentAgent = false;
     this.selectOrganization1.IsResourceProvider = false;
     this.selectOrganization1.IsServiceProvider = false;
     this.selectOrganization1.set_Location(new System.Drawing.Point(0x84, 60));
     this.selectOrganization1.set_Name("selectOrganization1");
     this.selectOrganization1.set_Size(new System.Drawing.Size(0x120, 20));
     this.selectOrganization1.set_TabIndex(0x19);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x1b0, 0x98));
     base.Controls.Add(this.nudComission);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.selectOrganization1);
     base.Controls.Add(this.tbShortName);
     base.Controls.Add(this.tbCode);
     base.Controls.Add(label);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("SpOrgAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("SpOrgAddChangeForm");
     base.add_Load(new System.EventHandler(this.SpOrgAddChangeForm_Load));
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.SpOrgAddChangeForm_FormClosing));
     this.nudComission.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:SpOrgAddChangeForm.cs

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

示例3: InitializeComponent

 private void InitializeComponent()
 {
     this.btnOk = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.sfRate = new SelectFasetData();
     this.tbxPrintNames = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.sfNormRate = new SelectFasetData();
     this.label3 = new System.Windows.Forms.Label();
     this.sfResurce = new SelectFasetData();
     this.cb_splitByPeriod = new System.Windows.Forms.CheckBox();
     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();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(0x25, 0x5e));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label6");
     label.set_Size(new System.Drawing.Size(0x2b, 13));
     label.set_TabIndex(20);
     label.set_Text("Тариф:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 15));
     label2.set_Margin(new System.Windows.Forms.Padding(0));
     label2.set_Name("label1");
     label2.set_Size(new System.Drawing.Size(0x76, 13));
     label2.set_TabIndex(20);
     label2.set_Text("Дочерние типы услуг:");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(0x25, 0x79));
     label3.set_Margin(new System.Windows.Forms.Padding(0));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(0x3d, 13));
     label3.set_TabIndex(20);
     label3.set_Text("Норматив:");
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x25, 0x94));
     label4.set_Margin(new System.Windows.Forms.Padding(0));
     label4.set_Name("label5");
     label4.set_Size(new System.Drawing.Size(0x2e, 13));
     label4.set_TabIndex(20);
     label4.set_Text("Ресурс:");
     this.btnOk.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnOk.set_Location(new System.Drawing.Point(0x16d, 0xb6));
     this.btnOk.set_Name("btnOk");
     this.btnOk.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnOk.set_TabIndex(9);
     this.btnOk.set_UseVisualStyleBackColor(true);
     this.btnOk.add_Click(new System.EventHandler(this.btnOk_Click));
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0x1be, 0xb6));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(10);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.sfRate.set_FormattingEnabled(true);
     this.sfRate.set_Location(new System.Drawing.Point(0x89, 0x5b));
     this.sfRate.set_Name("sfRate");
     this.sfRate.set_Size(new System.Drawing.Size(0xd4, 0x15));
     this.sfRate.set_Sorted(true);
     this.sfRate.set_TabIndex(11);
     this.tbxPrintNames.set_Location(new System.Drawing.Point(0x89, 12));
     this.tbxPrintNames.set_Name("tbxPrintNames");
     this.tbxPrintNames.set_ReadOnly(true);
     this.tbxPrintNames.set_Size(new System.Drawing.Size(0x176, 20));
     this.tbxPrintNames.set_TabIndex(0x13);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(9, 0x29));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0xbb, 13));
     this.label2.set_TabIndex(0x15);
     this.label2.set_Text("Дополнительные свойства группы.");
     this.sfNormRate.set_FormattingEnabled(true);
     this.sfNormRate.set_Location(new System.Drawing.Point(0x89, 0x76));
     this.sfNormRate.set_Name("sfNormRate");
     this.sfNormRate.set_Size(new System.Drawing.Size(0xd4, 0x15));
     this.sfNormRate.set_Sorted(true);
     this.sfNormRate.set_TabIndex(11);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(9, 0x40));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x1f3, 13));
     this.label3.set_TabIndex(0x15);
     this.label3.set_Text("Выберите виды агрегирующих функций для соответствующих данных при сворачивании группы:");
     this.sfResurce.set_FormattingEnabled(true);
     this.sfResurce.set_Location(new System.Drawing.Point(0x89, 0x91));
     this.sfResurce.set_Name("sfResurce");
     this.sfResurce.set_Size(new System.Drawing.Size(0xd4, 0x15));
     this.sfResurce.set_Sorted(true);
     this.sfResurce.set_TabIndex(11);
     this.cb_splitByPeriod.set_AutoSize(true);
     this.cb_splitByPeriod.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.cb_splitByPeriod.set_Location(new System.Drawing.Point(0x24, 0xac));
     this.cb_splitByPeriod.set_Name("cb_splitByPeriod");
     this.cb_splitByPeriod.set_Size(new System.Drawing.Size(0xe3, 0x11));
     this.cb_splitByPeriod.set_TabIndex(0x16);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ServiceTypeGroupConditionAddChangeForm.cs

示例4: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.gbDoc = new System.Windows.Forms.GroupBox();
     this.tbDoc = new System.Windows.Forms.TextBox();
     this.m_ApartmentOwner = new System.Windows.Forms.BindingSource(this.components);
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.dbDateDoc = new DateBox();
     this.gbOwner = new System.Windows.Forms.GroupBox();
     this.selectTypeOwnerFasetName = new SelectFasetData();
     this.label10 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.nmDenom = new System.Windows.Forms.NumericUpDown();
     this.nmNum = new System.Windows.Forms.NumericUpDown();
     this.tbPrintName = new System.Windows.Forms.TextBox();
     this.dbToDate = new DateBox();
     this.label1 = new System.Windows.Forms.Label();
     this.m_OwnerSelection = new SelectOwner();
     this.label9 = new System.Windows.Forms.Label();
     this.dbFromDate = new DateBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.btnAddChangeApartmentOwner = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tbSaleContract = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.dbSaleContractDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.gbDoc.SuspendLayout();
     this.m_ApartmentOwner.BeginInit();
     this.gbOwner.SuspendLayout();
     this.nmDenom.BeginInit();
     this.nmNum.BeginInit();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(8, 0x6b));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x5d, 13));
     label.set_TabIndex(20);
     label.set_Text("Отображать как:");
     this.gbDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbDoc.Controls.Add(this.tbDoc);
     this.gbDoc.Controls.Add(this.label4);
     this.gbDoc.Controls.Add(this.label3);
     this.gbDoc.Controls.Add(this.dbDateDoc);
     this.gbDoc.set_Location(new System.Drawing.Point(2, 250));
     this.gbDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.gbDoc.set_Name("gbDoc");
     this.gbDoc.set_Padding(new System.Windows.Forms.Padding(2));
     this.gbDoc.set_Size(new System.Drawing.Size(0x21f, 0x44));
     this.gbDoc.set_TabIndex(2);
     this.gbDoc.set_TabStop(false);
     this.gbDoc.set_Text("Документ");
     this.tbDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbDoc.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwner, "Doc", true));
     this.tbDoc.set_Location(new System.Drawing.Point(0x6c, 0x11));
     this.tbDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.tbDoc.set_Name("tbDoc");
     this.tbDoc.set_Size(new System.Drawing.Size(0x1a8, 20));
     this.tbDoc.set_TabIndex(1);
     this.m_ApartmentOwner.set_DataSource(typeof(AIS.SN.Model.DomainObjects.ApartmentOwner));
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(7, 20));
     this.label4.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x56, 13));
     this.label4.set_TabIndex(2);
     this.label4.set_Text("Наименование:");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x2c));
     this.label3.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x24, 13));
     this.label3.set_TabIndex(1);
     this.label3.set_Text("Дата:");
     this.dbDateDoc.AttachToPeriod = false;
     this.dbDateDoc.AttachToPeriodEnd = false;
     this.dbDateDoc.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "DateDoc", true));
     this.dbDateDoc.set_Location(new System.Drawing.Point(0x6c, 0x29));
     this.dbDateDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbDateDoc.set_Mask("00/00/0000");
     this.dbDateDoc.set_Name("dbDateDoc");
     this.dbDateDoc.set_Size(new System.Drawing.Size(0x55, 20));
     this.dbDateDoc.set_TabIndex(2);
     this.gbOwner.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbOwner.Controls.Add(this.selectTypeOwnerFasetName);
     this.gbOwner.Controls.Add(this.label10);
     this.gbOwner.Controls.Add(this.label8);
     this.gbOwner.Controls.Add(this.nmDenom);
     this.gbOwner.Controls.Add(this.nmNum);
     this.gbOwner.Controls.Add(label);
     this.gbOwner.Controls.Add(this.tbPrintName);
     this.gbOwner.Controls.Add(this.dbToDate);
     this.gbOwner.Controls.Add(this.label1);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ApartmentOwnerAddChangeForm.cs

示例5: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.gbOwner = new System.Windows.Forms.GroupBox();
     this.selectTypeOwnerFasetName = new SelectFasetData();
     this.label10 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.nmDenom = new System.Windows.Forms.NumericUpDown();
     this.m_ApartmentOwnerBS = new System.Windows.Forms.BindingSource(this.components);
     this.nmNum = new System.Windows.Forms.NumericUpDown();
     this.tbPrintName = new System.Windows.Forms.TextBox();
     this.dbToDate = new DateBox();
     this.label1 = new System.Windows.Forms.Label();
     this.m_OwnerSelection = new SelectOwner();
     this.label9 = new System.Windows.Forms.Label();
     this.dbFromDate = new DateBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.gbDoc = new System.Windows.Forms.GroupBox();
     this.tbDoc = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.dbDateDoc = new DateBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tbSaleContract = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.dbSaleContractDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.gbOwner.SuspendLayout();
     this.nmDenom.BeginInit();
     this.m_ApartmentOwnerBS.BeginInit();
     this.nmNum.BeginInit();
     this.gbDoc.SuspendLayout();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(9, 0x6f));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x5d, 13));
     label.set_TabIndex(20);
     label.set_Text("Отображать как:");
     this.gbOwner.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbOwner.Controls.Add(this.selectTypeOwnerFasetName);
     this.gbOwner.Controls.Add(this.label10);
     this.gbOwner.Controls.Add(this.label8);
     this.gbOwner.Controls.Add(this.nmDenom);
     this.gbOwner.Controls.Add(this.nmNum);
     this.gbOwner.Controls.Add(label);
     this.gbOwner.Controls.Add(this.tbPrintName);
     this.gbOwner.Controls.Add(this.dbToDate);
     this.gbOwner.Controls.Add(this.label1);
     this.gbOwner.Controls.Add(this.m_OwnerSelection);
     this.gbOwner.Controls.Add(this.label9);
     this.gbOwner.Controls.Add(this.dbFromDate);
     this.gbOwner.Controls.Add(this.label7);
     this.gbOwner.Controls.Add(this.label6);
     this.gbOwner.Controls.Add(this.label5);
     this.gbOwner.set_Location(new System.Drawing.Point(2, 2));
     this.gbOwner.set_Margin(new System.Windows.Forms.Padding(2));
     this.gbOwner.set_Name("gbOwner");
     this.gbOwner.set_Padding(new System.Windows.Forms.Padding(2));
     this.gbOwner.set_Size(new System.Drawing.Size(0x20f, 0xf2));
     this.gbOwner.set_TabIndex(5);
     this.gbOwner.set_TabStop(false);
     this.gbOwner.set_Text("Владелец");
     this.selectTypeOwnerFasetName.set_FormattingEnabled(true);
     this.selectTypeOwnerFasetName.set_Location(new System.Drawing.Point(0x95, 0xcf));
     this.selectTypeOwnerFasetName.set_Name("selectTypeOwnerFasetName");
     this.selectTypeOwnerFasetName.set_Size(new System.Drawing.Size(0x16b, 0x15));
     this.selectTypeOwnerFasetName.set_Sorted(true);
     this.selectTypeOwnerFasetName.set_TabIndex(0x18);
     this.label10.set_AutoSize(true);
     this.label10.set_Location(new System.Drawing.Point(8, 0xd0));
     this.label10.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label10.set_Name("label10");
     this.label10.set_Size(new System.Drawing.Size(0x4d, 13));
     this.label10.set_TabIndex(0x17);
     this.label10.set_Text("Тип владения");
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(8, 0xdd));
     this.label8.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label8.set_TabIndex(0x15);
     this.label8.set_Text("собственностью:");
     this.nmDenom.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "Denom", true));
     this.nmDenom.set_Location(new System.Drawing.Point(0xf8, 130));
     int[] numArray = new int[4];
     numArray[0] = 0x3e8;
     this.nmDenom.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.nmDenom.set_Minimum(new decimal(numArray2));
     this.nmDenom.set_Name("nmDenom");
     this.nmDenom.set_Size(new System.Drawing.Size(0x4d, 20));
     this.nmDenom.set_TabIndex(4);
     int[] numArray3 = new int[4];
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ApartmentInfoMimOwnerView.cs


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