This commit is contained in:
2010-11-30 16:02:09 +00:00
parent 16c1ebfdbb
commit 8a09fdbb0c
4 changed files with 164 additions and 154 deletions

View File

@@ -281,6 +281,7 @@ namespace VEPROMS
private void ppBtnOK_Click(object sender, EventArgs e)
{
folderConfigBindingSource.EndEdit();
DialogResult = DialogResult.OK;
// Save Default settings for User
@@ -312,6 +313,11 @@ namespace VEPROMS
private void ppRTxtName_Leave(object sender, EventArgs e)
{
if (ppRTxtName.Text == null || ppRTxtName.Text == "")
{
MessageBox.Show("Cannot have a blank Name.");
return;
}
if (ppRTxtName.Text != _FolderConfig.Name)
{
// need a folderinfo to check for unique names...