You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

281 lines
16 KiB

2 years ago
  1. namespace EntityBuilder
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
  33. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
  34. this.dataGridView1 = new System.Windows.Forms.DataGridView();
  35. this.selectedRow = new System.Windows.Forms.DataGridViewCheckBoxColumn();
  36. this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  37. this.btnGen = new System.Windows.Forms.Button();
  38. this.dataGridView2 = new System.Windows.Forms.DataGridView();
  39. this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  40. this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  41. this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  42. this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  43. this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
  44. this.txtCode = new System.Windows.Forms.TextBox();
  45. this.txtPath = new System.Windows.Forms.TextBox();
  46. this.label1 = new System.Windows.Forms.Label();
  47. this.txtSyntax = new Kevin.SyntaxTextBox.SyntaxTextBox();
  48. this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
  49. this.allcheck = new System.Windows.Forms.CheckBox();
  50. this.btnGen_Helper = new System.Windows.Forms.Button();
  51. ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
  52. ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
  53. ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
  54. this.SuspendLayout();
  55. //
  56. // dataGridView1
  57. //
  58. this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  59. this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  60. this.selectedRow,
  61. this.Column2});
  62. this.dataGridView1.Location = new System.Drawing.Point(14, 68);
  63. this.dataGridView1.MultiSelect = false;
  64. this.dataGridView1.Name = "dataGridView1";
  65. this.dataGridView1.RightToLeft = System.Windows.Forms.RightToLeft.No;
  66. this.dataGridView1.RowHeadersWidth = 30;
  67. this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
  68. this.dataGridView1.RowTemplate.Height = 23;
  69. this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
  70. this.dataGridView1.Size = new System.Drawing.Size(329, 549);
  71. this.dataGridView1.TabIndex = 10;
  72. this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
  73. //
  74. // selectedRow
  75. //
  76. this.selectedRow.HeaderText = "";
  77. this.selectedRow.Name = "selectedRow";
  78. this.selectedRow.Width = 45;
  79. //
  80. // Column2
  81. //
  82. this.Column2.DataPropertyName = "Name";
  83. this.Column2.FillWeight = 110F;
  84. this.Column2.HeaderText = "表名称";
  85. this.Column2.Name = "Column2";
  86. this.Column2.Width = 230;
  87. //
  88. // btnGen
  89. //
  90. this.btnGen.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  91. this.btnGen.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
  92. this.btnGen.Location = new System.Drawing.Point(16, 637);
  93. this.btnGen.Name = "btnGen";
  94. this.btnGen.Size = new System.Drawing.Size(373, 61);
  95. this.btnGen.TabIndex = 13;
  96. this.btnGen.Text = "生成代码类文件";
  97. this.btnGen.UseVisualStyleBackColor = true;
  98. this.btnGen.Click += new System.EventHandler(this.btnGen_Click);
  99. //
  100. // dataGridView2
  101. //
  102. this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  103. this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  104. this.dataGridViewTextBoxColumn2,
  105. this.dataGridViewTextBoxColumn6,
  106. this.dataGridViewTextBoxColumn3,
  107. this.dataGridViewTextBoxColumn4,
  108. this.dataGridViewTextBoxColumn5});
  109. this.dataGridView2.Location = new System.Drawing.Point(343, 68);
  110. this.dataGridView2.MultiSelect = false;
  111. this.dataGridView2.Name = "dataGridView2";
  112. this.dataGridView2.ReadOnly = true;
  113. this.dataGridView2.RowTemplate.Height = 23;
  114. this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  115. this.dataGridView2.Size = new System.Drawing.Size(477, 549);
  116. this.dataGridView2.TabIndex = 14;
  117. //
  118. // dataGridViewTextBoxColumn2
  119. //
  120. this.dataGridViewTextBoxColumn2.DataPropertyName = "DbColumnName";
  121. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  122. this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle1;
  123. this.dataGridViewTextBoxColumn2.HeaderText = "字段名";
  124. this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
  125. this.dataGridViewTextBoxColumn2.ReadOnly = true;
  126. this.dataGridViewTextBoxColumn2.Width = 150;
  127. //
  128. // dataGridViewTextBoxColumn6
  129. //
  130. this.dataGridViewTextBoxColumn6.DataPropertyName = "DataType";
  131. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  132. this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle2;
  133. this.dataGridViewTextBoxColumn6.HeaderText = "类型";
  134. this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
  135. this.dataGridViewTextBoxColumn6.ReadOnly = true;
  136. this.dataGridViewTextBoxColumn6.Width = 70;
  137. //
  138. // dataGridViewTextBoxColumn3
  139. //
  140. this.dataGridViewTextBoxColumn3.DataPropertyName = "IsPrimarykey";
  141. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  142. this.dataGridViewTextBoxColumn3.DefaultCellStyle = dataGridViewCellStyle3;
  143. this.dataGridViewTextBoxColumn3.HeaderText = "是否主键";
  144. this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
  145. this.dataGridViewTextBoxColumn3.ReadOnly = true;
  146. this.dataGridViewTextBoxColumn3.Width = 70;
  147. //
  148. // dataGridViewTextBoxColumn4
  149. //
  150. this.dataGridViewTextBoxColumn4.DataPropertyName = "IsIdentity";
  151. dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  152. this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle4;
  153. this.dataGridViewTextBoxColumn4.HeaderText = "是否标识";
  154. this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
  155. this.dataGridViewTextBoxColumn4.ReadOnly = true;
  156. this.dataGridViewTextBoxColumn4.Width = 70;
  157. //
  158. // dataGridViewTextBoxColumn5
  159. //
  160. this.dataGridViewTextBoxColumn5.DataPropertyName = "IsNullable";
  161. dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  162. this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle5;
  163. this.dataGridViewTextBoxColumn5.HeaderText = "允许为空";
  164. this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
  165. this.dataGridViewTextBoxColumn5.ReadOnly = true;
  166. this.dataGridViewTextBoxColumn5.Width = 70;
  167. //
  168. // txtCode
  169. //
  170. this.txtCode.Location = new System.Drawing.Point(0, 0);
  171. this.txtCode.Name = "txtCode";
  172. this.txtCode.Size = new System.Drawing.Size(100, 23);
  173. this.txtCode.TabIndex = 0;
  174. //
  175. // txtPath
  176. //
  177. this.txtPath.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  178. this.txtPath.ForeColor = System.Drawing.Color.Blue;
  179. this.txtPath.Location = new System.Drawing.Point(197, 19);
  180. this.txtPath.Name = "txtPath";
  181. this.txtPath.Size = new System.Drawing.Size(503, 32);
  182. this.txtPath.TabIndex = 19;
  183. //
  184. // label1
  185. //
  186. this.label1.AutoSize = true;
  187. this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  188. this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
  189. this.label1.Location = new System.Drawing.Point(-2, 22);
  190. this.label1.Name = "label1";
  191. this.label1.Size = new System.Drawing.Size(202, 25);
  192. this.label1.TabIndex = 20;
  193. this.label1.Text = "生成类文件保存路径:";
  194. //
  195. // txtSyntax
  196. //
  197. this.txtSyntax.AcceptsTab = true;
  198. this.txtSyntax.CaseSensitive = false;
  199. this.txtSyntax.ConfigFile = "csharp.xml";
  200. this.txtSyntax.FilterAutoComplete = true;
  201. this.txtSyntax.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  202. this.txtSyntax.Location = new System.Drawing.Point(827, 19);
  203. this.txtSyntax.MaxUndoRedoSteps = 50;
  204. this.txtSyntax.Name = "txtSyntax";
  205. this.txtSyntax.Size = new System.Drawing.Size(609, 678);
  206. this.txtSyntax.TabIndex = 0;
  207. this.txtSyntax.Text = "";
  208. this.txtSyntax.WordWrap = false;
  209. //
  210. // allcheck
  211. //
  212. this.allcheck.AutoSize = true;
  213. this.allcheck.Location = new System.Drawing.Point(724, 42);
  214. this.allcheck.Name = "allcheck";
  215. this.allcheck.Size = new System.Drawing.Size(55, 18);
  216. this.allcheck.TabIndex = 21;
  217. this.allcheck.Text = "全選";
  218. this.allcheck.UseVisualStyleBackColor = true;
  219. this.allcheck.CheckedChanged += new System.EventHandler(this.allcheck_CheckedChanged);
  220. //
  221. // btnGen_Helper
  222. //
  223. this.btnGen_Helper.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  224. this.btnGen_Helper.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
  225. this.btnGen_Helper.Location = new System.Drawing.Point(413, 637);
  226. this.btnGen_Helper.Name = "btnGen_Helper";
  227. this.btnGen_Helper.Size = new System.Drawing.Size(373, 61);
  228. this.btnGen_Helper.TabIndex = 22;
  229. this.btnGen_Helper.Text = "生成代码輔助类文件";
  230. this.btnGen_Helper.UseVisualStyleBackColor = true;
  231. this.btnGen_Helper.Click += new System.EventHandler(this.btnGen_Helper_Click);
  232. //
  233. // Form1
  234. //
  235. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
  236. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  237. this.ClientSize = new System.Drawing.Size(1442, 712);
  238. this.Controls.Add(this.btnGen_Helper);
  239. this.Controls.Add(this.allcheck);
  240. this.Controls.Add(this.label1);
  241. this.Controls.Add(this.txtPath);
  242. this.Controls.Add(this.txtSyntax);
  243. this.Controls.Add(this.dataGridView2);
  244. this.Controls.Add(this.btnGen);
  245. this.Controls.Add(this.dataGridView1);
  246. this.Name = "Form1";
  247. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  248. this.Text = "Form1";
  249. this.Load += new System.EventHandler(this.Form1_Load);
  250. ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
  251. ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
  252. ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
  253. this.ResumeLayout(false);
  254. this.PerformLayout();
  255. }
  256. #endregion
  257. private System.Windows.Forms.DataGridView dataGridView1;
  258. private System.Windows.Forms.Button btnGen;
  259. private System.Windows.Forms.DataGridView dataGridView2;
  260. private System.Windows.Forms.TextBox txtCode;
  261. private System.Windows.Forms.TextBox txtPath;
  262. private System.Windows.Forms.Label label1;
  263. private System.Windows.Forms.BindingSource bindingSource1;
  264. private System.Windows.Forms.CheckBox allcheck;
  265. private System.Windows.Forms.Button btnGen_Helper;
  266. private System.Windows.Forms.DataGridViewCheckBoxColumn selectedRow;
  267. private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
  268. private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
  269. private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
  270. private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
  271. private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
  272. private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
  273. }
  274. }