Ejemplo n.º 1
0
 /// <summary>
 /// The user wants to apply the changes
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OK_Click(object sender, RoutedEventArgs e)
 {
     coreProxy.Commit();
     Apply(treeItems, true);
     IniConfig.Save();
     this.Close();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The Cancel method rolls-back the changes to the proxy
 /// </summary>
 public virtual void Commit()
 {
     // Apply edit changes
     if (proxy != null)
     {
         proxy.Commit();
     }
 }