private void btnAdd_Click(object sender, EventArgs e)
        {
            // lstMeetingNotes.BeginUpdate();
            CAMR_3.Business.Meeting meeting = new CAMR_3.Business.Meeting();
            meeting.MeetingDate = txtDate.Text;
            ac.uk.brunel.contextaware.Note note1 = new ac.uk.brunel.contextaware.Note();
            note1.message = "abc";
            ac.uk.brunel.contextaware.Note note2 = new ac.uk.brunel.contextaware.Note();
            note2.message = "def";
            meeting.AddNote(note1);
            meeting.AddNote(note2);

            meetings.Add(meeting);
              //  lstMeetingNotes.EndUpdate();
            lstMeetingNotes.Items.Add(meeting);
            //lstMeetingNotes.DataSource = meetings;
        }
Exemple #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            // lstMeetingNotes.BeginUpdate();
            CAMR_3.Business.Meeting meeting = new CAMR_3.Business.Meeting();
            meeting.MeetingDate = txtDate.Text;
            ac.uk.brunel.contextaware.Note note1 = new ac.uk.brunel.contextaware.Note();
            note1.message = "abc";
            ac.uk.brunel.contextaware.Note note2 = new ac.uk.brunel.contextaware.Note();
            note2.message = "def";
            meeting.AddNote(note1);
            meeting.AddNote(note2);

            meetings.Add(meeting);
            //  lstMeetingNotes.EndUpdate();
            lstMeetingNotes.Items.Add(meeting);
            //lstMeetingNotes.DataSource = meetings;
        }