コード例 #1
0
        public void acceptIdea(int studid, int ideaid)
        {
            Cidea toaccept = Program.database.listofstudent[studid - 1].lstofideas[ideaid];

            Program.database.listofstudent[studid - 1].selectedproject = new Cproject(toaccept);
            attachedsubstoadvosor();
            sent.addnewnotification(new Advisoracceptidea(toaccept, studid - 1, this));
            sync();
        }
コード例 #2
0
 public Advisoracceptidea(Cidea idea, int studid, Cadvisor advosir)
 {
     notification = new Idea_Accepted(idea, studid, advosir);
 }
コード例 #3
0
 public Studentproposedidea(Cidea Idea, int studid)
 {
     notification = new Proposed_Idea(Idea, studid);
 }
コード例 #4
0
 public Idea_Accepted(Cidea idea, int id, Cadvisor advosir)
 {
     des = "An idea has been Accepted by Advosor\n Advisor ID: " + advosir.id + "\n Advisor Name: " + advosir.firstname + "\n Std ID: " + (id + 1) + "\n Idea Id: " + idea.id + "\n Idea Description: " + idea.ideadescription;
 }
コード例 #5
0
 public Proposed_Idea(Cidea idea, int id)
 {
     Idea = idea;
     des  = "An idea has been proposed by student\n Std ID: " + id + "\n Idea Name: " + idea.ideaname + "\n Idea Description: " + idea.ideadescription;
 }
コード例 #6
0
 public Cproject(Cidea projectidea)
 {
     this.projectidea = projectidea;
     comitt           = new List <string>();
 }