NameRule namerule = new NameRule();//类命名规则 public CodeMaker() { InitializeComponent(); list_KeyField.Height = 22; codeview = new UcCodeView(); tabPage2.Controls.Add(codeview); SetListViewMenu("colum"); CreatView(); SetFormConfig(); DbView dbviewfrm = (DbView)Application.OpenForms["DbView"]; if (dbviewfrm != null) { try { this.thread = new Thread(new ThreadStart(Showlistview)); this.thread.Start(); } catch { } } }
public CodeTemplate(Form mdiParentForm) { InitializeComponent(); this.codeview = new UcCodeView(); this.tabPage2.Controls.Add(this.codeview); this.mainfrm = (MainForm)mdiParentForm; this.CreatView(); this.mainfrm.toolBtn_Run.Visible = true; DbView dbView = (DbView)Application.OpenForms["DbView"]; if (dbView != null) { this.SetListView(dbView); } }
public CodeMakerTran(string Dbname) { InitializeComponent(); this.dbname = Dbname; this.codeview = new UcCodeView(); this.tabPage2.Controls.Add(this.codeview); this.CreatView(); DbView dbView = (DbView)Application.OpenForms["DbView"]; if (dbView != null) { try { this.thread = new Thread(new ThreadStart(this.Showlistview)); this.thread.Start(); } catch { } } }
NameRule namerule = new NameRule();//类命名规则 private void InitializeForm() { this.list_KeyField.Height = 22; this.codeview = new UcCodeView(); this.tabPage2.Controls.Add(this.codeview); this.SetListViewMenu("colum"); this.CreatView(); this.panel1.Height = 150; this.cm_daltype = new DALTypeAddIn("Maticsoft.IBuilder.IBuilderDAL"); this.cm_daltype.Title = "DAL"; this.groupBox_DALType.Controls.Add(this.cm_daltype); this.cm_daltype.Location = new System.Drawing.Point(30, 13); this.cm_blltype = new DALTypeAddIn("Maticsoft.IBuilder.IBuilderBLL"); this.cm_blltype.Title = "BLL"; this.groupBox_DALType.Controls.Add(this.cm_blltype); this.cm_blltype.Location = new System.Drawing.Point(30, 13); this.cm_webtype = new DALTypeAddIn("Maticsoft.IBuilder.IBuilderWeb"); this.cm_webtype.Title = "Web"; this.groupBox_DALType.Controls.Add(this.cm_webtype); this.cm_webtype.Location = new System.Drawing.Point(30, 13); this.tabControl1.SelectedIndex = 0; }