📄 vitalsigns.ascx.cs
字号:
namespace Caisis.UI.Modules.All.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 VitalSigns : BaseEFormControl
{
protected EformTextBox Height;
protected EformTextBox Weight;
protected EformTextBox BSA;
override protected void Page_Load(object sender, System.EventArgs e)
{
base.Page_Load(sender, e);
// calculation in utilities.js
// calls to client scripts to calculate Body Mass Index
string strJs = BSA.ClientID + ".value = calculateBSA("+Height.ClientID+".value, "+ Weight.ClientID+".value);";
//string strJS += BMI.ClientID+".value = calculateBMI("+Height.ClientID+".value, "+ Weight.ClientID+".value);" +
Height.Attributes.Add("onpropertychange", strJs);
Weight.Attributes.Add("onpropertychange", strJs);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -