Ejemplo n.º 1
0
 public LabelListController(AdministrationForm form, DataGridView dataGridView)
 {
     view = form;
     labelDataGridView = dataGridView;
     _instance = this;
     //identity = Thread.CurrentPrincipal as UserIdentity;//TODO
 }
Ejemplo n.º 2
0
 public AdministrationForm(IEventLogging logging) : this()
 {
     ILabelStorageAdapter labelStorageAdapter = new LabelStorageAdapter(null, logging);
     this._controller = new UserListController(this, gridUserParametrs);
     this._labelController = new LabelListController(this, gridUserParametrs);
     this._systemParametersController = new SystemParametersController(this, gridSystemParameters);
     SystemParametersController.Instance.OnSystemParametersCellChenged += new SystemParametersCellChenged(AdministrationForm_OnSystemParametersCellChenged);
     UserGridVisibility();
 }