PeiZhiYuJing.cs 17 KB

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