Esempio n. 1
0
 public Module(String name, String number, String descrip, Announcement announce)
 {
     moduleName = name;
     moduleNo = number;
     moduleDescrip = descrip;
     latestAnnouncement = announce;
 }
        public AddToDoPage()
        {
            InitializeComponent();

            // get the announcement information from global variable
            todoRelatedAnnouncement = (Application.Current as App).announcement;

            // show the name of the related announcement
            ToDoRelatedAnnouncement.Text = todoRelatedAnnouncement.announceModuleCode + "-" + todoRelatedAnnouncement.announceNameDisplay;
        }
Esempio n. 3
0
 public Module(Announcement[] announces, Workbin[] workins, String id, String code, String name, String depart, String sem, String ay, String mc, Lecturer[] lecturers)
 {
     moduleAnnouncements = announces;
     moduleWorkbins = workins;
     moduleId = id;
     moduleCode = code;
     moduleName = name;
     moduleDepart = depart;
     moduleSemester = sem;
     moduleAcadYear = ay;
     moduleMc = mc;
     moduleLecturers = lecturers;
 }
        public AnnouncementPage()
        {
            InitializeComponent();

            selectedAnnouncement = (Application.Current as App).announcement;
        }
Esempio n. 5
0
File: Todo.cs Progetto: 2Bmetro/IVLE
 public Todo(String myDetails, Announcement myAnnounce, String myDeadline)
 {
     details = myDetails;
     relatedAnnounce = myAnnounce;
     deadline = myDeadline;
 }