コード例 #1
0
        private void OpenScheduleForm_Shown(object sender, EventArgs e)
        {
            FullSchedules = DatabaseManager.GetFullSchedules();

            // add the schedule names to the listbox
            scheduleListBox.BeginUpdate();
            scheduleListBox.Items.Clear();

            foreach (string[] scheduleInfo in FullSchedules)
            {
                scheduleListBox.Items.Add(scheduleInfo[1]);
            }
            scheduleListBox.EndUpdate();
        }