private void ShowNote() { if (this.mySelectedNotiz != null) { var nv = new NotizView(mySelectedNotiz, this.myKunde); nv.Show(); } }
void ShowNote() { if (this.mySelectedNotiz != null) { var nv = new NotizView(this.mySelectedNotiz, this.myMachine.CurrentOwner); nv.ShowDialog(); } }
private void AddNote() { var builder = new NoteBuilder(this.myKunde, this.myKunde, this.myKunde.Kontaktlist.FirstOrDefault(k => k.MainContactFlag == true).Nummer); var note = ModelManager.NotesService.AddNote(builder); var nv = new NotizView(note, myKunde); nv.Show(); }
private void OpenNote() { if (mySelectedNote == null) { return; } var nv = new NotizView(this.mySelectedNote, this.myMachine.CurrentOwner); nv.Show(); }