领胜LDS 键盘AOI检测项目
patrick.xu
2022-02-24 3322022068ab818912d6f5d9e5eb31f51cc639c2
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();
        }
    }
}