⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radiationtherapy.ascx.cs

📁 医疗决策支持系统
💻 CS
字号:
namespace Caisis.UI.Modules.Prostate.Eforms
{
	using System;
	using System.Data;
	using System.Drawing;
	using System.Web;
	using System.Web.UI.WebControls;
	using System.Web.UI.HtmlControls;

	using Caisis.BusinessObject;
	using Caisis.UI.Core.Classes;
	using Caisis.UI.Modules.Prostate.PaperForms;
	using Caisis.DataAccess;
	using Caisis.UI.Core.Classes.CustomControls;

	/// <summary>
	///		Summary description for MedicationsClinical.
	/// </summary>
	public class RadiationTherapy : BaseEFormControl
	{
		protected Literal DivDisplay, ShowDivScript;

		protected EformTextBox RadTxDateText_1, RadTxTotalDose_1, RadTxNotes_1;
		protected EformSelect RadTxType_1;
		protected EformComboBox RadTxTarget_1, RadTxInstitution_1;

		override protected void Page_Load(object sender, System.EventArgs e)
		{
			base.Page_Load(sender, e);
			base.BuildXRT(this._patientId, this._eformName, "Dynamic");

//			SetDivDisplay();
		}


		protected void SetDivDisplay()
		{
			bool ShowDiv = false;

			if (XRT.Items.Count > 0)
			{
				ShowDiv = true;
			}
			else if (RadTxDateText_1.Text.Length > 0 || RadTxTotalDose_1.Text.Length > 0 || RadTxNotes_1.Text.Length > 0)
			{
				ShowDiv = true;
			}
			else if (RadTxType_1.SelectedValue.Length > 0)
			{
				ShowDiv = true;
			}
			else if (RadTxTarget_1.Value.Length > 0 || RadTxInstitution_1.Value.Length > 0 )
			{
				ShowDiv = true;
			}


			if (ShowDiv == true)
			{
				DivDisplay.Text = "block";
				ShowDivScript.Text = "<script>if (document.getElementById('RadTxCheckbox')) document.getElementById('RadTxCheckbox').checked = true;</script>";
			}

		}

	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -