protected void LoadRadiationTherapy() { if (null != RadiationTherapyHolder) { RadiationTherapyControl = (BaseEFormControl)this.LoadControl("RadiationTherapy.ascx"); RadiationTherapyHolder.Controls.Add(RadiationTherapyControl); } }
protected void LoadBrachyTherapy() { if (null != BrachyTherapyHolder) { BrachyTherapyControl = (BaseEFormControl)this.LoadControl("BrachyTherapy.ascx"); BrachyTherapyHolder.Controls.Add(BrachyTherapyControl); } }
/* * 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); } }