| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- using Core.Mes.Client.Comm.Tool;
- using CoreFS.CA06;
- 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;
- namespace Core.StlMes.Client.ZGMil.NodeResultQuery
- {
- public partial class FrmSubCon : Form
- {
- OpeBase _ob = null;
- public FrmSubCon(OpeBase ob)
- {
- InitializeComponent();
- this._ob = ob;
- }
- //钢管处理
- private string steelPipeProcess = "";
- public string SteelPipeProcess
- {
- get { return steelPipeProcess; }
- set { steelPipeProcess = value; }
- }
- //超声探伤
- private string ulTesting = "";
- public string UlTesting
- {
- get { return ulTesting; }
- set { ulTesting = value; }
- }
- //委外说明
- private string remark = "";
- public string Remark
- {
- get { return remark; }
- set { remark = value; }
- }
- //探伤类别
- private string testType = "";
- public string TestType
- {
- get { return testType; }
- set { testType = value; }
- }
- //探伤等级
- private string testGrade = "";
- public string TestGrade
- {
- get { return testGrade; }
- set { testGrade = value; }
- }
- private void ultraButton1_Click(object sender, EventArgs e)
- {
- if ((this.TxtType.Text == "" && this.TxtGrade.Text != "") || (this.TxtType.Text != "" && this.TxtGrade.Text == ""))
- {
- MessageUtil.ShowTips("探伤类别应与探伤等级同有值或者同为空!");
- return;
- }
- steelPipeProcess = this.txt_steelPipe.Text.Trim();
- ulTesting = this.txt_ulTest.Text.Trim();
- remark = this.txt_Rmark.Text.Trim();
- testType = this.TxtType.Value.ToString2();
- testGrade = this.TxtGrade.Text.Trim();
- this.DialogResult = System.Windows.Forms.DialogResult.OK;
- }
- private void ultraButton2_Click(object sender, EventArgs e)
- {
- this.Close();
- }
-
- private void FrmSubCon_Load(object sender, EventArgs e)
- {
- PipeManageClass.InitComboEditor(txt_ulTest, "com.steering.mes.signature.FrmInOnlineStore.getTestGrade", "BASECODE", this._ob, false);
- PipeManageClass.InitComboEditor(TxtGrade, "com.steering.mes.signature.FrmInOnlineStore.getTestGrade", "BASECODE", this._ob, false);
- }
- }
- }
|