示例#1
0
        private void btn_courses_Click(object sender, EventArgs e)
        {
            enablePanel(btn_courses);

            // By add Panel to Panel
            if (ImportNewDataFromFile) { 
                panel_CourseList_cards.setNewList(importCourses);
                panel_CourseList_array.setNewList(importCourses);
                ImportNewDataFromFile = false;
            }
            panel_CourseList_cards.setSelectionByLessonsList(importCourses);
            pnl_coursList = panel_CourseList_cards.getPanel();
            panelMain.Controls.Add(pnl_coursList);
        }