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 | 104 +++++++++++++++++++++++++++++++++++---------------- 1 files changed, 71 insertions(+), 33 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 7337df2..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,7 +56,7 @@ 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(); @@ -64,6 +64,8 @@ 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(); @@ -87,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.label25 = new System.Windows.Forms.Label(); - this.tb_DeleteAlertAttr = new System.Windows.Forms.TextBox(); + 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(); @@ -96,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; @@ -115,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); @@ -123,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; @@ -133,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; @@ -324,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; @@ -333,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(737, 316); - 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(646, 318); + 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 @@ -424,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); @@ -453,6 +456,22 @@ 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 // @@ -555,7 +574,7 @@ // // tb_EnumList // - this.tb_EnumList.Location = new System.Drawing.Point(418, 361); + 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); @@ -654,27 +673,43 @@ this.label14.TabIndex = 47; this.label14.Text = "鏂囦欢涓嬭浇鍚嶅瓧:"; // - // label25 + // tb_FilePath // - 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 = "鍒犻櫎鎻愮ず瀛楁:"; + 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); // - // tb_DeleteAlertAttr + // btn_SelectFile // - 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; + 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(1250, 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); @@ -727,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; @@ -760,6 +795,9 @@ 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