|
29 | 29 | <ColumnDefinition></ColumnDefinition>
|
30 | 30 | </Grid.ColumnDefinitions>
|
31 | 31 | <Label>Length:</Label>
|
32 |
| - <syncfusion:IntegerTextBox x:Name="TxtLength" Grid.Row="0" Grid.Column="1" MinValue="1"></syncfusion:IntegerTextBox> |
| 32 | + <syncfusion:IntegerTextBox x:Name="TxtLength" Grid.Row="0" Grid.Column="1" MinValue="1"> |
| 33 | + <syncfusion:IntegerTextBox.ToolTip> |
| 34 | + <ToolTip Content="The length of the password that needs to be generated."></ToolTip> |
| 35 | + </syncfusion:IntegerTextBox.ToolTip> |
| 36 | + </syncfusion:IntegerTextBox> |
33 | 37 | <Label Grid.Row="1" Grid.Column="0">Amount:</Label>
|
34 |
| - <syncfusion:IntegerTextBox x:Name="TxtAmount" Grid.Row="1" Grid.Column="1" MinValue="1"></syncfusion:IntegerTextBox> |
| 38 | + <syncfusion:IntegerTextBox x:Name="TxtAmount" Grid.Row="1" Grid.Column="1" MinValue="1"> |
| 39 | + <syncfusion:IntegerTextBox.ToolTip> |
| 40 | + <ToolTip Content="The amount of passwords that need to be generated."></ToolTip> |
| 41 | + </syncfusion:IntegerTextBox.ToolTip> |
| 42 | + </syncfusion:IntegerTextBox> |
35 | 43 | </Grid>
|
36 | 44 | <GroupBox Grid.Row="1" Header="Characters">
|
37 | 45 | <Grid>
|
|
43 | 51 | <ColumnDefinition></ColumnDefinition>
|
44 | 52 | <ColumnDefinition></ColumnDefinition>
|
45 | 53 | </Grid.ColumnDefinitions>
|
46 |
| - <CheckBox x:Name="ChbSmallLetters" Content="Small letters (a-z)" Height="16"></CheckBox> |
47 |
| - <CheckBox x:Name="ChbCapitalLetters" Grid.Row="0" Grid.Column="1" Content="Capital letters (A-Z)"></CheckBox> |
48 |
| - <CheckBox x:Name="ChbSpecialCharacters" Grid.Row="1" Grid.Column="0" Content="Special characters (@,#!)"></CheckBox> |
49 |
| - <CheckBox x:Name="ChbNumbers" Grid.Row="1" Grid.Column="1" Content="Numbers (0-9)"></CheckBox> |
| 54 | + <CheckBox Margin="2" x:Name="ChbSmallLetters" Content="Small letters"> |
| 55 | + <CheckBox.ToolTip> |
| 56 | + <ToolTip Content="Example: a, b, c,..."></ToolTip> |
| 57 | + </CheckBox.ToolTip> |
| 58 | + </CheckBox> |
| 59 | + <CheckBox Margin="2" x:Name="ChbCapitalLetters" Grid.Row="0" Grid.Column="1" Content="Capital letters"> |
| 60 | + <CheckBox.ToolTip> |
| 61 | + <ToolTip Content="Example: A, B, C,..."></ToolTip> |
| 62 | + </CheckBox.ToolTip> |
| 63 | + </CheckBox> |
| 64 | + <CheckBox Margin="2" x:Name="ChbSpecialCharacters" Grid.Row="1" Grid.Column="0" Content="Special characters"> |
| 65 | + <CheckBox.ToolTip> |
| 66 | + <ToolTip Content="Example: @, #, !,..."></ToolTip> |
| 67 | + </CheckBox.ToolTip> |
| 68 | + </CheckBox> |
| 69 | + <CheckBox Margin="2" x:Name="ChbNumbers" Grid.Row="1" Grid.Column="1" Content="Numbers"> |
| 70 | + <CheckBox.ToolTip> |
| 71 | + <ToolTip Content="Example: 0, 1, 2,..."></ToolTip> |
| 72 | + </CheckBox.ToolTip> |
| 73 | + </CheckBox> |
50 | 74 | </Grid>
|
51 | 75 | </GroupBox>
|
52 | 76 | </Grid>
|
|
86 | 110 | <ColumnDefinition></ColumnDefinition>
|
87 | 111 | </Grid.ColumnDefinitions>
|
88 | 112 | <Label>Character set:</Label>
|
89 |
| - <TextBox x:Name="TxtCharacterSet" Grid.Row="0" Grid.Column="1"></TextBox> |
| 113 | + <TextBox x:Name="TxtCharacterSet" Grid.Row="0" Grid.Column="1"> |
| 114 | + <TextBox.ToolTip> |
| 115 | + <ToolTip Content="The character set is a collection of characters that will be used to generate a password."></ToolTip> |
| 116 | + </TextBox.ToolTip> |
| 117 | + </TextBox> |
90 | 118 | <Label Grid.Row="1" Grid.Column="0">Random seed:</Label>
|
91 |
| - <syncfusion:IntegerTextBox x:Name="TxtRandomSeed" Grid.Row="1" Grid.Column="1"></syncfusion:IntegerTextBox> |
| 119 | + <syncfusion:IntegerTextBox x:Name="TxtRandomSeed" Grid.Row="1" Grid.Column="1"> |
| 120 | + <syncfusion:IntegerTextBox.ToolTip> |
| 121 | + <ToolTip Content="The seed is used to generate random passwords."></ToolTip> |
| 122 | + </syncfusion:IntegerTextBox.ToolTip> |
| 123 | + </syncfusion:IntegerTextBox> |
92 | 124 | </Grid>
|
93 | 125 | </Grid>
|
94 | 126 | </GroupBox>
|
|
142 | 174 | <ColumnDefinition></ColumnDefinition>
|
143 | 175 | <ColumnDefinition></ColumnDefinition>
|
144 | 176 | </Grid.ColumnDefinitions>
|
145 |
| - <Button Content="Generate" Click="BtnGenerate_Click"></Button> |
146 |
| - <Button Grid.Column="1" Content=" Export" Click="BtnExport_Click" ></Button> |
| 177 | + <Button Margin="5" Content="Generate" Click="BtnGenerate_Click"></Button> |
| 178 | + <Button Margin="5" Grid.Column="1" Content=" Export" Click="BtnExport_Click" ></Button> |
147 | 179 | </Grid>
|
148 | 180 | </Grid>
|
149 | 181 | </syncfusion:TabItemExt>
|
|
166 | 198 | <RowDefinition></RowDefinition>
|
167 | 199 | <RowDefinition></RowDefinition>
|
168 | 200 | </Grid.RowDefinitions>
|
169 |
| - <ProgressBar x:Name="PgbStrength" Grid.Row="0" Maximum="5" Height="20"></ProgressBar> |
170 |
| - <Button Grid.Row="1" Content="Advise" Click="BtnAdvise_Click"></Button> |
| 201 | + <ProgressBar Margin="5" x:Name="PgbStrength" Grid.Row="0" Maximum="5" Height="20"></ProgressBar> |
| 202 | + <Button Margin="5" Grid.Row="1" Content="Advise" Click="BtnAdvise_Click"></Button> |
171 | 203 | </Grid>
|
172 | 204 | </Grid>
|
173 | 205 | </syncfusion:TabItemExt>
|
|
0 commit comments