private void btnSaveNotes_Click(object sender, RoutedEventArgs e) { notesSaving.Note = tbNotes.Text; notesHandler.SaveNotes(notesSaving, "Notes.xml"); tbNotes.Text = "Dina anteckningar är sparade!"; btnSaveNotes.Visibility = Visibility.Hidden; btnLoadNotes.Visibility = Visibility.Visible; }