Add project files.
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
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).StopTimers();
|
||||
((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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user