CNAS取数仪器端升级
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

252 行
13KB

  1. namespace CNAS_DBSync
  2. {
  3. partial class frmSourceFilter
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  29. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  30. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  31. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSourceFilter));
  32. this.groupBox1 = new System.Windows.Forms.GroupBox();
  33. this.txtCurrentTableName = new System.Windows.Forms.TextBox();
  34. this.label2 = new System.Windows.Forms.Label();
  35. this.cbxConditionLink = new System.Windows.Forms.ComboBox();
  36. this.btnDelete = new System.Windows.Forms.Button();
  37. this.dgvConditions = new System.Windows.Forms.DataGridView();
  38. this.btnAdd = new System.Windows.Forms.Button();
  39. this.label1 = new System.Windows.Forms.Label();
  40. this.btnOK = new System.Windows.Forms.Button();
  41. this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
  42. this.Algorithm = new System.Windows.Forms.DataGridViewTextBoxColumn();
  43. this.ConditionValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
  44. this.ColumnDataType = new System.Windows.Forms.DataGridViewTextBoxColumn();
  45. this.groupBox1.SuspendLayout();
  46. ((System.ComponentModel.ISupportInitialize)(this.dgvConditions)).BeginInit();
  47. this.SuspendLayout();
  48. //
  49. // groupBox1
  50. //
  51. this.groupBox1.Controls.Add(this.txtCurrentTableName);
  52. this.groupBox1.Controls.Add(this.label2);
  53. this.groupBox1.Controls.Add(this.cbxConditionLink);
  54. this.groupBox1.Controls.Add(this.btnDelete);
  55. this.groupBox1.Controls.Add(this.dgvConditions);
  56. this.groupBox1.Controls.Add(this.btnAdd);
  57. this.groupBox1.Controls.Add(this.label1);
  58. this.groupBox1.Location = new System.Drawing.Point(13, 13);
  59. this.groupBox1.Name = "groupBox1";
  60. this.groupBox1.Size = new System.Drawing.Size(923, 580);
  61. this.groupBox1.TabIndex = 0;
  62. this.groupBox1.TabStop = false;
  63. this.groupBox1.Text = "来源数据过滤";
  64. //
  65. // txtCurrentTableName
  66. //
  67. this.txtCurrentTableName.Location = new System.Drawing.Point(82, 24);
  68. this.txtCurrentTableName.Name = "txtCurrentTableName";
  69. this.txtCurrentTableName.ReadOnly = true;
  70. this.txtCurrentTableName.Size = new System.Drawing.Size(160, 27);
  71. this.txtCurrentTableName.TabIndex = 16;
  72. //
  73. // label2
  74. //
  75. this.label2.AutoSize = true;
  76. this.label2.Location = new System.Drawing.Point(281, 26);
  77. this.label2.Name = "label2";
  78. this.label2.Size = new System.Drawing.Size(99, 20);
  79. this.label2.TabIndex = 15;
  80. this.label2.Text = "条件间关系:";
  81. //
  82. // cbxConditionLink
  83. //
  84. this.cbxConditionLink.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  85. this.cbxConditionLink.FormattingEnabled = true;
  86. this.cbxConditionLink.Items.AddRange(new object[] {
  87. "与",
  88. "或"});
  89. this.cbxConditionLink.Location = new System.Drawing.Point(386, 23);
  90. this.cbxConditionLink.Name = "cbxConditionLink";
  91. this.cbxConditionLink.Size = new System.Drawing.Size(255, 28);
  92. this.cbxConditionLink.TabIndex = 14;
  93. //
  94. // btnDelete
  95. //
  96. this.btnDelete.Location = new System.Drawing.Point(782, 22);
  97. this.btnDelete.Name = "btnDelete";
  98. this.btnDelete.Size = new System.Drawing.Size(90, 30);
  99. this.btnDelete.TabIndex = 13;
  100. this.btnDelete.Text = "删除条件";
  101. this.btnDelete.UseVisualStyleBackColor = true;
  102. this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
  103. //
  104. // dgvConditions
  105. //
  106. this.dgvConditions.AllowUserToAddRows = false;
  107. this.dgvConditions.BackgroundColor = System.Drawing.Color.White;
  108. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  109. dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
  110. dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  111. dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
  112. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  113. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  114. dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  115. this.dgvConditions.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
  116. this.dgvConditions.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  117. this.dgvConditions.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
  118. this.ColumnName,
  119. this.Algorithm,
  120. this.ConditionValue,
  121. this.ColumnDataType});
  122. this.dgvConditions.Location = new System.Drawing.Point(6, 55);
  123. this.dgvConditions.MultiSelect = false;
  124. this.dgvConditions.Name = "dgvConditions";
  125. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  126. dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
  127. dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  128. dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
  129. dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  130. dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  131. dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  132. this.dgvConditions.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
  133. this.dgvConditions.RowHeadersVisible = false;
  134. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  135. this.dgvConditions.RowsDefaultCellStyle = dataGridViewCellStyle3;
  136. this.dgvConditions.RowTemplate.Height = 23;
  137. this.dgvConditions.Size = new System.Drawing.Size(917, 515);
  138. this.dgvConditions.TabIndex = 12;
  139. this.dgvConditions.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvConditions_CellClick);
  140. this.dgvConditions.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvConditions_CellDoubleClick);
  141. this.dgvConditions.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvConditions_CellEndEdit);
  142. this.dgvConditions.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvConditions_CellFormatting);
  143. this.dgvConditions.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvConditions_EditingControlShowing);
  144. this.dgvConditions.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvConditions_MouseClick);
  145. //
  146. // btnAdd
  147. //
  148. this.btnAdd.Location = new System.Drawing.Point(685, 22);
  149. this.btnAdd.Name = "btnAdd";
  150. this.btnAdd.Size = new System.Drawing.Size(91, 27);
  151. this.btnAdd.TabIndex = 11;
  152. this.btnAdd.Text = "新增条件";
  153. this.btnAdd.UseVisualStyleBackColor = true;
  154. this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
  155. //
  156. // label1
  157. //
  158. this.label1.AutoSize = true;
  159. this.label1.Location = new System.Drawing.Point(8, 27);
  160. this.label1.Name = "label1";
  161. this.label1.Size = new System.Drawing.Size(84, 20);
  162. this.label1.TabIndex = 10;
  163. this.label1.Text = "当前表名:";
  164. //
  165. // btnOK
  166. //
  167. this.btnOK.Location = new System.Drawing.Point(846, 599);
  168. this.btnOK.Name = "btnOK";
  169. this.btnOK.Size = new System.Drawing.Size(90, 30);
  170. this.btnOK.TabIndex = 1;
  171. this.btnOK.Text = "确认";
  172. this.btnOK.UseVisualStyleBackColor = true;
  173. this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
  174. //
  175. // ColumnName
  176. //
  177. this.ColumnName.DataPropertyName = "ColumnName";
  178. this.ColumnName.HeaderText = "条件列";
  179. this.ColumnName.Name = "ColumnName";
  180. this.ColumnName.ReadOnly = true;
  181. this.ColumnName.Width = 250;
  182. //
  183. // Algorithm
  184. //
  185. this.Algorithm.DataPropertyName = "Algorithm";
  186. this.Algorithm.HeaderText = "条件";
  187. this.Algorithm.Name = "Algorithm";
  188. this.Algorithm.ReadOnly = true;
  189. this.Algorithm.Resizable = System.Windows.Forms.DataGridViewTriState.True;
  190. this.Algorithm.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
  191. this.Algorithm.Width = 250;
  192. //
  193. // ConditionValue
  194. //
  195. this.ConditionValue.DataPropertyName = "ConditionValue";
  196. this.ConditionValue.HeaderText = "条件值";
  197. this.ConditionValue.Name = "ConditionValue";
  198. this.ConditionValue.ReadOnly = true;
  199. this.ConditionValue.Width = 300;
  200. //
  201. // ColumnDataType
  202. //
  203. this.ColumnDataType.DataPropertyName = "ColumnDataType";
  204. this.ColumnDataType.HeaderText = "类型";
  205. this.ColumnDataType.Name = "ColumnDataType";
  206. this.ColumnDataType.ReadOnly = true;
  207. this.ColumnDataType.Visible = false;
  208. //
  209. // frmSourceFilter
  210. //
  211. this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
  212. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  213. this.ClientSize = new System.Drawing.Size(972, 641);
  214. this.Controls.Add(this.btnOK);
  215. this.Controls.Add(this.groupBox1);
  216. this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  217. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  218. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  219. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  220. this.MaximizeBox = false;
  221. this.MinimizeBox = false;
  222. this.Name = "frmSourceFilter";
  223. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
  224. this.Text = "数据过滤器";
  225. this.Load += new System.EventHandler(this.frmSourceFilter_Load);
  226. this.groupBox1.ResumeLayout(false);
  227. this.groupBox1.PerformLayout();
  228. ((System.ComponentModel.ISupportInitialize)(this.dgvConditions)).EndInit();
  229. this.ResumeLayout(false);
  230. }
  231. #endregion
  232. private System.Windows.Forms.GroupBox groupBox1;
  233. private System.Windows.Forms.Button btnOK;
  234. private System.Windows.Forms.ComboBox cbxConditionLink;
  235. private System.Windows.Forms.Button btnDelete;
  236. private System.Windows.Forms.DataGridView dgvConditions;
  237. private System.Windows.Forms.Button btnAdd;
  238. private System.Windows.Forms.Label label1;
  239. private System.Windows.Forms.TextBox txtCurrentTableName;
  240. private System.Windows.Forms.Label label2;
  241. private System.Windows.Forms.DataGridViewTextBoxColumn ColumnName;
  242. private System.Windows.Forms.DataGridViewTextBoxColumn Algorithm;
  243. private System.Windows.Forms.DataGridViewTextBoxColumn ConditionValue;
  244. private System.Windows.Forms.DataGridViewTextBoxColumn ColumnDataType;
  245. }
  246. }