Esempio n. 1
0
 public SpecModel(SpecViewTree view, SpecDataAdapter da)
 {
     m_da        = da;
     m_view_tree = view;
     m_view_tree.FillTree(m_da.GetProjectList());
     AddTreeListeners();
 }
Esempio n. 2
0
 public SpecMain(Control site)
 {
     if (site == null)
     {
         return;
     }
     Utils.InitMaps();
     se      = new SpecViewTree();
     se.Dock = DockStyle.Fill;
     site.Controls.Add(se);
     //
     m_da = new SpecDataAdapter();
     //
     m_tree_model = new SpecModel(se, m_da);
 }