예제 #1
0
        private void Edit_Click(object sender, RoutedEventArgs e)
        {
            if (null == ((Button)sender).Tag)
            {
                BLPublic.Dialogs.Alert("无法编辑,未关联审方结果记录");
                return;
            }

            recipemonitorlist.MonitorResult mntRt = (recipemonitorlist.MonitorResult)((Button)sender).Tag;
            WinCustomCheck winChk = new WinCustomCheck();

            winChk.EditID = mntRt.ResultID;
            if (true == winChk.ShowDialog())
            {
                mntRt.ResultDesc = winChk.txtDesc.Text.Trim();
                mntRt.CheckLevel = true == winChk.rdo5Degress.IsChecked ? 5 : 3;
            }
        }
예제 #2
0
        private void btnAddCustomChk_Click(object sender, RoutedEventArgs e)
        {
            if (null == lbOrders.SelectedItem)
            {
                BLPublic.Dialogs.Alert("请先选择医嘱.");
                return;
            }

            OrdersModel ord = (OrdersModel)lbOrders.SelectedItem;

            WinCustomCheck winChk = new WinCustomCheck();

            winChk.init(this.patient.PatientCode, ord.RecipeID);
            if (true == winChk.ShowDialog())
            {
                loadOrderChkResut();
            }
        }