예제 #1
0
        // 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();
        }
예제 #2
0
        private void filipAndetBtn_Click(object sender, EventArgs e)
        {
            NoteWindow filipNote = new NoteWindow(Person.filipNote, 2);

            filipNote.Show();
        }
예제 #3
0
        private void mieAndetBtn_Click(object sender, EventArgs e)
        {
            NoteWindow mieNote = new NoteWindow(Person.mieNote, 1);

            mieNote.Show();
        }