26 lines
481 B
C#
26 lines
481 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Volian.Controls.Library
|
|
{
|
|
public partial class dlgChgId : Form
|
|
{
|
|
readonly DisplayTabControl TabControl;
|
|
public dlgChgId(DisplayTabControl tc)
|
|
{
|
|
InitializeComponent();
|
|
TabControl = tc;
|
|
tbChgId.Focus();
|
|
}
|
|
|
|
private void btnOk_Click(object sender, EventArgs e)
|
|
{
|
|
TabControl.ChgId = tbChgId.Text;
|
|
}
|
|
|
|
private void btnCancel_Click(object sender, EventArgs e)
|
|
{
|
|
TabControl.ChgId = null;
|
|
}
|
|
}
|
|
} |