Example #1
0
        public ChangePasswordWindow(UserManagement users)
        {
            InitializeComponent();

            SetUserManagement(users);
            InitUI();
        }
Example #2
0
        public LoginWindow()
        {
            InitializeComponent();

            fileMapper = new IoController();
            myUsers = new UserManagement(fileMapper.GetAppDataDir());

            InitializeUI();
        }
Example #3
0
        public AdminConsole(UserManagement users)
        {
            InitializeComponent();

            SetUserManagement(users);

            userDataView.DataSource = allUsers.GetAllUsers();
            userDataView.DataBindings.Add(new Binding("ReadOnly", dataReadOnly, "Checked"));
        }
Example #4
0
        public MainForm(UserManagement users)
        {
            SplashScreen splash = new SplashScreen();
            splash.Show();

            SetUserManagement(users);
            InitializeComponent();
            InitializeUI();

            splash.Close();
        }
Example #5
0
        public MainForm(UserManagement users)
        {
            MainForm.self = this;

            SplashScreen splash = new SplashScreen();
            splash.Show();

            InitializeDB();
            InitializeConfig();

            SetUserManagement(users);
            InitializeComponent();
            InitializeUI();

            splash.Close();
        }
Example #6
0
 private void SetUserManagement(UserManagement users)
 {
     allUsers = users;
     currentUser = allUsers.getCurrentUser();
 }
Example #7
0
 private void SetUserManagement(UserManagement users)
 {
     allUsers = users;
 }
Example #8
0
 private void SetUserManagement(UserManagement users)
 {
     allUsers = users;
 }
Example #9
0
 public void SetAllUsers(UserManagement console)
 {
     allUsers = console;
 }
Example #10
0
 public void SetAllUsers(UserManagement console)
 {
     allUsers = console;
 }
Example #11
0
 private void SetUserManagement(UserManagement users)
 {
     allUsers    = users;
     currentUser = allUsers.getCurrentUser();
 }