领胜LDS 键盘AOI检测项目
patrick.xu
2021-08-02 a383b2288dcfb90e9aa1dcf796e41d9c6be1e429
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();
        }
    }
}