Beispiel #1
0
 private void beginAttandance(HallMode mode)
 {
     if (attandanceTask != null)
     {
         attandanceTask.cancel();
     }
     attandanceTask = AttandanceTask.createAttandanceTask(this, mainPanel);
     layoutAttandanceTaskPanel();
     attandanceTask.hall = this;
 }
        public static AttandanceTask createAttandanceTask(CourseHall hallToCheck, Control parentOfPanel, int operationPanelWidth = 676)
        {
            AttandanceTask task = new AttandanceTask(parentOfPanel, hallToCheck, operationPanelWidth);

            return(task);
        }