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; }
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; }
public Todo(String myDetails, Announcement myAnnounce, String myDeadline) { details = myDetails; relatedAnnounce = myAnnounce; deadline = myDeadline; }