private void Email_Content_Template_Load(object sender, EventArgs e)
 {
     conf = TeachingEvaluation.UDT.CSConfiguration.GetTemplate(this.TemplateName);
     this.Decorate(this.webBrowser1, conf.Content);
 }
 private void Email_Content_Template_Load(object sender, EventArgs e)
 {
     conf = TeachingEvaluation.UDT.CSConfiguration.GetTemplate(this.TemplateName);
     this.Decorate(this.webBrowser1, conf.Content);
     conf_subject = TeachingEvaluation.UDT.CSConfiguration.GetTemplate(this.TemplateName.ToString() + "_subject");
     this.txtSubject.Text = conf_subject.Content;
 }
        private void SetConf()
        {
            if (!this.formload)
                return;

            string TemplateName = this.nudSchoolYear.Value + "-" + (this.cboSemester.SelectedItem as SemesterItem).Value + "-" + this.TemplateName_Subfix;
            conf = TeachingEvaluation.UDT.CSConfiguration.GetTemplate(TemplateName);
        }