Esempio n. 1
0
        public Store()
        {
            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
            InitializeComponent();
            PopulateListBox();
            LibraryMethods libraryMethods = new LibraryMethods();

            selectedUser = libraryMethods.selectedUser();
        }
Esempio n. 2
0
        public Library()
        {
            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
            InitializeComponent();
            PopulateListBox();

            LibraryMethods libraryMethods = new LibraryMethods();

            selectedUser        = libraryMethods.selectedUser();
            welcomeUserBox.Text = $"Welcome {selectedUser.Username}";
        }