namespace ${NameSpace} { partial class Frm${tableName} { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { #foreach($info in $EntityList) #if(!${info.isIdentity}) this.${info.labelName}= new System.Windows.Forms.Label(); this.${info.controlName}=new System.Windows.Forms.${info.controlType}(); #end #end this.palTools.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabDataEdit.SuspendLayout(); this.groupBox1.SuspendLayout(); this.flowLayoutPanelTools.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // #foreach($info in $EntityList) #if(!${info.isIdentity}) this.${info.labelName} = new System.Windows.Forms.Label(); this.${info.controlName}=new System.Windows.Forms.${info.controlType}(); this.groupBox1.Controls.Add(this.${info.controlName}); this.groupBox1.Controls.Add(this.${info.labelName}); this.groupBox1.Controls.SetChildIndex(${info.labelName}, 0); this.groupBox1.Controls.SetChildIndex(${info.controlName}, 0); #end #end this.groupBox1.Controls.SetChildIndex(this.txtID, 0); #set($y = 35) #set($x = 220) #set($ylocation = 0) #set($xlocation = 0) #set($count = 0) #foreach($info in $EntityList) #if(!${info.isIdentity}) #set($xlocation = $x*($count%3) + 10) #set($ylocation = $y*($count/3)+10) #set($count = $count + 1) this.${info.labelName}.Location = new System.Drawing.Point($xlocation, $ylocation); this.${info.labelName}.Name = "${info.labelName}"; this.${info.labelName}.Size = new System.Drawing.Size(85, 23); this.${info.labelName}.Text = "${info.labelText}"; this.${info.labelName}.TextAlign = System.Drawing.ContentAlignment.MiddleRight; #set($xx = $xlocation+90) this.${info.controlName}.Location = new System.Drawing.Point($xx, $ylocation); this.${info.controlName}.Name = "${info.controlName}"; this.${info.controlName}.Size = new System.Drawing.Size(130, 23); #end #end // // FrmDicData // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); this.Name = "Frm${tableName}"; this.Text = "Frm${tableName}"; this.palTools.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabDataEdit.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.flowLayoutPanelTools.ResumeLayout(false); this.ResumeLayout(false); } #endregion #foreach($info in $EntityList) #if(!${info.isIdentity}) private ${info.controlType} ${info.controlName}; private Label ${info.labelName}; #end #end } }