| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using Core.Mes.Client.Comm.Server;
- using CoreFS.CA06;
- using CoreFS.SA06;
- using System.Collections;
- using Core.Mes.Client.Comm.Control;
- using Infragistics.Win.UltraWinGrid;
- using Infragistics.Win;
- using System.IO;
- using Core.Mes.Client.Comm;
- namespace Core.StlMes.Client.Plan.Order
- {
- public partial class FrmCancelPretreat : Form
- {
- ///撤消原因
- private string CancelReason = "";
- /// <summary>
- /// 是否确认
- /// </summary>
- private bool isConfirm = false;
- public FrmCancelPretreat()
- {
- InitializeComponent();
- }
- private void CancelPretreat_Load(object sender, EventArgs e)
- {
- ultraTextEditorReason.Text = "";
- }
- /// <summary>
- /// 确定返回撤消原因
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void ultraButton1_Click(object sender, EventArgs e)
- {
- CancelReason = this.ultraTextEditorReason.Text.Trim().ToString();
- this.isConfirm = true;
- this.Close();
- }
- /// <summary>
- /// 返回撤消原因
- /// </summary>
- /// <returns></returns>
- public string getConcelReason()
- {
- return CancelReason;
- }
- /// <summary>
- /// 关闭返回空
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void ultraButton2_Click(object sender, EventArgs e)
- {
- CancelReason = "";
- this.isConfirm = false;
- this.Close();
- }
- /// <summary>
- /// 返回确认
- /// </summary>
- /// <returns></returns>
- public bool getIsConfirm()
- {
- return this.isConfirm;
- }
- }
- }
|