Add project files.

This commit is contained in:
Admin
2024-09-02 10:03:23 +07:00
parent 42def0d4aa
commit 6219298497
361 changed files with 58423 additions and 0 deletions
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
<ItemGroup>
<Page Update="DefaultKeyboardHost.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="ResourceDictionaries\DefaultStyles.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="ResourceDictionaries\KeyboardCore.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Views\AlphabetView.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Views\KeyboardValueView.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Views\SpecialCharactersView.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Views\VirtualKeyboardView.xaml">
<SubType>Designer</SubType>
</Page>
</ItemGroup>
</Project>
@@ -0,0 +1,76 @@
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Channels;
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;
using System.Xml.Serialization;
using System.Windows.Threading;
using System.Diagnostics;
namespace SafeBagDE70
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
///
//public class CountSession
//{
// public int[] QuantityDenomi { get; set; }
// public int[] SumDenomi { get; set; }
//}
public partial class MainWindow : HandyControl.Controls.Window
{
private WelcomeUC _welcomeUC;
private DepositUC _depositUC;
private CollectionUC _collectionUC;
private InformationUC _informationUC;
private ErrorUC _errorUC;
public MainWindow()
{
InitializeComponent();
AppData.Init();
ShowWelcomeScreen();
}
public void ShowInformationScreen(string strInfor)
{
if (_informationUC == null) _informationUC = new InformationUC();
_informationUC.ShowInfor(strInfor);
MainContentControl.Content = _informationUC;
}
public void ShowErrorScreen(string strError)
{
if (_errorUC == null) _errorUC = new ErrorUC();
_errorUC.ShowInfor(strError);
MainContentControl.Content = _errorUC;
}
public void ShowWelcomeScreen()
{
if(_welcomeUC==null) _welcomeUC = new WelcomeUC();
MainContentControl.Content = _welcomeUC;
}
public void ShowDepositScreen()
{
if (_depositUC == null) _depositUC = new DepositUC();
MainContentControl.Content = _depositUC;
}
public void ShowCollectionScreen()
{
if (_collectionUC == null) _collectionUC = new CollectionUC();
MainContentControl.Content = _collectionUC;
}
}
}