├── .gitignore ├── KeyPad ├── KeyPad.sln ├── KeyPad.sln.docstates.suo ├── KeyPad.suo ├── KeyPad │ ├── Converter │ │ └── BoolToVisibilityConverter.cs │ ├── KeyPad.csproj │ ├── Keypad.xaml │ ├── Keypad.xaml.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── VirtualKeyboard.xaml │ ├── VirtualKeyboard.xaml.cs │ └── app.config └── TestKeypad │ ├── App.xaml │ ├── App.xaml.cs │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings │ └── TestKeypad.csproj └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Build Folders (you can keep bin if you'd like, to store dlls and pdbs) 2 | bin 3 | obj 4 | 5 | # mstest test results 6 | TestResults -------------------------------------------------------------------------------- /KeyPad/KeyPad.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KeyPad", "KeyPad\KeyPad.csproj", "{3ADBFF38-915C-4115-9CDD-81C0CAD9733A}" 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestKeypad", "TestKeypad\TestKeypad.csproj", "{2302659E-071F-4525-9D8F-C16AE000B201}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x86 = Debug|x86 11 | Release|x86 = Release|x86 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3ADBFF38-915C-4115-9CDD-81C0CAD9733A}.Debug|x86.ActiveCfg = Debug|x86 15 | {3ADBFF38-915C-4115-9CDD-81C0CAD9733A}.Debug|x86.Build.0 = Debug|x86 16 | {3ADBFF38-915C-4115-9CDD-81C0CAD9733A}.Release|x86.ActiveCfg = Release|x86 17 | {3ADBFF38-915C-4115-9CDD-81C0CAD9733A}.Release|x86.Build.0 = Release|x86 18 | {2302659E-071F-4525-9D8F-C16AE000B201}.Debug|x86.ActiveCfg = Debug|x86 19 | {2302659E-071F-4525-9D8F-C16AE000B201}.Debug|x86.Build.0 = Debug|x86 20 | {2302659E-071F-4525-9D8F-C16AE000B201}.Release|x86.ActiveCfg = Release|x86 21 | {2302659E-071F-4525-9D8F-C16AE000B201}.Release|x86.Build.0 = Release|x86 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /KeyPad/KeyPad.sln.docstates.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mesta1/WPF-on-screen-keyboard-and-keypad/a70f5b02fc0818398e0ff05ee42af9efb910ba42/KeyPad/KeyPad.sln.docstates.suo -------------------------------------------------------------------------------- /KeyPad/KeyPad.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mesta1/WPF-on-screen-keyboard-and-keypad/a70f5b02fc0818398e0ff05ee42af9efb910ba42/KeyPad/KeyPad.suo -------------------------------------------------------------------------------- /KeyPad/KeyPad/Converter/BoolToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Data; 6 | 7 | namespace KeyPad.Converter 8 | { 9 | class BoolToVisibilityConverter : IValueConverter 10 | { 11 | public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 12 | { 13 | if ((bool?)value == true) 14 | return System.Windows.Visibility.Visible; 15 | else 16 | return System.Windows.Visibility.Collapsed; 17 | } 18 | 19 | public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 20 | { 21 | throw new NotImplementedException(); 22 | } 23 | } 24 | 25 | } 26 | 27 | 28 | -------------------------------------------------------------------------------- /KeyPad/KeyPad/KeyPad.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Debug 5 | x86 6 | 8.0.30703 7 | 2.0 8 | {3ADBFF38-915C-4115-9CDD-81C0CAD9733A} 9 | Library 10 | Properties 11 | KeyPad 12 | KeyPad 13 | v4.0 14 | Client 15 | 512 16 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 17 | 4 18 | 19 | 20 | x86 21 | true 22 | full 23 | false 24 | bin\Debug\ 25 | DEBUG;TRACE 26 | prompt 27 | 4 28 | 29 | 30 | x86 31 | pdbonly 32 | true 33 | bin\Release\ 34 | TRACE 35 | prompt 36 | 4 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 4.0 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | VirtualKeyboard.xaml 60 | 61 | 62 | MSBuild:Compile 63 | Designer 64 | 65 | 66 | Keypad.xaml 67 | Code 68 | 69 | 70 | Designer 71 | MSBuild:Compile 72 | 73 | 74 | 75 | 76 | Code 77 | 78 | 79 | True 80 | True 81 | Resources.resx 82 | 83 | 84 | True 85 | Settings.settings 86 | True 87 | 88 | 89 | ResXFileCodeGenerator 90 | Resources.Designer.cs 91 | 92 | 93 | 94 | SettingsSingleFileGenerator 95 | Settings.Designer.cs 96 | 97 | 98 | 99 | 100 | 107 | -------------------------------------------------------------------------------- /KeyPad/KeyPad/Keypad.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 11 | 12 | 13 | 14 | 15 | 16 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 50 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 161 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 264 | 265 | 266 | 267 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 313 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 338 | 339 | 340 | 341 |