Beispiel #1
0
 private void btnRegister_Click(object sender, RoutedEventArgs e)
 {
     View.ACTProductRegistration productRegistration = new ACTProductRegistration(user);
     productRegistration.ShowDialog();
     user = productRegistration.ReturnUser;
     LoadScreen(user, status);
 }
Beispiel #2
0
        private void lblRecentTitle_3_MouseDown(object sender, MouseButtonEventArgs e)
        {
            TOProduct product = new TOProduct();

            product = DAOProd.Selection(lblRecentTitle_3.Content.ToString());
            ACTProductRegistration pr = new ACTProductRegistration(user, product);

            pr.ShowDialog();
            LoadScreen(user, status);
        }
Beispiel #3
0
 private void tblProduct_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (TableValues(1) != null)
     {
         TOProduct product = new TOProduct();
         product = DAOProd.Selection(TableValues(1));
         ACTProductRegistration pr = new ACTProductRegistration(user, product);
         pr.ShowDialog();
     }
     LoadScreen(user, status);
 }
Beispiel #4
0
 private void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     if (TableValues(1) != null)
     {
         TOProduct product = new TOProduct();
         product = DAOProd.Selection(TableValues(1));
         ACTProductRegistration pr = new ACTProductRegistration(user, product);
         pr.ShowDialog();
         user = pr.ReturnUser;
         LoadScreen(user, status);
     }
 }