Files
SourceCode/PROMS/VEPROMS User Interface/dlgPhoneList.cs
T

25 lines
600 B
C#

using System;
using System.Windows.Forms;
using VEPROMS.CSLA.Library;
namespace VEPROMS
{
public partial class dlgPhoneList : Form
{
private readonly DocVersionConfig _docVersionConfig;
private readonly string _origPhoneList;
public dlgPhoneList(DocVersionConfig dvc)
{
_docVersionConfig = dvc;
InitializeComponent();
_origPhoneList = _docVersionConfig.Print_PhoneList;
tbPhoneList.Text = _origPhoneList;
}
private void btnOk_Click(object sender, EventArgs e)
{
if (_origPhoneList != tbPhoneList.Text)
_docVersionConfig.Print_PhoneList = tbPhoneList.Text;
}
}
}