| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- 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 CoreFS.CA06;
- using Core.Mes.Client.Comm.Tool;
- using Core.StlMes.Client.YdmBase;
- namespace Core.StlMes.Client.YdmPipeManage.Dialog
- {
- public partial class MonomerDialog : FrmBase
- {
- OpeBase _ob;
- public MonomerDialog(OpeBase ob)
- {
- _ob = ob;
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- InitializeComponent();
- }
- public String monomerExplain = "";
- public String momomerFinishedProduct = "";
- public string isRolling = "0";
- private void ultraButton1_Click(object sender, EventArgs e)
- {
- monomerExplain = "";
- if (ultraTextEditor1.Text.Trim().Length == 0)
- {
- MessageUtil.ShowWarning("请输入脱单说明!");
- return;
- }
- if(cmbProduct.Value.ToString2() == "")
- {
- MessageUtil.ShowTips("请选择成品区分!");
- return;
- }
- monomerExplain = ultraTextEditor1.Text.Trim();
- momomerFinishedProduct = cmbProduct.Value.ToString2();
- this.Close();
- }
- private void ultraCheckEditor1_CheckedChanged(object sender, EventArgs e)
- {
- if (ultraCheckEditor1.Checked)
- {
- isRolling = "1";
- }
- else
- {
- isRolling = "0";
- }
- }
- private void MonomerDialog_Load(object sender, EventArgs e)
- {
- YdmBaseClass.InitComboEditor(cmbProduct, "com.steering.pss.ydm.pipemanage.CorePipeInTemp.getFinishedProduct", "BASECODE", this._ob, false);
- }
-
- }
- }
|