Exemple #1
0
 void MainFormLoad(object sender, EventArgs e)
 {
     if (File.Exists("db.xml"))
     {
         Model m = MySerDeser.deser <Model>();
         model_to_tree(treeView1.Nodes, m.nodes);
         treeView1.ExpandAll();
     }
 }
Exemple #2
0
        void ПрочитатьToolStripMenuItemClick(object sender, EventArgs e)
        {
            Model m = MySerDeser.deser <Model>();

            model_to_tree(treeView1.Nodes, m.nodes);
        }