public ShowListsController(IShowLists view, Unit unit, bool type)
 {
     _view = view;
     _unit = unit;
     _view.SetController(this);
     _type = type;
     if (!type)
     {
         _listPhones = _unit.GetAllPhones();
     }
     _view.SetupDataGridView(type);
     ShowData(type);
 }
Exemple #2
0
 public void OpenShowLists(IShowLists showLists, bool type)
 {
     ShowListsController showListsController = new ShowListsController(showLists, _company, type);
 }