Esempio n. 1
0
 // user clicks confirm button
 public void EndEdit()
 {
     if (!_inEdit)
     {
         return;
     }
     _inEdit     = false;
     _backupCopy = null;
 }
Esempio n. 2
0
 // changes start being entered by user
 public void BeginEdit()
 {
     if (_inEdit)
     {
         return;
     }
     _inEdit     = true;
     _backupCopy = this.MemberwiseClone() as MetadataUpdate;
 }