using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Resources;
namespace SmartCoalApplication.AutomaticMeasurement
{
public partial class ResultViewItemNo : Form
{
private ResultsView resultsView;
public ResultViewItemNo(ResultsView resultsView)
{
this.resultsView = resultsView;
InitializeComponent();
}
private void setLanguege()
{
this.Text = PdnResources.GetString("ResultViewItemNo");
this.groupBox2.Text = PdnResources.GetString("ResultViewItemNo.groupBox2");
this.button1.Text = PdnResources.GetString("ResultViewItemNo.button1");
this.buttonClose.Text = PdnResources.GetString("ResultViewItemNo.buttonClose");
this.label1.Text = PdnResources.GetString("ResultViewItemNo.label1");
}
///
/// 确定
///
///
///
private void button1_Click(object sender, EventArgs e)
{
string newItemNo = textBox1.Text;
this.Close();
resultsView.itemNumCallBack(newItemNo);
}
///
/// 关闭
///
///
///
private void buttonClose_Click(object sender, EventArgs e)
{
this.Close();
}
}
}