This commit is contained in:
Kathy Ruffing 2008-08-12 11:44:28 +00:00
parent ac8f69baf4
commit 869ff724d9
3 changed files with 2234 additions and 2148 deletions

File diff suppressed because it is too large Load Diff

View File

@ -134,9 +134,13 @@ namespace VEPROMS
// }
imageCodecInfoBindingSource.DataSource = ImageCodecInfo.GetImageDecoders();
formatInfoListBindingSource.DataSource = FormatInfoList.Get();
//formatInfoListBindingSource.DataSource = FormatInfoList.Get();
folderConfigBindingSource.DataSource = _FolderConfig;
ppCmbxFormat.DataSource = null;
ppCmbxFormat.DisplayMember = "FullName";
ppCmbxFormat.ValueMember = "FullName";
ppCmbxFormat.DataSource = FormatInfoList.SortedFormatInfoList;
// Get the saved settings for this user
//
// This setting tells us if we should display the default values on this property page
@ -158,7 +162,8 @@ namespace VEPROMS
// Setup as to which "tabs" to display on the property page
// - the first (top) tree node shows different "tabs" than the
// other folder type of tree nodes
if (_FolderConfig.Name.Equals("VEPROMS"))
if (!_FolderConfig.HasParent())
//if (_FolderConfig.Name.Equals("VEPROMS"))
{
// if we are at the top node of the tree, remove the Folder Property page tabs
// that do not pertain to this level (top of tree)
@ -263,6 +268,19 @@ namespace VEPROMS
ProcessButtonClick(tiGeneral, btnGeneral);
}
private void ppRTxtName_Leave(object sender, EventArgs e)
{
if (ppRTxtName.Text != _FolderConfig.Name)
{
// need a folderinfo to check for unique names...
bool isunique = _FolderConfig.CheckUniqueName(ppRTxtName.Text);
if (!isunique)
{
MessageBox.Show(string.Format("The Name '{0}' that was entered is not a unique folder name", ppRTxtName.Text));
ppRTxtName.Text = _FolderConfig.Name;
}
}
}
#endregion
#region Referenced Objects tab
@ -1052,5 +1070,7 @@ namespace VEPROMS
}
#endregion
}
}

View File

@ -124,8 +124,8 @@
<data name="ppBtnFldrDlg.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA
CxMBAJqcGAAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEAAA
CxABrSO9dQAAAn9JREFUOE+lk2tI01EYxhf0oU8WqVEIRpaIBWJgSPUhROmippS3QkkTylsXDMW8ts3b
1G06daVibuqaOq0sxbBCKBSJ0PJCialZUFSKqaGSt1//TbIsww8deOBwznl+5zkv71kHiP5rGAFrKb1Q
5ypR6bmaVU6m2kCiXJv007Om2XgwJEaNT4QiyDi/GF9mKRVgsWkav+CYQkR1utwAQfypphqZ4l/JIhOL
jvtGKfCOyDMB6O/WMjNea9L3MT1zIxoM5QrqdWnS1SA+kUq8w1V4hhUgqq1QMj1WtcK88KmIud5oqsqy
@ -164,9 +164,6 @@ Fixed - pagination is done only when you select to do so. This information is s
Auto - pagination is done when VE-PROMS senses a change was made to the procedure since the last time the procedure was repaginated.</value>
</data>
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>948, 17</value>
</metadata>
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
<value>Allows you to specify the default format.
@ -200,8 +197,8 @@ Check "Show Default Settings" to display the "default" Change Bar Custom Message
<data name="ppBtnChgTextColors.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEwAA
CxMBAJqcGAAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEAAA
CxABrSO9dQAAAr5JREFUOE+lk21IE3Ecx0/fBPUi6pVZyzELCalXhWEg0XMvipYLVOzJhyxTWlkippGl
lLjS0qEpmpBmNsnhdPRAL1SwpuFwHtO5pbGle3Duwfvf3R7a/bodTGcaBB18j+PPfT/3/X//94sAAOy/
riAgJNrZWUDpShCpLfSR+K0Aqb3jR+oLbnKupjb8vfDnMPPbakKd5qUsDT88biWERJmf/0R4ng9psq0W
vPz2nyAOwH65COHX/ZSt2UG7u9EKgOO1l7K1Ohc0YtPCkMhDmqUpqxKQk8UeytYyFzRCdz5AzTkAeT6X