F_PM_0101_1.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /*******************************************************************************
  2. * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
  3. * 类的信息:
  4. * 1.程序名称:F_PM_0101_1.cs
  5. * 2.功能描述:成型特殊记录
  6. * 编辑履历:
  7. * 作者 日期 版本 修改内容
  8. * 冯林勇 2023/06/14 1.00 新建
  9. *******************************************************************************/
  10. using Dongke.IBOSS.PRD.Client.CommonModule;
  11. using Dongke.IBOSS.PRD.Client.Controls;
  12. using System;
  13. using System.Reflection;
  14. using System.Windows.Forms;
  15. namespace Dongke.IBOSS.PRD.Client.PMModule
  16. {
  17. /// <summary>
  18. /// 成型特殊记录
  19. /// </summary>
  20. public partial class F_PM_0101_1 : DKFormBase
  21. {
  22. #region 成员变量
  23. #endregion
  24. #region 构造函数
  25. /// <summary>
  26. /// 构造函数
  27. /// </summary>
  28. public F_PM_0101_1()
  29. {
  30. this.InitializeComponent();
  31. this.InitializeControls();
  32. }
  33. #endregion
  34. #region 属性
  35. #endregion
  36. #region 事件
  37. /// <summary>
  38. /// 窗体加载
  39. /// </summary>
  40. private void F_PM_0101_1_Load(object sender, EventArgs e)
  41. {
  42. try
  43. {
  44. }
  45. catch (Exception ex)
  46. {
  47. // 对异常进行共通处理
  48. ExceptionManager.HandleEventException(this.ToString(),
  49. MethodBase.GetCurrentMethod().Name, this.Text, ex);
  50. }
  51. }
  52. /// <summary>
  53. /// 页面关闭
  54. /// </summary>
  55. /// <param name="sender"></param>
  56. /// <param name="e"></param>
  57. private void tsbtnClose_Click(object sender, EventArgs e)
  58. {
  59. this.Close();
  60. }
  61. /// <summary>
  62. /// 关闭窗体
  63. /// </summary>
  64. private void btnCancel_Click(object sender, EventArgs e)
  65. {
  66. this.Close();
  67. }
  68. /// <summary>
  69. /// 查询
  70. /// </summary>
  71. /// <param name="sender"></param>
  72. /// <param name="e"></param>
  73. private void btnSearch_Click(object sender, EventArgs e)
  74. {
  75. try
  76. {
  77. }
  78. catch (Exception ex)
  79. {
  80. // 对异常进行共通处理
  81. ExceptionManager.HandleEventException(this.ToString(),
  82. MethodBase.GetCurrentMethod().Name, this.Text, ex);
  83. }
  84. }
  85. /// <summary>
  86. /// 编辑
  87. /// </summary>
  88. /// <param name="sender"></param>
  89. /// <param name="e"></param>
  90. private void toolStripButton2_Click(object sender, EventArgs e)
  91. {
  92. try
  93. {
  94. }
  95. catch (Exception ex)
  96. {
  97. // 对异常进行共通处理
  98. ExceptionManager.HandleEventException(this.ToString(),
  99. MethodBase.GetCurrentMethod().Name, this.Text, ex);
  100. }
  101. }
  102. /// <summary>
  103. /// 清空条件
  104. /// </summary>
  105. /// <param name="sender"></param>
  106. /// <param name="e"></param>
  107. private void btnClearCondition_Click(object sender, EventArgs e)
  108. {
  109. try
  110. {
  111. //新模标识
  112. this.NEWMOLDFLAG.Checked = false;
  113. //转产标识
  114. this.CONVERTPRODUCEFLAG.Checked = false;
  115. //转线标识
  116. this.CONVERTLINEGLAG.Checked = false;
  117. //成型线编码
  118. this.scbGroutingLine.ClearValue();
  119. }
  120. catch (Exception ex)
  121. {
  122. // 对异常进行共通处理
  123. ExceptionManager.HandleEventException(this.ToString(),
  124. MethodBase.GetCurrentMethod().Name, this.Text, ex);
  125. }
  126. }
  127. /// <summary>
  128. /// 自适应列宽
  129. /// </summary>
  130. /// <param name="sender"></param>
  131. /// <param name="e"></param>
  132. private void toolStripButton1_Click(object sender, EventArgs e)
  133. {
  134. try
  135. {
  136. this.dgvDetail.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);
  137. }
  138. catch (Exception ex)
  139. {
  140. // 对异常进行共通处理
  141. ExceptionManager.HandleEventException(this.ToString(),
  142. MethodBase.GetCurrentMethod().Name, this.Text, ex);
  143. }
  144. }
  145. #endregion
  146. #region 私有方法
  147. /// <summary>
  148. /// 初始化控件
  149. /// </summary>
  150. private void InitializeControls()
  151. {
  152. }
  153. #endregion
  154. }
  155. }