windDrpFile.xaml.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 RedmineOracle
  15. {
  16. /// <summary>
  17. /// Логика взаимодействия для windDrpFile.xaml
  18. /// </summary>
  19. public partial class windDrpFile : Window
  20. {
  21. OracleWork ow;
  22. string id_drp;
  23. public windDrpFile(string id_drp)
  24. {
  25. InitializeComponent();
  26. this.id_drp = id_drp;
  27. ow = new OracleWork();
  28. lbFile.ItemsSource = ow.listFile(id_drp);
  29. }
  30. private void Button_Click(object sender, RoutedEventArgs e)
  31. {
  32. Button button = sender as Button;
  33. string id = button.Uid;
  34. ow.TestDonD(id_drp, id);
  35. }
  36. }
  37. }