Ejemplo n.º 1
0
 private void Button_Click_3(object sender, RoutedEventArgs e)
 {
     Lab_B.IsEnabled = false;
     Zaderjka();
     dbCon           = new dbConnect();
     dbCon.sendData += (x, y) =>
     {
         For_print for_Print = new For_print("Лаборатория(Б)", "ЛБ" + x,
                                             y.ToString("dd.MM.yyyy") + "_" + "ЛБ_" + x);
         for_Print.Check_Print();
     };
     dbCon.RegistrOchered("ЛБ");
     Lab_B.IsEnabled = true;
 }
Ejemplo n.º 2
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     kassa.IsEnabled = false;
     Zaderjka();
     // string numberOchered = dbCon.RegistrOchered("К");
     dbCon           = new dbConnect();
     dbCon.sendData += (x, y) =>
     {
         For_print for_Print = new For_print("Касса", "К" + x,
                                             y.ToString("dd.MM.yyyy") + "_" + "К_" + x);
         for_Print.Check_Print();
     };
     dbCon.RegistrOchered("К");
     kassa.IsEnabled = true;
 }