// Skriv noter til ekstra udgifter private void mutualNoteButton_Click(object sender, EventArgs e) { NoteWindow mutualNote = new NoteWindow(Mutual.note, 0); mutualNote.Show(); //DialogResult dr = mutualNote.ShowDialog(); //if (DialogResult == DialogResult.OK) { // Console.WriteLine("Du trykkede OK i noten"); //}else if (DialogResult == DialogResult.Cancel) { // Console.WriteLine("Du trykkede annuller i noten"); //} //mutualNote.Dispose(); }
private void filipAndetBtn_Click(object sender, EventArgs e) { NoteWindow filipNote = new NoteWindow(Person.filipNote, 2); filipNote.Show(); }
private void mieAndetBtn_Click(object sender, EventArgs e) { NoteWindow mieNote = new NoteWindow(Person.mieNote, 1); mieNote.Show(); }