Added Save for DocVersion Config
This commit is contained in:
parent
af59ad1538
commit
d06421f6df
@ -29,6 +29,11 @@ namespace VEPROMS
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
DocVersionConfig dvcfg = this._PGobject as DocVersionConfig;
|
||||
if (dvcfg != null && dvcfg.IsDirty)
|
||||
{
|
||||
dvcfg.MyDocVersion.Save();
|
||||
}
|
||||
this.Close();
|
||||
}
|
||||
|
||||
@ -46,6 +51,9 @@ namespace VEPROMS
|
||||
|
||||
private void pg_PropertyValueChanged(object s, PropertyValueChangedEventArgs e)
|
||||
{
|
||||
DocVersionConfig dvcfg = this._PGobject as DocVersionConfig;
|
||||
if (dvcfg != null)
|
||||
dvcfg.IsDirty = true;
|
||||
// check if folder config & if so, check for name change
|
||||
FolderConfig tstfoldercfg = this._PGobject as FolderConfig;
|
||||
if (tstfoldercfg != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user