Пример #1
0
 protected void LoadRadiationTherapy()
 {
     if (null != RadiationTherapyHolder)
     {
         RadiationTherapyControl = (BaseEFormControl)this.LoadControl("RadiationTherapy.ascx");
         RadiationTherapyHolder.Controls.Add(RadiationTherapyControl);
     }
 }
Пример #2
0
 protected void LoadBrachyTherapy()
 {
     if (null != BrachyTherapyHolder)
     {
         BrachyTherapyControl = (BaseEFormControl)this.LoadControl("BrachyTherapy.ascx");
         BrachyTherapyHolder.Controls.Add(BrachyTherapyControl);
     }
 }
Пример #3
0
/*
 *              override protected void Page_Load(object sender, System.EventArgs e)
 *              {
 *                      base.Page_Load(sender, e);
 *                      if (MedicalTherapyControl == null)
 *                      {
 *                              LoadMedicalTherapy();
 *                      }
 *                      if (RadiationTherapyControl == null)
 *                      {
 *                              LoadRadiationTherapy();
 *                      }
 *                      if (BrachyTherapyControl == null)
 *                      {
 *                              LoadBrachyTherapy();
 *                      }
 *              }
 */

        protected void LoadMedicalTherapy()
        {
            if (null != MedicalTherapyHolder)
            {
                MedicalTherapyControl = (BaseEFormControl)this.LoadControl("MedicalTherapy.ascx");
                MedicalTherapyHolder.Controls.Add(MedicalTherapyControl);
            }
        }