| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 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.Tool;
- using CoreFS.CA06;
- namespace Pur.Pop_upWindow
- {
- public partial class frmPopReason : FrmBase
- {
- public frmPopReason()
- {
- InitializeComponent();
- }
- private string reason;
- private string tips;
- public string Tips
- {
- get { return tips; }
- set { tips = value; }
- }
- public string Reason
- {
- get { return reason; }
- set { reason = value; }
- }
- public frmPopReason(OpeBase Ob)
- {
- InitializeComponent();
- this.ob = Ob;
- }
- private void frmPopReason_Load(object sender, EventArgs e)
- {
- reason = "";
- tips = "0";//默认取消提交
- }
- private void button1_Click(object sender, EventArgs e)//确认提交
- {
- reason = ultraTextEditor1.Text.ToString().Trim();
- if (reason == "")
- {
- MessageUtil.ShowTips("退回原因不能为空");
- ultraTextEditor1.Focus();
- return;
- }
- tips = "1";
- this.Close();
- }
- private void button2_Click(object sender, EventArgs e)//取消提交
- {
- tips = "0";
- this.Close();
- }
-
- }
- }
|