Esempio n. 1
0
 /// <summary>
 /// Loads the publications list.
 /// </summary>
 /// <param name="publicationList">The publication list.</param>
 public void LoadPublicationsList(List <Model.Publication.Publication> publicationList)
 {
     foreach (Model.Publication.Publication publication in publicationList)
     {
         XareuWFClient.Controls.Publication.Publication publicationControl = new XareuWFClient.Controls.Publication.Publication(publication);
         this.AddPublication(publicationControl);
     }
     this.setLinksStatus();
 }
Esempio n. 2
0
 /// <summary>
 /// Adds the question.
 /// </summary>
 /// <param name="question">The question.</param>
 public void AddQuestion(XareuWFClient.Controls.Publication.Publication question)
 {
     question.Dock = DockStyle.Top;
     question.SetColors();
     this.pQuestionsList.Controls.Add(question);
 }
Esempio n. 3
0
 /// <summary>
 /// Adds the publication.
 /// </summary>
 /// <param name="publication">The publication.</param>
 public void AddPublication(XareuWFClient.Controls.Publication.Publication publication)
 {
     publication.Dock = DockStyle.Top;
     publication.SetColors();
     this.pPublicationsList.Controls.Add(publication);
 }