From 01b99769af32e7de2d5f3ded5ce2f2bd3df526a5 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周五, 09 5月 2025 08:16:39 +0800 Subject: [PATCH] 前端文件夹名称可配置 --- Weben_CMS专用代码生成器/Code/MainForm.Designer.cs | 297 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 253 insertions(+), 44 deletions(-) diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs" index 4b815f1..ea9c18d 100644 --- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs" +++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.Designer.cs" @@ -56,12 +56,29 @@ this.tb_Modulelogo = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.btn_InsertSql = new System.Windows.Forms.Button(); - this.tb_RoutePrefix = new System.Windows.Forms.TextBox(); + this.tb_VueRootFolerName = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.label17 = new System.Windows.Forms.Label(); + this.cmb_DataBase = new System.Windows.Forms.ComboBox(); this.lbl_DataSource = new System.Windows.Forms.Label(); this.cmb_DataSource = new System.Windows.Forms.ComboBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.tb_DeleteAlertAttr = new System.Windows.Forms.TextBox(); + this.label25 = new System.Windows.Forms.Label(); + this.tb_ValidateRepeatName = new System.Windows.Forms.TextBox(); + this.label24 = new System.Windows.Forms.Label(); + this.tb_LikeQueryAttrsName = new System.Windows.Forms.TextBox(); + this.label23 = new System.Windows.Forms.Label(); + this.tb_LikeQueryAttrs = new System.Windows.Forms.TextBox(); + this.label22 = new System.Windows.Forms.Label(); + this.tb_PageMenuInstanceName = new System.Windows.Forms.TextBox(); + this.label21 = new System.Windows.Forms.Label(); + this.tb_MenuName = new System.Windows.Forms.TextBox(); + this.label20 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.tb_EnumList = new System.Windows.Forms.TextBox(); this.tb_GroupName = new System.Windows.Forms.TextBox(); this.label16 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); @@ -72,8 +89,9 @@ this.label12 = new System.Windows.Forms.Label(); this.tb_templeteFileDownName = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); - this.cmb_DataBase = new System.Windows.Forms.ComboBox(); - this.label17 = new System.Windows.Forms.Label(); + this.tb_FilePath = new System.Windows.Forms.TextBox(); + this.btn_SelectFile = new System.Windows.Forms.Button(); + this.button1 = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); @@ -81,7 +99,7 @@ // // btnPath // - this.btnPath.Location = new System.Drawing.Point(425, 570); + this.btnPath.Location = new System.Drawing.Point(453, 723); this.btnPath.Name = "btnPath"; this.btnPath.Size = new System.Drawing.Size(97, 23); this.btnPath.TabIndex = 1; @@ -100,7 +118,7 @@ // // tbPath // - this.tbPath.Location = new System.Drawing.Point(106, 566); + this.tbPath.Location = new System.Drawing.Point(134, 719); this.tbPath.Name = "tbPath"; this.tbPath.ReadOnly = true; this.tbPath.Size = new System.Drawing.Size(253, 21); @@ -108,7 +126,7 @@ // // btnExit // - this.btnExit.Location = new System.Drawing.Point(649, 600); + this.btnExit.Location = new System.Drawing.Point(677, 753); this.btnExit.Name = "btnExit"; this.btnExit.Size = new System.Drawing.Size(171, 67); this.btnExit.TabIndex = 8; @@ -118,7 +136,7 @@ // // btn_CreateFile // - this.btn_CreateFile.Location = new System.Drawing.Point(106, 600); + this.btn_CreateFile.Location = new System.Drawing.Point(134, 753); this.btn_CreateFile.Name = "btn_CreateFile"; this.btn_CreateFile.Size = new System.Drawing.Size(157, 67); this.btn_CreateFile.TabIndex = 14; @@ -152,7 +170,7 @@ // // tb_WCF_NameSpacePath // - this.tb_WCF_NameSpacePath.Location = new System.Drawing.Point(563, 247); + this.tb_WCF_NameSpacePath.Location = new System.Drawing.Point(737, 286); this.tb_WCF_NameSpacePath.Name = "tb_WCF_NameSpacePath"; this.tb_WCF_NameSpacePath.Size = new System.Drawing.Size(197, 21); this.tb_WCF_NameSpacePath.TabIndex = 19; @@ -160,11 +178,11 @@ // label2 // this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(455, 249); + this.label2.Location = new System.Drawing.Point(646, 294); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(101, 12); + this.label2.Size = new System.Drawing.Size(83, 12); this.label2.TabIndex = 18; - this.label2.Text = "WCF椤圭洰鍛藉悕绌洪棿:"; + this.label2.Text = "椤圭洰鍛藉悕绌洪棿:"; // // tb_ChinaComment // @@ -200,6 +218,7 @@ // // tb_Primary // + this.tb_Primary.Enabled = false; this.tb_Primary.Location = new System.Drawing.Point(338, 69); this.tb_Primary.Name = "tb_Primary"; this.tb_Primary.Size = new System.Drawing.Size(145, 21); @@ -250,7 +269,7 @@ // label9 // this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(463, 210); + this.label9.Location = new System.Drawing.Point(512, 38); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(35, 12); this.label9.TabIndex = 34; @@ -258,7 +277,8 @@ // // tb_OrderBy // - this.tb_OrderBy.Location = new System.Drawing.Point(503, 207); + this.tb_OrderBy.Enabled = false; + this.tb_OrderBy.Location = new System.Drawing.Point(552, 35); this.tb_OrderBy.Name = "tb_OrderBy"; this.tb_OrderBy.Size = new System.Drawing.Size(145, 21); this.tb_OrderBy.TabIndex = 35; @@ -266,7 +286,7 @@ // label10 // this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(668, 210); + this.label10.Location = new System.Drawing.Point(717, 38); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(65, 12); this.label10.TabIndex = 36; @@ -274,6 +294,7 @@ // // tb_PrimaryDesc // + this.tb_PrimaryDesc.Enabled = false; this.tb_PrimaryDesc.Location = new System.Drawing.Point(569, 69); this.tb_PrimaryDesc.Name = "tb_PrimaryDesc"; this.tb_PrimaryDesc.Size = new System.Drawing.Size(145, 21); @@ -306,7 +327,7 @@ // // btn_InsertSql // - this.btn_InsertSql.Location = new System.Drawing.Point(385, 600); + this.btn_InsertSql.Location = new System.Drawing.Point(413, 753); this.btn_InsertSql.Name = "btn_InsertSql"; this.btn_InsertSql.Size = new System.Drawing.Size(157, 67); this.btn_InsertSql.TabIndex = 42; @@ -315,22 +336,22 @@ this.btn_InsertSql.Visible = false; this.btn_InsertSql.Click += new System.EventHandler(this.btn_InsertSql_Click); // - // tb_RoutePrefix + // tb_VueRootFolerName // - this.tb_RoutePrefix.Location = new System.Drawing.Point(538, 276); - this.tb_RoutePrefix.Name = "tb_RoutePrefix"; - this.tb_RoutePrefix.Size = new System.Drawing.Size(145, 21); - this.tb_RoutePrefix.TabIndex = 44; - this.tb_RoutePrefix.Text = "1111"; + this.tb_VueRootFolerName.Location = new System.Drawing.Point(737, 316); + this.tb_VueRootFolerName.Name = "tb_VueRootFolerName"; + this.tb_VueRootFolerName.Size = new System.Drawing.Size(145, 21); + this.tb_VueRootFolerName.TabIndex = 44; + this.tb_VueRootFolerName.Text = "1111"; // // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(463, 282); + this.label13.Location = new System.Drawing.Point(622, 319); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(77, 12); + this.label13.Size = new System.Drawing.Size(107, 12); this.label13.TabIndex = 43; - this.label13.Text = "WCF璺敱鍓嶇紑:"; + this.label13.Text = "鍓嶇鏍规枃浠跺す鍚嶇О:"; this.label13.Click += new System.EventHandler(this.label13_Click); // // groupBox1 @@ -345,6 +366,24 @@ this.groupBox1.TabIndex = 45; this.groupBox1.TabStop = false; this.groupBox1.Text = "鏁版嵁搴撻厤缃�"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(478, 23); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(65, 12); + this.label17.TabIndex = 3; + this.label17.Text = "鏁版嵁搴撶被鍨�"; + // + // cmb_DataBase + // + this.cmb_DataBase.FormattingEnabled = true; + this.cmb_DataBase.Location = new System.Drawing.Point(581, 20); + this.cmb_DataBase.Name = "cmb_DataBase"; + this.cmb_DataBase.Size = new System.Drawing.Size(206, 20); + this.cmb_DataBase.TabIndex = 2; + this.cmb_DataBase.SelectedIndexChanged += new System.EventHandler(this.cmb_DataBase_SelectedIndexChanged); // // lbl_DataSource // @@ -366,6 +405,21 @@ // // groupBox2 // + this.groupBox2.Controls.Add(this.tb_DeleteAlertAttr); + this.groupBox2.Controls.Add(this.label25); + this.groupBox2.Controls.Add(this.tb_ValidateRepeatName); + this.groupBox2.Controls.Add(this.label24); + this.groupBox2.Controls.Add(this.tb_LikeQueryAttrsName); + this.groupBox2.Controls.Add(this.label23); + this.groupBox2.Controls.Add(this.tb_LikeQueryAttrs); + this.groupBox2.Controls.Add(this.label22); + this.groupBox2.Controls.Add(this.tb_PageMenuInstanceName); + this.groupBox2.Controls.Add(this.label21); + this.groupBox2.Controls.Add(this.tb_MenuName); + this.groupBox2.Controls.Add(this.label20); + this.groupBox2.Controls.Add(this.label19); + this.groupBox2.Controls.Add(this.label18); + this.groupBox2.Controls.Add(this.tb_EnumList); this.groupBox2.Controls.Add(this.tb_GroupName); this.groupBox2.Controls.Add(this.label16); this.groupBox2.Controls.Add(this.label15); @@ -373,7 +427,7 @@ this.groupBox2.Controls.Add(this.groupBox3); this.groupBox2.Controls.Add(this.tb_FileName); this.groupBox2.Controls.Add(this.lblds); - this.groupBox2.Controls.Add(this.tb_RoutePrefix); + this.groupBox2.Controls.Add(this.tb_VueRootFolerName); this.groupBox2.Controls.Add(this.tb_TableName); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.label1); @@ -398,14 +452,137 @@ this.groupBox2.Controls.Add(this.label7); this.groupBox2.Location = new System.Drawing.Point(51, 90); this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(819, 470); + this.groupBox2.Size = new System.Drawing.Size(1187, 470); this.groupBox2.TabIndex = 46; this.groupBox2.TabStop = false; this.groupBox2.Text = "鑷畾涔夐厤缃�"; // + // tb_DeleteAlertAttr + // + this.tb_DeleteAlertAttr.Location = new System.Drawing.Point(552, 246); + this.tb_DeleteAlertAttr.Name = "tb_DeleteAlertAttr"; + this.tb_DeleteAlertAttr.Size = new System.Drawing.Size(145, 21); + this.tb_DeleteAlertAttr.TabIndex = 65; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(452, 255); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(83, 12); + this.label25.TabIndex = 64; + this.label25.Text = "鍒犻櫎鎻愮ず瀛楁:"; + // + // tb_ValidateRepeatName + // + this.tb_ValidateRepeatName.Location = new System.Drawing.Point(402, 108); + this.tb_ValidateRepeatName.Name = "tb_ValidateRepeatName"; + this.tb_ValidateRepeatName.Size = new System.Drawing.Size(145, 21); + this.tb_ValidateRepeatName.TabIndex = 63; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(298, 114); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(95, 12); + this.label24.TabIndex = 62; + this.label24.Text = "閲嶅鎬ф牎楠屽瓧娈�:"; + // + // tb_LikeQueryAttrsName + // + this.tb_LikeQueryAttrsName.Location = new System.Drawing.Point(773, 234); + this.tb_LikeQueryAttrsName.Name = "tb_LikeQueryAttrsName"; + this.tb_LikeQueryAttrsName.Size = new System.Drawing.Size(197, 21); + this.tb_LikeQueryAttrsName.TabIndex = 61; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(771, 215); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(299, 12); + this.label23.TabIndex = 60; + this.label23.Text = "妯$硦鏌ヨ瀛楁鍚�(绀轰緥):璇疯緭鍏ョ墿鏂欑紪鐮�/鐗╂枡鍚嶇О/澶囨敞"; + // + // tb_LikeQueryAttrs + // + this.tb_LikeQueryAttrs.Location = new System.Drawing.Point(773, 182); + this.tb_LikeQueryAttrs.Name = "tb_LikeQueryAttrs"; + this.tb_LikeQueryAttrs.Size = new System.Drawing.Size(197, 21); + this.tb_LikeQueryAttrs.TabIndex = 59; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(771, 156); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(371, 12); + this.label22.TabIndex = 58; + this.label22.Text = "妯$硦鏌ヨ瀛楁锛堢ず渚嬶級:\'MaterialCode\', \'MaterialName\', \'Remark\'"; + // + // tb_PageMenuInstanceName + // + this.tb_PageMenuInstanceName.Location = new System.Drawing.Point(552, 212); + this.tb_PageMenuInstanceName.Name = "tb_PageMenuInstanceName"; + this.tb_PageMenuInstanceName.Size = new System.Drawing.Size(197, 21); + this.tb_PageMenuInstanceName.TabIndex = 57; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(450, 220); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(107, 12); + this.label21.TabIndex = 56; + this.label21.Text = "椤甸潰鑿滃崟瀵硅薄缂╁啓:"; + // + // tb_MenuName + // + this.tb_MenuName.Location = new System.Drawing.Point(525, 183); + this.tb_MenuName.Name = "tb_MenuName"; + this.tb_MenuName.Size = new System.Drawing.Size(197, 21); + this.tb_MenuName.TabIndex = 55; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(450, 191); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(71, 12); + this.label20.TabIndex = 54; + this.label20.Text = "椤甸潰鑿滃崟鍚�:"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(318, 346); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(563, 12); + this.label19.TabIndex = 53; + this.label19.Text = "PurchaseType|PurchaseTypeEnum|PurchaseTypeDesc,MaterialType|MaterialTypeEnum|Mate" + + "rialTypeDesc"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(318, 390); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(107, 12); + this.label18.TabIndex = 52; + this.label18.Text = "鏋氫妇绫诲瀷瀛楁闆嗗悎:"; + // + // tb_EnumList + // + this.tb_EnumList.Location = new System.Drawing.Point(431, 361); + this.tb_EnumList.Multiline = true; + this.tb_EnumList.Name = "tb_EnumList"; + this.tb_EnumList.Size = new System.Drawing.Size(369, 104); + this.tb_EnumList.TabIndex = 51; + // // tb_GroupName // - this.tb_GroupName.Location = new System.Drawing.Point(350, 108); + this.tb_GroupName.Location = new System.Drawing.Point(973, 111); this.tb_GroupName.Name = "tb_GroupName"; this.tb_GroupName.Size = new System.Drawing.Size(183, 21); this.tb_GroupName.TabIndex = 50; @@ -413,7 +590,7 @@ // label16 // this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(298, 111); + this.label16.Location = new System.Drawing.Point(920, 117); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(47, 12); this.label16.TabIndex = 49; @@ -496,29 +673,43 @@ this.label14.TabIndex = 47; this.label14.Text = "鏂囦欢涓嬭浇鍚嶅瓧:"; // - // cmb_DataBase + // tb_FilePath // - this.cmb_DataBase.FormattingEnabled = true; - this.cmb_DataBase.Location = new System.Drawing.Point(581, 20); - this.cmb_DataBase.Name = "cmb_DataBase"; - this.cmb_DataBase.Size = new System.Drawing.Size(206, 20); - this.cmb_DataBase.TabIndex = 2; - this.cmb_DataBase.SelectedIndexChanged += new System.EventHandler(this.cmb_DataBase_SelectedIndexChanged); + this.tb_FilePath.Enabled = false; + this.tb_FilePath.Location = new System.Drawing.Point(51, 579); + this.tb_FilePath.Name = "tb_FilePath"; + this.tb_FilePath.Size = new System.Drawing.Size(568, 21); + this.tb_FilePath.TabIndex = 47; + this.tb_FilePath.TextChanged += new System.EventHandler(this.tb_FilePath_TextChanged); // - // label17 + // btn_SelectFile // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(478, 23); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(65, 12); - this.label17.TabIndex = 3; - this.label17.Text = "鏁版嵁搴撶被鍨�"; + this.btn_SelectFile.Location = new System.Drawing.Point(632, 571); + this.btn_SelectFile.Name = "btn_SelectFile"; + this.btn_SelectFile.Size = new System.Drawing.Size(252, 34); + this.btn_SelectFile.TabIndex = 48; + this.btn_SelectFile.Text = "璇峰湪姝ゅ鍏ョ敓鎴愪唬鐮侀渶瑕佺殑閰嶇疆鏂囨湰锛侊紒"; + this.btn_SelectFile.UseVisualStyleBackColor = true; + this.btn_SelectFile.Click += new System.EventHandler(this.btn_SelectFile_Click); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(890, 571); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(108, 34); + this.button1.TabIndex = 49; + this.button1.Text = "娓呯┖瀵煎叆璺緞锛侊紒"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click_1); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(927, 672); + this.ClientSize = new System.Drawing.Size(1250, 831); + this.Controls.Add(this.button1); + this.Controls.Add(this.btn_SelectFile); + this.Controls.Add(this.tb_FilePath); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.btn_InsertSql); @@ -571,7 +762,7 @@ private System.Windows.Forms.TextBox tb_Modulelogo; private System.Windows.Forms.Label label3; private System.Windows.Forms.Button btn_InsertSql; - private System.Windows.Forms.TextBox tb_RoutePrefix; + private System.Windows.Forms.TextBox tb_VueRootFolerName; private System.Windows.Forms.Label label13; private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.Label lbl_DataSource; @@ -589,6 +780,24 @@ private System.Windows.Forms.TextBox tb_GroupName; private System.Windows.Forms.ComboBox cmb_DataBase; private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.TextBox tb_EnumList; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.TextBox tb_MenuName; + private System.Windows.Forms.TextBox tb_PageMenuInstanceName; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.TextBox tb_LikeQueryAttrs; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.TextBox tb_LikeQueryAttrsName; + private System.Windows.Forms.TextBox tb_ValidateRepeatName; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.TextBox tb_DeleteAlertAttr; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.TextBox tb_FilePath; + private System.Windows.Forms.Button btn_SelectFile; + private System.Windows.Forms.Button button1; } } -- Gitblit v1.9.3