public MainWindow(AuthWindow previousWindow) { InitializeComponent(); Database = ControllerDB.Instance; Manager = HttpManager.Instance; this.previousWindow = previousWindow; }
public AddCopyWindow(CopyListWindow previousWindow, string isbn) { InitializeComponent(); this.previousWindow = previousWindow; this.isbn = isbn; database = ControllerDB.Instance; manager = HttpManager.Instance; }
public BooksListWindow(MainWindow previousForm) { InitializeComponent(); database = ControllerDB.Instance; this.previousForm = previousForm; sortingTypeComboBox.SelectedIndex = 0; }
public CheckoutListWindow(MainUserWindow previousWindow) { this.previousWindow = previousWindow; database = ControllerDB.Instance; InitializeComponent(); PopulateTable(); }
public CopyListWindow(BooksListWindow previousForm, string isbn) { InitializeComponent(); this.isbn = isbn; this.previousForm = previousForm; database = ControllerDB.Instance; PopulateTable(); }
public MainUserWindow(AuthWindow previousWindow, int userId) { InitializeComponent(); this.userId = userId; this.previousWindow = previousWindow; database = ControllerDB.Instance; FillSessionLabel(); PopulateTable(); }
public AuthWindow() { InitializeComponent(); Database = ControllerDB.Instance; if (Properties.Settings.Default.PreviousID == 0) { UserIdPlaceholderText(); } else { UserIdBox.Text = Convert.ToString(Properties.Settings.Default.PreviousID); } PasswordPlaceholderText(); }
public RegistrationWindow(AuthWindow previousWindow) { InitializeComponent(); this.previousWindow = previousWindow; database = ControllerDB.Instance; manager = HttpManager.Instance; LastNamePlaceholderText(); PasswordPlaceholderText(); ConfirmPasswordPlaceholderText(); LockCreateAccountButton(); regex = Constants.Regex; }
public ClassBiz() { CDB = new ControllerDB(); GetAllCustomersFromDB(); }