领胜LDS 键盘AOI检测项目
patrick.xu
2020-12-16 5241a8f6377dfd1618610dd15fd05ed6f51c8ba2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Configuration;
using System.Windows.Forms;
 
namespace Bro.UI.Config
{
    public partial class ProductionCodeEditForm : Form
    {
 
        public string PCode { get; set; }
 
        public ProductionCodeEditForm()
        {
            InitializeComponent();
        }
 
        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            this.Close();
        }
 
        private void button2_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            PCode = txtPCode.Text;
            this.Close();
        }
    }
}