Exemple #1
0
 public void EndEdit(bool cancel)
 {
     if (treeView != null)
     {
         treeView.EndEdit(cancel);
     }
 }
Exemple #2
0
        public void EndEdit(bool cancel)
        {
            TreeView tv = TreeView;

            if (!cancel && tv != null)
            {
                tv.EndEdit(this);
            }
            else if (cancel && tv != null)
            {
                tv.CancelEdit(this);
            }
        }