fn call(rc_root: &mut RcRoot, t: &mut ui::Root) {
        let item = t.main_dialog.tree_selected_dlgs.GetSelectedItem();
            let sel_txt = item.GetText();

            let del_strings = Self::delete_tree(&item);
            for s in &del_strings {
                t.main_dialog.lst_all_dlgs.AddString(&s);
        }
        //rc_root.delete_path(p)
        // check unselected item and it's children,if the child is dlg,then add to RcRoot and listbox;if child is other container,then just delete it
    }
// make_path get selected dlgs in RcRoot and then make the path by given path
// all dialogs should put back to ui::Root after item deleted
// otherwise ,next time make_path will not work(can't find dlgs in RcRoot)

make_path get selected dlgs in RcRoot and then make the path by given path
all dialogs should put back to ui::Root after item deleted
otherwise ,next time make_path will not work(can't find dlgs in RcRoot)
make_path get selected dlgs in RcRoot and then make the path by given path all dialogs should put back to ui :: Root after item deleted otherwise next time make_path will not work ( can ' t find dlgs in RcRoot )
fn call(rc_root: &mut RcRoot, t: &mut ui::Root) {
        let item = t.main_dialog.tree_selected_dlgs.GetSelectedItem();
            let sel_txt = item.GetText();
            let del_strings = Self::delete_tree(&item);
            for s in &del_strings {
                t.main_dialog.lst_all_dlgs.AddString(&s);
        }
        //rc_root.delete_path(p)
        // check unselected item and it's children,if the child is dlg,then add to RcRoot and listbox;if child is other container,then just delete it
    }
fn call ( rc_root : & mut RcRoot , t : & mut ui :: Root ) { let item = t . main_dialog . tree_selected_dlgs . GetSelectedItem ( ) ; let sel_txt = item . GetText ( ) ; let del_strings = Self :: delete_tree ( & item ) ; for s in & del_strings { t . main_dialog . lst_all_dlgs . AddString ( & s ) ; } //rc_root.delete_path(p)
 // check unselected item and it's children,if the child is dlg,then add to RcRoot and listbox;if child is other container,then just delete it
 }
make_path get selected dlgs in RcRoot and then make the path by given path
all dialogs should put back to ui::Root after item deleted
otherwise ,next time make_path will not work(can't find dlgs in RcRoot)
make_path get selected dlgs in RcRoot and then make the path by given path all dialogs should put back to ui :: Root after item deleted otherwise next time make_path will not work ( can ' t find dlgs in RcRoot )
rc_root
&mut RcRoot
t
&mut ui::Root
rc_root
&mut RcRoot
t
&mut ui::Root