Exemplo n.º 1
0
        public MainUserWindow(AuthWindow previousWindow, int userId)
        {
            InitializeComponent();

            this.userId         = userId;
            this.previousWindow = previousWindow;
            database            = ControllerDB.Instance;

            FillSessionLabel();

            PopulateTable();
        }
Exemplo n.º 2
0
        public RegistrationWindow(AuthWindow previousWindow)
        {
            InitializeComponent();

            this.previousWindow = previousWindow;
            database            = ControllerDB.Instance;

            manager = HttpManager.Instance;

            LastNamePlaceholderText();
            PasswordPlaceholderText();
            ConfirmPasswordPlaceholderText();

            LockCreateAccountButton();
            regex = Constants.Regex;
        }