private void SurnameTB_GotFocus(object sender, RoutedEventArgs e) { if (SurnameTB.Text == "Vorname") { SurnameTB.Clear(); } }
private void ClearFields() { LoginTB.Clear(); PasswordTB.Clear(); CPasswordTB.Clear(); SurnameTB.Clear(); NameTB.Clear(); PatronymicTB.Clear(); FacultyCB.Text = ""; DepartmentCB.Text = ""; DepartmentCB.Enabled = false; }