public SystemParametersController(AdministrationForm form, GridControl gridControl)
 {
     view = form;
     _gridControl = gridControl;
     _instance = this;
     //identity = Thread.CurrentPrincipal as UserIdentity;//TODO
 }
 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();
 }