I have created the following GUI:
I enter my text in a TextBox
(#1 in the picture). I have a Button
(#2 in the picture) which should change the input in the TextBox
to uppercase so I wrote the following code:
private void tuUpperCase(object sender, RoutedEventArgs e)
{
if (crossBox.IsChecked == true)
{
machineName.Text.ToUpper();
}
}
Aucun commentaire:
Enregistrer un commentaire