ServiseWin.xaml.cs 1016 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Shapes;
  14. namespace Final.Win
  15. {
  16. /// <summary>
  17. /// Логика взаимодействия для ServiseWin.xaml
  18. /// </summary>
  19. public partial class ServiseWin : Window
  20. {
  21. public Visibility visibility { get; set; }
  22. Goiman_A_AEntities db = new Goiman_A_AEntities();
  23. public ServiseWin()
  24. {
  25. InitializeComponent();
  26. DataContext= this;
  27. ListProduct.ItemsSource = db.Product.ToList();
  28. }
  29. private void ButtonEdit_Click(object sender, RoutedEventArgs e)
  30. {
  31. }
  32. private void ButtonDelete_Click(object sender, RoutedEventArgs e)
  33. {
  34. }
  35. }
  36. }