public SaveClass(TreeViewModal psave) { naim = psave.Naim; foreach (TreeViewModal mod in psave.Children) { children.Add(mod.Save); } }
static public TreeViewModal NewItem(TreeViewModal pparent) { TreeViewModal tmp = new TreeViewModal(pparent); WindowForEditNaim WFEN = new WindowForEditNaim(tmp); WFEN.ShowDialog(); return(tmp); }
public TreeViewModal(SaveClass sc, TreeViewModal ppar) { naim = sc.Naim; parent = ppar; foreach (SaveClass cur in sc.Children) { children.Add(new TreeViewModal(cur, this)); } }
public TreeViewModal(string pnaim, TreeViewModal pparent) { naim = pnaim; parent = pparent; }
public TreeViewModal(TreeViewModal pparent) { parent = pparent; }