public void RunAddLocalUser(IViewLocalUsersPresenter presenter)
        {
            var addUser = new ViewAddLocalUser(presenter, this);

            addUser.StartPosition = FormStartPosition.CenterParent;
            addUser.ShowDialog(MainWindow);
        }
Example #2
0
 public ViewAddLocalUser(IViewLocalUsersPresenter viewlocaluserspresenter, IApplicationController appController)
 {
     _viewLocalUsersPresenter = viewlocaluserspresenter;
     _appController           = appController;
     groupType          = _viewLocalUsersPresenter.GroupType;
     computer           = _viewLocalUsersPresenter.Computer;
     this.StartPosition = FormStartPosition.CenterParent;
     InitializeComponent();
     SetTitleText();
 }