12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- 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");
- }
- /// <summary>
- /// 确定
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void button1_Click(object sender, EventArgs e)
- {
- string newItemNo = textBox1.Text;
- this.Close();
- resultsView.itemNumCallBack(newItemNo);
- }
- /// <summary>
- /// 关闭
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void buttonClose_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- }
- }
|