This commit is contained in:
2008-10-03 11:32:56 +00:00
parent 9ee8986e50
commit 722e41b25e
9 changed files with 1312 additions and 1376 deletions

View File

@@ -33,29 +33,30 @@ namespace VEPROMS
private bool _DefaultDisableDuplex = false;
//
private bool _Initializing;
private DocVersionConfig _DocVersionConfig;
private DocVersionConfig _DocVersionConfig;
public frmVersionsProperties(DocVersionConfig docVersionConfig)
{
_DocVersionConfig = docVersionConfig;
_Initializing = true;
InitializeComponent();
btnGeneral.PerformClick(); // always start with General tab or button
_Initializing = false;
//build the caption
this.Text = string.Format("{0} Properties",_DocVersionConfig.Name);
}
public frmVersionsProperties(DocVersionConfig docVersionConfig)
{
_DocVersionConfig = docVersionConfig;
_Initializing = true;
InitializeComponent();
btnGeneral.PerformClick(); // always start with General tab or button
_Initializing = false;
//build the caption
this.Text = string.Format("{0} Properties", _DocVersionConfig.Name);
}
private void btnFlderPropOK_Click(object sender, EventArgs e)
private void btnVersionsPropOK_Click(object sender, EventArgs e)
{
docVersionConfigBindingSource.EndEdit();
// Save Default settings for User
//
// Save whether we should display the default values on this property page
Settings.Default.ShowDefaultVersionProp = ppCbShwDefSettings.Checked;
Settings.Default.Save();
DialogResult = DialogResult.OK;
this.Close();
docVersionConfigBindingSource.EndEdit();
// Save Default settings for User
//
// Save whether we should display the default values on this property page
Settings.Default.ShowDefaultVersionProp = ppCbShwDefSettings.Checked;
Settings.Default.Save();
DialogResult = DialogResult.OK;
_DocVersionConfig.MyDocVersion.Save().Dispose();
this.Close();
}
private void btnFldrPropCancel_Click(object sender, EventArgs e)
@@ -199,7 +200,7 @@ namespace VEPROMS
ppCmbxProcSetType.ValueMember = "EValue";
ppCmbxProcSetType.Enabled = false; // maybe enable this if used for version creation
documentInfoListBindingSource.DataSource = DocumentInfoList.GetLibraries();
documentInfoListBindingSource.DataSource = DocumentInfoList.GetLibraries(false);
}
#region General tab