public ProductView() { InitializeComponent(); dG = new DG(dgProduct, snack, snackMessage); sB = new SB(snack, snackMessage); dataBaseQuery = new DataBaseQuery(snack, snackMessage); comboBoxAddStrength = new CB(cbStrength, snack, snackMessage); comboBoxEditStrength = new CB(cbEditStrength, snack, snackMessage); comboBoxAddStrength.Loader("Strength", "NameStrength"); comboBoxEditStrength.Loader("Strength", "NameStrength"); this.Loaded += delegate { dG.Loader("SELECT * FROM dbo.[ProductStrength]"); }; snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
public DirectorEmployeeView() { InitializeComponent(); dG = new DG(dgEmployee, snack, snackMessage); snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
private void UserControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e) { dG.Loader("SELECT * FROM dbo.[EmployeeUser]"); snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; comboBoxAddEmployee.Loader("User", "Login"); comboBoxEditEmployee.Loader("User", "Login"); }
private void UserControl_Loaded(object sender, RoutedEventArgs e) { dG.Loader("SELECT * FROM dbo.[UserRole]"); snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; myListBox.Loader("Role", "NameRole"); comboBoxAddRole.Loader("Role", "NameRole"); comboBoxEditRole.Loader("Role", "NameRole"); }
public DirectorRecipientView() { InitializeComponent(); dG = new DG(dgRecipient, snack, snackMessage); this.Loaded += delegate { dG.Loader("SELECT Id, FirstName + N' ' + LastName as Recipient," + " Address, PhoneNumber, Email FROM dbo.Recipient"); }; snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
public DirectorSupplierView() { InitializeComponent(); dG = new DG(dgSupplier, snack, snackMessage); this.Loaded += delegate { dG.Loader("SELECT * FROM dbo.[Supplier]"); }; snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
public DirectorProductView() { InitializeComponent(); dG = new DG(dgProduct, snack, snackMessage); this.Loaded += delegate { dG.Loader("SELECT * FROM dbo.[ProductStrength]"); }; snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
public SupplierView() { InitializeComponent(); dG = new DG(dgSupplier, snack, snackMessage); sB = new SB(snack, snackMessage); dataBaseQuery = new DataBaseQuery(snack, snackMessage); this.Loaded += delegate { dG.Loader("SELECT * FROM dbo.[Supplier]"); }; snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
public ClientView() { InitializeComponent(); dG = new DG(dgClient, snack, snackMessage); sB = new SB(snack, snackMessage); dataBaseQuery = new DataBaseQuery(snack, snackMessage); this.Loaded += delegate { dG.Loader("SELECT Id, FirstName + N' ' + LastName as Client," + " Address, PhoneNumber, Email FROM dbo.Client"); }; snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }
public OrderView() { InitializeComponent(); dG = new DG(dgOrder, snack, snackMessage); sB = new SB(snack, snackMessage); lb = new MyListBox(lbSortingCenter, snack, snackMessage); comboBoxEmployee = new CB(cbEmployee, snack, snackMessage); comboBoxClient = new CB(cbClient, snack, snackMessage); comboBoxRecipient = new CB(cbRecipient, snack, snackMessage); comboBoxSupplier = new CB(cbSupplier, snack, snackMessage); comboBoxArticle = new CB(cbArticle, snack, snackMessage); comboBoxSortingCenter = new CB(cbSortingCenter, snack, snackMessage); comboBoxNameOrderTiming = new CB(cbNameOrderTiming, snack, snackMessage); comboBoxEditEmployee = new CB(cbEditEmployee, snack, snackMessage); comboBoxEditClient = new CB(cbEditClient, snack, snackMessage); comboBoxEditRecipient = new CB(cbEditRecipient, snack, snackMessage); comboBoxEditSupplier = new CB(cbEditSupplier, snack, snackMessage); comboBoxEditArticle = new CB(cbEditArticle, snack, snackMessage); comboBoxEditSortingCenter = new CB(cbEditSortingCenter, snack, snackMessage); comboBoxEditNameOrderTiming = new CB(cbEditNameOrderTiming, snack, snackMessage); dataBaseQuery = new DataBaseQuery(snack, snackMessage); snackMessage.ActionClick += delegate { dG.CloseSnackbar(); }; }