/// <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(); }
/// <summary> /// The Cancel method rolls-back the changes to the proxy /// </summary> public virtual void Commit() { // Apply edit changes if (proxy != null) { proxy.Commit(); } }