This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user