-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModifyGeneratorDialog.xaml
17 lines (17 loc) · 1.14 KB
/
ModifyGeneratorDialog.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Window x:Class="CircuitPro.ModifyGeneratorDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:CircuitPro"
mc:Ignorable="d"
Title="Modificare generator" Width="400" SizeToContent="Height">
<StackPanel>
<Label Content="Frecvență (Hz)" Margin="10,0,10,0" />
<TextBox x:Name="FrecventaText" TextWrapping="Wrap" Margin="10,0,10,0" PreviewTextInput="VerificareInputNumar" KeyDown="TextInput_PreviewKeyDown"/>
<Label Content="Tensiune (V)" Margin="10,10,10,0" />
<TextBox x:Name="TensiuneText" TextWrapping="Wrap" Margin="10,0,10,0" PreviewTextInput="VerificareInputNumar" KeyDown="TextInput_PreviewKeyDown"/>
<Button x:Name="ApplyBtn" Content="Aplică" Margin="20,20,20,0" Click="ApplyBtn_Click"/>
<Button x:Name="CancelBtn" Content="Renunță" Margin="20,10,20,20" Click="CancelBtn_Click"/>
</StackPanel>
</Window>