12345678910111213141516171819202122232425262728293031323334 |
- using Bolt.Toolkit.Wpf.Data;
- using System.Windows;
- namespace Bolt.Toolkit.Wpf.Windows
- {
- /// <summary>
- /// WaferTransferDialog.xaml 的交互逻辑
- /// </summary>
- public partial class WaferTransferDialog : Window
- {
- public WaferTransferDialog(WaferData waferData, string sourceStation, string sourceSlot, string destinationStation, string destinationSlot)
- {
- InitializeComponent();
- lbSource.Content = sourceStation;
- lbSourceSlot.Content = sourceSlot;
- lbDest.Content = destinationStation;
- lblDestSlot.Content = destinationSlot;
- }
- private void btnOK_Click(object sender, RoutedEventArgs e)
- {
- DialogResult = true;
- Close();
- }
- private void btnCancel_Click(object sender, RoutedEventArgs e)
- {
- DialogResult = false;
- Close();
- }
- }
- }
|