PeiZhiYuJing.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. using SuperMap.Data;
  2. using System;
  3. using System.Collections.Generic;
  4. using WeifenLuo.WinFormsUI.Docking;
  5. using WWPipeLine.MapBasic.Conditions;
  6. using WWPipeLine.MapBasic;
  7. using Sunny.UI;
  8. using System.Windows.Forms;
  9. using System.Data;
  10. namespace WWPipeLine.MapTools.Conditions.XiTongGuanLi
  11. {
  12. public class PeiZhiYuJing : ConditionPanel
  13. {
  14. private Sunny.UI.UIDataGridView uiDGVjslkpz;
  15. private Sunny.UI.UIPanel uiPanel1;
  16. private Sunny.UI.UIButton uiButton3;
  17. private Sunny.UI.UIButton uiButton2;
  18. private Sunny.UI.UIButton uiButton1;
  19. private Sunny.UI.UILabel uiLabel1;
  20. private Sunny.UI.UILabel uiLabel3;
  21. private Sunny.UI.UILabel uiLabel4;
  22. private Sunny.UI.UITextBox uiTByjnx;
  23. private Sunny.UI.UITextBox uiTBbznx;
  24. private Sunny.UI.UIPanel uiPanel2;
  25. private Sunny.UI.UIComboBox uiCBcz;
  26. private Recordset _rd;
  27. private Sunny.UI.UILabel uiLBsmid;
  28. private int _rdsmid = 0;
  29. private DataTable m_dt;
  30. public PeiZhiYuJing() : base()
  31. {
  32. this.ConditionPanelName = "管线使用年限预警配置";
  33. InitializeComponent();
  34. IsShowPanelFooter = false;
  35. }
  36. protected override void OnLoad(EventArgs e)
  37. {
  38. QueryParameter queryParameter = new QueryParameter
  39. {
  40. AttributeFilter = " pzlx='年限预警配置' ",
  41. ResultFields = new string[] { "smid", "gxlx", "pzlx", "gxcz", "gxyjnx", "gxbznx" },
  42. OrderBy = new string[] { "smid" },
  43. CursorType = CursorType.Dynamic,
  44. HasGeometry = true
  45. };
  46. _rd = ComsStatic.dvJSLK_PZ.Query(queryParameter);
  47. m_dt = ComsStatic.RecordsetToDataTable(_rd);
  48. ComsStatic.setUIDataGridView(uiDGVjslkpz, m_dt);
  49. ComsStatic.BindDataTableOnComboBox(ComsStatic.dvJSLK, uiCBcz, "cz");
  50. }
  51. private void uiButton3_Click(object sender, EventArgs e)
  52. {
  53. if (_rdsmid == 0) { UIMessageTip.ShowError("请先选择需要删除的信息!"); return; }
  54. if (_rd.SeekID(_rdsmid))
  55. {
  56. ComsStatic.ShowUIMessageTipOKorError(_rd.Delete(), "管线年限预警删除");
  57. OnLoad(e);
  58. }
  59. else
  60. { Sunny.UI.UIMessageTip.ShowError("信息在删除选择时失败!"); }
  61. }
  62. private void uiButton2_Click(object sender, EventArgs e)
  63. {
  64. string strCZ = uiCBcz.SelectedItem?.ToString();
  65. if (string.IsNullOrEmpty(uiTByjnx.Text) || uiTByjnx.Text == "0" || string.IsNullOrEmpty(uiTBbznx.Text) || uiTBbznx.Text == "0" || string.IsNullOrEmpty(strCZ))
  66. {
  67. UIMessageTip.ShowError("请输入正确的预警年限数据!"); return;
  68. }
  69. if (_rd.SeekID(_rdsmid))
  70. {
  71. _rd.Edit();
  72. _rd.SetFieldValue("gxcz", uiCBcz.SelectedItem);
  73. _rd.SetFieldValue("gxyjnx", ComsStatic.StringToDouble(uiTByjnx.Text));
  74. _rd.SetFieldValue("gxbznx", ComsStatic.StringToDouble(uiTBbznx.Text));
  75. ComsStatic.ShowUIMessageTipOKorError(_rd.Update(), "管线年限预警编辑");
  76. OnLoad(e);
  77. }
  78. else
  79. { Sunny.UI.UIMessageTip.ShowError("信息在编辑选择时失败!"); }
  80. }
  81. public override void AfterClose()
  82. {
  83. if (!(_rd is null)) _rd.Close(); _rd.Dispose();
  84. base.AfterClose();
  85. }
  86. private void uiButton1_Click(object sender, EventArgs e)
  87. {
  88. string strCZ = uiCBcz.SelectedItem?.ToString();
  89. if (string.IsNullOrEmpty(uiTByjnx.Text) || uiTByjnx.Text == "0" || string.IsNullOrEmpty(uiTBbznx.Text) || uiTBbznx.Text == "0" || string.IsNullOrEmpty(strCZ))
  90. {
  91. UIMessageTip.ShowError("请输入正确的预警年限数据!"); return;
  92. }
  93. if (m_dt.Select(string.Format(" gxcz='{0}'", strCZ)).Length > 0)
  94. {
  95. UIMessageTip.ShowError("已经存在管线的预警年限信息!"); return;
  96. }
  97. _rd.AddNew(new GeoPoint(0, 0));
  98. _rd.SetFieldValue("pzlx", "年限预警配置");
  99. _rd.SetFieldValue("gxlx", "供水管线");
  100. _rd.SetFieldValue("gxcz", uiCBcz.SelectedItem);
  101. _rd.SetFieldValue("gxyjnx", ComsStatic.StringToDouble(uiTByjnx.Text));
  102. _rd.SetFieldValue("gxbznx", ComsStatic.StringToDouble(uiTBbznx.Text));
  103. ComsStatic.ShowUIMessageTipOKorError(_rd.Update(), "管线年限预警新增");
  104. OnLoad(e);
  105. }
  106. private void uiTextBox2_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
  107. {
  108. if ((e.KeyChar < 48 || e.KeyChar > 57) && (e.KeyChar < 96 || e.KeyChar > 105) && (e.KeyChar != 8))
  109. e.Handled = true;
  110. }
  111. private void uiDGVjslkpz_SelectIndexChange(object sender, int index)
  112. {
  113. var selectRows = (sender as UIDataGridView).SelectedRows;
  114. if (selectRows == null || selectRows.Count != 1) return;
  115. _rdsmid = ComsStatic.StringToInt(selectRows[0].Cells["SmID"].Value.ToString());
  116. if (_rdsmid != 0 && _rd.SeekID(_rdsmid))
  117. {
  118. uiLBsmid.Text = _rd.GetFieldValue("smid").ToString();
  119. uiCBcz.SelectedItem = _rd.GetFieldValue("gxcz").ToString();
  120. uiTByjnx.Text = _rd.GetFieldValue("gxyjnx").ToString();
  121. uiTBbznx.Text = _rd.GetFieldValue("gxbznx").ToString();
  122. }
  123. else
  124. { Sunny.UI.UIMessageTip.ShowError("信息错误!"); }
  125. }
  126. private void InitializeComponent()
  127. {
  128. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  129. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
  130. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
  131. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
  132. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
  133. this.uiDGVjslkpz = new Sunny.UI.UIDataGridView();
  134. this.uiPanel1 = new Sunny.UI.UIPanel();
  135. this.uiPanel2 = new Sunny.UI.UIPanel();
  136. this.uiLBsmid = new Sunny.UI.UILabel();
  137. this.uiCBcz = new Sunny.UI.UIComboBox();
  138. this.uiTByjnx = new Sunny.UI.UITextBox();
  139. this.uiTBbznx = new Sunny.UI.UITextBox();
  140. this.uiLabel4 = new Sunny.UI.UILabel();
  141. this.uiLabel3 = new Sunny.UI.UILabel();
  142. this.uiLabel1 = new Sunny.UI.UILabel();
  143. this.uiButton3 = new Sunny.UI.UIButton();
  144. this.uiButton2 = new Sunny.UI.UIButton();
  145. this.uiButton1 = new Sunny.UI.UIButton();
  146. ((System.ComponentModel.ISupportInitialize)(this.uiDGVjslkpz)).BeginInit();
  147. this.uiPanel1.SuspendLayout();
  148. this.uiPanel2.SuspendLayout();
  149. this.SuspendLayout();
  150. //
  151. // uiDGVjslkpz
  152. //
  153. dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
  154. this.uiDGVjslkpz.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
  155. this.uiDGVjslkpz.BackgroundColor = System.Drawing.Color.White;
  156. this.uiDGVjslkpz.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
  157. dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
  158. dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
  159. dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F);
  160. dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
  161. dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
  162. dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  163. dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  164. this.uiDGVjslkpz.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
  165. this.uiDGVjslkpz.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  166. dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  167. dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
  168. dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 12F);
  169. dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  170. dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
  171. dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  172. dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
  173. this.uiDGVjslkpz.DefaultCellStyle = dataGridViewCellStyle3;
  174. this.uiDGVjslkpz.Dock = System.Windows.Forms.DockStyle.Fill;
  175. this.uiDGVjslkpz.EnableHeadersVisualStyles = false;
  176. this.uiDGVjslkpz.Font = new System.Drawing.Font("微软雅黑", 12F);
  177. this.uiDGVjslkpz.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
  178. this.uiDGVjslkpz.Location = new System.Drawing.Point(0, 0);
  179. this.uiDGVjslkpz.Name = "uiDGVjslkpz";
  180. dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  181. dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
  182. dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F);
  183. dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  184. dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
  185. dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.White;
  186. dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  187. this.uiDGVjslkpz.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
  188. dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
  189. this.uiDGVjslkpz.RowsDefaultCellStyle = dataGridViewCellStyle5;
  190. this.uiDGVjslkpz.RowTemplate.Height = 23;
  191. this.uiDGVjslkpz.SelectedIndex = -1;
  192. this.uiDGVjslkpz.ShowGridLine = true;
  193. this.uiDGVjslkpz.Size = new System.Drawing.Size(500, 365);
  194. this.uiDGVjslkpz.TabIndex = 0;
  195. this.uiDGVjslkpz.SelectIndexChange += new Sunny.UI.UIDataGridView.OnSelectIndexChange(this.uiDGVjslkpz_SelectIndexChange);
  196. //
  197. // uiPanel1
  198. //
  199. this.uiPanel1.Controls.Add(this.uiDGVjslkpz);
  200. this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  201. this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F);
  202. this.uiPanel1.Location = new System.Drawing.Point(0, 0);
  203. this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  204. this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
  205. this.uiPanel1.Name = "uiPanel1";
  206. this.uiPanel1.Size = new System.Drawing.Size(500, 365);
  207. this.uiPanel1.TabIndex = 1;
  208. this.uiPanel1.Text = "uiPanel1";
  209. this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
  210. //
  211. // uiPanel2
  212. //
  213. this.uiPanel2.Controls.Add(this.uiLBsmid);
  214. this.uiPanel2.Controls.Add(this.uiCBcz);
  215. this.uiPanel2.Controls.Add(this.uiTByjnx);
  216. this.uiPanel2.Controls.Add(this.uiTBbznx);
  217. this.uiPanel2.Controls.Add(this.uiLabel4);
  218. this.uiPanel2.Controls.Add(this.uiLabel3);
  219. this.uiPanel2.Controls.Add(this.uiLabel1);
  220. this.uiPanel2.Controls.Add(this.uiButton3);
  221. this.uiPanel2.Controls.Add(this.uiButton2);
  222. this.uiPanel2.Controls.Add(this.uiButton1);
  223. this.uiPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
  224. this.uiPanel2.Font = new System.Drawing.Font("微软雅黑", 12F);
  225. this.uiPanel2.Location = new System.Drawing.Point(0, 271);
  226. this.uiPanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  227. this.uiPanel2.MinimumSize = new System.Drawing.Size(1, 1);
  228. this.uiPanel2.Name = "uiPanel2";
  229. this.uiPanel2.Size = new System.Drawing.Size(500, 94);
  230. this.uiPanel2.TabIndex = 2;
  231. this.uiPanel2.Text = null;
  232. this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
  233. //
  234. // uiLBsmid
  235. //
  236. this.uiLBsmid.Font = new System.Drawing.Font("微软雅黑", 12F);
  237. this.uiLBsmid.Location = new System.Drawing.Point(7, 52);
  238. this.uiLBsmid.Name = "uiLBsmid";
  239. this.uiLBsmid.Size = new System.Drawing.Size(59, 23);
  240. this.uiLBsmid.TabIndex = 11;
  241. this.uiLBsmid.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  242. this.uiLBsmid.Visible = false;
  243. //
  244. // uiCBcz
  245. //
  246. this.uiCBcz.DataSource = null;
  247. this.uiCBcz.FillColor = System.Drawing.Color.White;
  248. this.uiCBcz.Font = new System.Drawing.Font("微软雅黑", 12F);
  249. this.uiCBcz.Location = new System.Drawing.Point(79, 11);
  250. this.uiCBcz.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  251. this.uiCBcz.MinimumSize = new System.Drawing.Size(63, 0);
  252. this.uiCBcz.Name = "uiCBcz";
  253. this.uiCBcz.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
  254. this.uiCBcz.Size = new System.Drawing.Size(93, 29);
  255. this.uiCBcz.TabIndex = 9;
  256. this.uiCBcz.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  257. //
  258. // uiTByjnx
  259. //
  260. this.uiTByjnx.Cursor = System.Windows.Forms.Cursors.IBeam;
  261. this.uiTByjnx.FillColor = System.Drawing.Color.White;
  262. this.uiTByjnx.Font = new System.Drawing.Font("微软雅黑", 12F);
  263. this.uiTByjnx.Location = new System.Drawing.Point(290, 11);
  264. this.uiTByjnx.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  265. this.uiTByjnx.Maximum = 2147483647D;
  266. this.uiTByjnx.MaxLength = 2;
  267. this.uiTByjnx.Minimum = -2147483648D;
  268. this.uiTByjnx.MinimumSize = new System.Drawing.Size(1, 1);
  269. this.uiTByjnx.Name = "uiTByjnx";
  270. this.uiTByjnx.Size = new System.Drawing.Size(42, 29);
  271. this.uiTByjnx.TabIndex = 8;
  272. this.uiTByjnx.Text = "0";
  273. this.uiTByjnx.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  274. this.uiTByjnx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.uiTextBox2_KeyPress);
  275. //
  276. // uiTBbznx
  277. //
  278. this.uiTBbznx.Cursor = System.Windows.Forms.Cursors.IBeam;
  279. this.uiTBbznx.FillColor = System.Drawing.Color.White;
  280. this.uiTBbznx.Font = new System.Drawing.Font("微软雅黑", 12F);
  281. this.uiTBbznx.Location = new System.Drawing.Point(450, 11);
  282. this.uiTBbznx.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  283. this.uiTBbznx.Maximum = 2147483647D;
  284. this.uiTBbznx.MaxLength = 2;
  285. this.uiTBbznx.Minimum = -2147483648D;
  286. this.uiTBbznx.MinimumSize = new System.Drawing.Size(1, 1);
  287. this.uiTBbznx.Name = "uiTBbznx";
  288. this.uiTBbznx.Size = new System.Drawing.Size(42, 29);
  289. this.uiTBbznx.TabIndex = 8;
  290. this.uiTBbznx.Text = "0";
  291. this.uiTBbznx.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  292. this.uiTBbznx.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.uiTextBox2_KeyPress);
  293. //
  294. // uiLabel4
  295. //
  296. this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F);
  297. this.uiLabel4.Location = new System.Drawing.Point(335, 11);
  298. this.uiLabel4.Name = "uiLabel4";
  299. this.uiLabel4.Size = new System.Drawing.Size(116, 28);
  300. this.uiLabel4.TabIndex = 6;
  301. this.uiLabel4.Text = "标准使用年限";
  302. this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  303. //
  304. // uiLabel3
  305. //
  306. this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F);
  307. this.uiLabel3.Location = new System.Drawing.Point(175, 11);
  308. this.uiLabel3.Name = "uiLabel3";
  309. this.uiLabel3.Size = new System.Drawing.Size(110, 28);
  310. this.uiLabel3.TabIndex = 5;
  311. this.uiLabel3.Text = "预警使用年限";
  312. this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  313. //
  314. // uiLabel1
  315. //
  316. this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F);
  317. this.uiLabel1.Location = new System.Drawing.Point(4, 11);
  318. this.uiLabel1.Name = "uiLabel1";
  319. this.uiLabel1.Size = new System.Drawing.Size(75, 28);
  320. this.uiLabel1.TabIndex = 3;
  321. this.uiLabel1.Text = "管线材质";
  322. this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  323. //
  324. // uiButton3
  325. //
  326. this.uiButton3.Cursor = System.Windows.Forms.Cursors.Hand;
  327. this.uiButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
  328. this.uiButton3.Location = new System.Drawing.Point(340, 48);
  329. this.uiButton3.MinimumSize = new System.Drawing.Size(1, 1);
  330. this.uiButton3.Name = "uiButton3";
  331. this.uiButton3.Size = new System.Drawing.Size(100, 35);
  332. this.uiButton3.TabIndex = 2;
  333. this.uiButton3.Text = "删除";
  334. this.uiButton3.Click += new System.EventHandler(this.uiButton3_Click);
  335. //
  336. // uiButton2
  337. //
  338. this.uiButton2.Cursor = System.Windows.Forms.Cursors.Hand;
  339. this.uiButton2.Font = new System.Drawing.Font("微软雅黑", 12F);
  340. this.uiButton2.Location = new System.Drawing.Point(212, 48);
  341. this.uiButton2.MinimumSize = new System.Drawing.Size(1, 1);
  342. this.uiButton2.Name = "uiButton2";
  343. this.uiButton2.Size = new System.Drawing.Size(100, 35);
  344. this.uiButton2.TabIndex = 1;
  345. this.uiButton2.Text = "修改";
  346. this.uiButton2.Click += new System.EventHandler(this.uiButton2_Click);
  347. //
  348. // uiButton1
  349. //
  350. this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
  351. this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F);
  352. this.uiButton1.Location = new System.Drawing.Point(89, 48);
  353. this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
  354. this.uiButton1.Name = "uiButton1";
  355. this.uiButton1.Size = new System.Drawing.Size(100, 35);
  356. this.uiButton1.TabIndex = 0;
  357. this.uiButton1.Text = "新增";
  358. this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
  359. //
  360. // PeiZhiYuJing
  361. //
  362. this.Controls.Add(this.uiPanel2);
  363. this.Controls.Add(this.uiPanel1);
  364. this.Name = "PeiZhiYuJing";
  365. this.Size = new System.Drawing.Size(500, 365);
  366. ((System.ComponentModel.ISupportInitialize)(this.uiDGVjslkpz)).EndInit();
  367. this.uiPanel1.ResumeLayout(false);
  368. this.uiPanel2.ResumeLayout(false);
  369. this.ResumeLayout(false);
  370. }
  371. }
  372. }