|
|
#pragma checksum "..\..\..\VirtualKeyboard.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3DA23B3C5AF81CB9225955DAE2A7B0E1"
|
|
|
//------------------------------------------------------------------------------
|
|
|
// <auto-generated>
|
|
|
// 此代码由工具生成。
|
|
|
// 运行时版本:4.0.30319.18063
|
|
|
//
|
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
|
// 重新生成代码,这些更改将会丢失。
|
|
|
// </auto-generated>
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
using KeyPad.Converter;
|
|
|
using System;
|
|
|
using System.Diagnostics;
|
|
|
using System.Windows;
|
|
|
using System.Windows.Automation;
|
|
|
using System.Windows.Controls;
|
|
|
using System.Windows.Controls.Primitives;
|
|
|
using System.Windows.Data;
|
|
|
using System.Windows.Documents;
|
|
|
using System.Windows.Ink;
|
|
|
using System.Windows.Input;
|
|
|
using System.Windows.Markup;
|
|
|
using System.Windows.Media;
|
|
|
using System.Windows.Media.Animation;
|
|
|
using System.Windows.Media.Effects;
|
|
|
using System.Windows.Media.Imaging;
|
|
|
using System.Windows.Media.Media3D;
|
|
|
using System.Windows.Media.TextFormatting;
|
|
|
using System.Windows.Navigation;
|
|
|
using System.Windows.Shapes;
|
|
|
using System.Windows.Shell;
|
|
|
|
|
|
|
|
|
namespace KeyPad {
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// VirtualKeyboard
|
|
|
/// </summary>
|
|
|
public partial class VirtualKeyboard : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
|
|
|
|
|
|
|
|
#line 7 "..\..\..\VirtualKeyboard.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal KeyPad.VirtualKeyboard Keyboard;
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
#line 70 "..\..\..\VirtualKeyboard.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.Grid AlfaKeyboard;
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
#line 73 "..\..\..\VirtualKeyboard.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.RowDefinition NumberKeys;
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
|
|
|
|
|
|
#line 193 "..\..\..\VirtualKeyboard.xaml"
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
|
internal System.Windows.Controls.Grid NumKeyboard;
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
|
|
|
private bool _contentLoaded;
|
|
|
|
|
|
/// <summary>
|
|
|
/// InitializeComponent
|
|
|
/// </summary>
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
public void InitializeComponent() {
|
|
|
if (_contentLoaded) {
|
|
|
return;
|
|
|
}
|
|
|
_contentLoaded = true;
|
|
|
System.Uri resourceLocater = new System.Uri("/KeyPad;component/virtualkeyboard.xaml", System.UriKind.Relative);
|
|
|
|
|
|
#line 1 "..\..\..\VirtualKeyboard.xaml"
|
|
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
}
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
|
|
switch (connectionId)
|
|
|
{
|
|
|
case 1:
|
|
|
this.Keyboard = ((KeyPad.VirtualKeyboard)(target));
|
|
|
return;
|
|
|
case 3:
|
|
|
this.AlfaKeyboard = ((System.Windows.Controls.Grid)(target));
|
|
|
return;
|
|
|
case 4:
|
|
|
this.NumberKeys = ((System.Windows.Controls.RowDefinition)(target));
|
|
|
return;
|
|
|
case 5:
|
|
|
this.NumKeyboard = ((System.Windows.Controls.Grid)(target));
|
|
|
return;
|
|
|
}
|
|
|
this._contentLoaded = true;
|
|
|
}
|
|
|
|
|
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
|
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
|
|
System.Windows.EventSetter eventSetter;
|
|
|
switch (connectionId)
|
|
|
{
|
|
|
case 2:
|
|
|
eventSetter = new System.Windows.EventSetter();
|
|
|
eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent;
|
|
|
|
|
|
#line 17 "..\..\..\VirtualKeyboard.xaml"
|
|
|
eventSetter.Handler = new System.Windows.RoutedEventHandler(this.button_Click);
|
|
|
|
|
|
#line default
|
|
|
#line hidden
|
|
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|