本文整理汇总了C#中System.Windows.Forms.GroupBox.set_Anchor方法的典型用法代码示例。如果您正苦于以下问题:C# GroupBox.set_Anchor方法的具体用法?C# GroupBox.set_Anchor怎么用?C# GroupBox.set_Anchor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.GroupBox
的用法示例。
在下文中一共展示了GroupBox.set_Anchor方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
//.........这里部分代码省略.........