Files
DE70/.svn/pristine/82/8211b62045ccdf5714263a0c646f586718e9ba7e.svn-base
2024-09-02 10:03:23 +07:00

48 lines
1.3 KiB
Plaintext

using DE70_CMDv2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace SafeBagDE70
{
/// <summary>
/// Interaction logic for CollectionUC.xaml
/// </summary>
public partial class TimeoutUC : UserControl
{
public TimeoutUC()
{
InitializeComponent();
}
public void ShowInfor(string strInfor)
{
lblInfor.Text = strInfor;
}
private void btnEnd_Click(object sender, RoutedEventArgs e)
{
AppData.WDTCount = 0;
var state= ((MainWindow)Application.Current.MainWindow).GetDepositScreen().GetPrevioustState();
((MainWindow)Application.Current.MainWindow).GetDepositScreen().TransitionToState(state);
//((MainWindow)Application.Current.MainWindow).BackScreen();
}
private void btnCancel_Click(object sender, RoutedEventArgs e)
{
if (AppData.cCmdRsp != null)
AppData.cCmdRsp.SendXXCmd((byte)Command.CMD_DE_CANCEL);
}
}
}