Exemplo n.º 1
0
 // set copy value
 private void SetCopyValue()
 {
     if (_currentCategory != null)
     {
         CopyCategory.CopyValue(_currentCategory);
     }
     else
     {
         _copyCategory.SetDefault();
     }
 }
Exemplo n.º 2
0
 // set category copy value
 private void SetCategoryCopyValue()
 {
     if (_currentCategory != null)
     {
         SetEditMode();
         CopyCategory.CopyValue(_currentCategory);
     }
     else
     {
         SetDefaultMode();
         _copyCategory.SetDefault();
     }
 }