WaferTransferDialog.xaml.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using System.Windows;
  2. using Aitex.Core.Common;
  3. using Bolt.Toolkit.Wpf.Data;
  4. using MECF.Framework.Common.Equipment;
  5. using VirgoUI.Controls.Parts;
  6. namespace ClusterUI.Client.Controls.Parts
  7. {
  8. /// <summary>
  9. /// WaferTransferDialog.xaml 的交互逻辑
  10. /// </summary>
  11. public partial class WaferTransferDialog : Window
  12. {
  13. public WaferTransferDialog(WaferData waferData, string sourceStation, string sourceSlot, string destinationStation, string destinationSlot)
  14. {
  15. InitializeComponent();
  16. lbSource.Content = sourceStation;
  17. lbSourceSlot.Content = sourceSlot;
  18. lbDest.Content = destinationStation;
  19. lblDestSlot.Content = destinationSlot;
  20. }
  21. private void btnOK_Click(object sender, RoutedEventArgs e)
  22. {
  23. DialogResult = true;
  24. Close();
  25. }
  26. private void btnCancel_Click(object sender, RoutedEventArgs e)
  27. {
  28. DialogResult = false;
  29. Close();
  30. }
  31. }
  32. }