Exemple #1
0
 public SaveClass(TreeViewModal psave)
 {
     naim = psave.Naim;
     foreach (TreeViewModal mod in psave.Children)
     {
         children.Add(mod.Save);
     }
 }
Exemple #2
0
        static public TreeViewModal NewItem(TreeViewModal pparent)
        {
            TreeViewModal     tmp  = new TreeViewModal(pparent);
            WindowForEditNaim WFEN = new WindowForEditNaim(tmp);

            WFEN.ShowDialog();
            return(tmp);
        }
Exemple #3
0
 public TreeViewModal(SaveClass sc, TreeViewModal ppar)
 {
     naim   = sc.Naim;
     parent = ppar;
     foreach (SaveClass cur in sc.Children)
     {
         children.Add(new TreeViewModal(cur, this));
     }
 }
Exemple #4
0
 public TreeViewModal(string pnaim, TreeViewModal pparent)
 {
     naim   = pnaim;
     parent = pparent;
 }
Exemple #5
0
 public TreeViewModal(TreeViewModal pparent)
 {
     parent = pparent;
 }