ZeroNe 2012d9f7b6 Add 'LICENSE' | 1 rok pred | |
---|---|---|
.vs | 1 rok pred | |
Resources | 1 rok pred | |
bin | 1 rok pred | |
images | 1 rok pred | |
obj | 1 rok pred | |
App.xaml | 1 rok pred | |
App.xaml.cs | 1 rok pred | |
AssemblyInfo.cs | 1 rok pred | |
Authorization.xaml | 1 rok pred | |
Authorization.xaml.cs | 1 rok pred | |
Begin_UserVerification.xaml | 1 rok pred | |
Begin_UserVerification.xaml.cs | 1 rok pred | |
DB.cs | 1 rok pred | |
Hammer store.csproj | 1 rok pred | |
Hammer store.csproj.user | 1 rok pred | |
Hammer store.sln | 1 rok pred | |
LICENSE | 1 rok pred | |
MainWindow.xaml | 1 rok pred | |
MainWindow.xaml.cs | 1 rok pred | |
README.md | 1 rok pred | |
Registration.xaml | 1 rok pred | |
Registration.xaml.cs | 1 rok pred | |
app.manifest | 1 rok pred |
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