void btxLis_Click(object sender, EventArgs e)
 {
     #region
     Bifrost.GlassButton btlis = (Bifrost.GlassButton)sender;
     //string datetimes = "";
     //datetimes = gettimestr(btlis.Parent.Name);
     string bblsh = btlis.Tag.ToString();
     if (bblsh != "")
     {
         string Sqlcondition            = " and a.bblsh='" + bblsh + "'";//" and b.yzxmmc='" + btlis.Text + "' and jyrq=to_date('" + datetimes + "','yyyy-MM-dd')";
         Bifrost.HisInstance.FrmLis frm = new Bifrost.HisInstance.FrmLis(inPatientInfo.PId, Sqlcondition);
         frm.ShowDialog();
     }
     #endregion
 }
Beispiel #2
0
        public void ClickGrid(object sender, EventArgs e)
        {
            string pid = ucGridviewX1.fg.SelectedRows[0].Cells["住院号"].Value.ToString();
            //string patient_name= ucGridviewX1.fg.SelectedRows[0].Cells["病人名称"].Value.ToString();
            //string in_time = ucGridviewX1.fg.SelectedRows[0].Cells["入院时间"].Value.ToString();
            if (pid != "")
            {
                //string Sqlcondition = " and b.yzxmmc='" + btlis.Text + "' and jyrq=to_date('" + datetimes + "','yyyy-MM-dd')";

                string Sqlcondition = " and b.yzxmmc='" + pid + "'";
                Bifrost.HisInstance.FrmLis frm = new Bifrost.HisInstance.FrmLis(pid);
                frm.ShowDialog();
            }
            else
            {
                this.Close();
            }
        }