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();
|
}
|
}
|
}
|