ZeroNe 2012d9f7b6 Add 'LICENSE' | il y a 1 an | |
---|---|---|
.vs | il y a 1 an | |
Resources | il y a 1 an | |
bin | il y a 1 an | |
images | il y a 1 an | |
obj | il y a 1 an | |
App.xaml | il y a 1 an | |
App.xaml.cs | il y a 1 an | |
AssemblyInfo.cs | il y a 1 an | |
Authorization.xaml | il y a 1 an | |
Authorization.xaml.cs | il y a 1 an | |
Begin_UserVerification.xaml | il y a 1 an | |
Begin_UserVerification.xaml.cs | il y a 1 an | |
DB.cs | il y a 1 an | |
Hammer store.csproj | il y a 1 an | |
Hammer store.csproj.user | il y a 1 an | |
Hammer store.sln | il y a 1 an | |
LICENSE | il y a 1 an | |
MainWindow.xaml | il y a 1 an | |
MainWindow.xaml.cs | il y a 1 an | |
README.md | il y a 1 an | |
Registration.xaml | il y a 1 an | |
Registration.xaml.cs | il y a 1 an | |
app.manifest | il y a 1 an |
var cyrillic = Enumerable.Range(1024, 256).Select(ch => (char)ch);
bool res = passLine1.Any(cyrillic.Contains);
// Ввод имени в поле TextBox
private void textBox_Input_Name_KeyDown(object sender, KeyEventArgs e)
{
if (!(e.Key >= Key.A) || !(e.Key <= Key.Z)) e.Handled = true;
if (e.Key == Key.Space) e.Handled = true;
}
// Ввод возраста в поле TextBox
private void textBox_InputAge_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key < Key.D0 || e.Key > Key.D9) e.Handled = true;
}
License: GNU General Public License v3.0