private void FillInputXMLByClass()
 {
     patexam_Class CurPatexam = new patexam_Class(CurAccessno);
     patregister_Class CurPatRegister = new patregister_Class(CurAccessno);
     //DataTable dt = new DataTable();
     //dt = ReportStyle_Class.GetApplyStyle();
     //if (dt != null)
     //{
     //    ReportStyle_Class d_style = new ReportStyle_Class(dt.Rows[0]);
     //    if (d_style.xmltext != "")
     //        myEditControl.LoadDocumentFromString(d_style.xmltext, "xml");
     //    else
     //    {
     //        string fileName = "";
     //        fileName = Share_Class.Dir + @"\xml\Apply.xml";
     //        myEditControl.ExecuteCommand("FileOpen", false, fileName);
     //    }
     //}
     //else
     //{
         string fileName = "";
         fileName = Share_Class.Dir + @"\xml\Apply.xml"; 
         myEditControl.ExecuteCommand("FileOpen", false, fileName);
     //}
         
     string d_ReportType = "检查申请单";
     myEditControl.SetDocumentParameterValue("hospitalname", Share_Class.hospital_name);
     myEditControl.SetDocumentParameterValue("ReportType", d_ReportType);
     myEditControl.SetDocumentParameterValue("patexam", CurPatexam);
     myEditControl.SetDocumentParameterValue("patregister", CurPatRegister);
 }
 //public Consult_request_form(patexam_Class d_patexam, DG_Report_Form p_report_form)
 //{
 //    InitializeComponent();
 //    CurPatexam = d_patexam;
 //    FillInputByClass();
 // //   d_report_form = p_report_form;
 //}
 public Consult_request_form(patexam_Class d_patexam, Report_Form p_report_form)
 {
     InitializeComponent();
     CurPatexam = d_patexam;
     FillInputByClass();
     d_report_form = p_report_form;
 }
 public report_history_Control(string p_accessno, Report_Form p_reportform)
 {
     InitializeComponent();
     CurAccessno = p_accessno;
     CurPatexam = new patexam_Class(CurAccessno);
     d_ReportEdit = p_reportform;
     FormInit();
 }
 public SendMessage_Form(patexam_Class p_patexam)
 {
     InitializeComponent();
     patregister_Class d_Patregister = new patregister_Class(p_patexam.patid);
     Name_TextEdit.Text = d_Patregister.Name;
     patient_id_TextEdit.Text = p_patexam.Patient_id;
     xno_TextEdit.Text = p_patexam.xno;
     accesno_TextEdit.Text = p_patexam.accessno;
     telephone_ComboBoxEdit.Text = d_Patregister.Telephone;
     d_patexam = p_patexam;
 }
        public ShowApply_Form_old(patexam_Class p_patexam)
        {

            //' 此调用是 Windows 窗体设计器所必需的。
            InitializeComponent();

            // ' 在 InitializeComponent() 调用之后添加任何初始化。
            FillInputByClass(p_patexam);



        }
        private void FillInputByClass(patexam_Class p_patexam)
        {
            patregister_Class d_Patregister = new patregister_Class(p_patexam.patid);

            Name_TextEdit.Text = d_Patregister.Name;
            sex_TextEdit.Text = d_Patregister.Sex;
            agetrue_TextEdit.Text = p_patexam.agetrue;
            sqdep_TextEdit.Text = p_patexam.sqdep;
            clinicinfo_MemoEdit.Text = p_patexam.clinicinfo;
            clinicend_MemoEdit.Text = p_patexam.clinicend;
            checkpos_MemoEdit.Text = p_patexam.checkpos;
            doctor_TextEdit.Text = p_patexam.Doctor;
            checkdate_TextEdit.Text = p_patexam.checkdate.ToString();
            modality_TextEdit.Text = p_patexam.modality;
            xno_TextEdit.Text = p_patexam.xno;
            checkid_TextEdit.Text = p_patexam.checkid.ToString();
            Radio_doctor_TextEdit.Text = p_patexam.radio_doctor;
            remark_MemoEdit.Text = p_patexam.exammark;

            //int  _index_Site = 0;
            //Font newFont   = new Font("宋体", 14, FontStyle.Bold);
            //string  _str[] = new string [6];
            //_str[0] = "肾功能不全";
            //_str[1] = "服用二甲双胍类药物";
            //_str[2] = "";
            //_str(3) = "";
            //_str(4) = "";

            //_index_Site = clinicinfo_MemoEdit.Text.ToString().IndexOf("检查目的")
            //If _index_Site > -1 Then
            //    clinicinfo_MemoEdit.Select(_index_Site, clinicinfo_MemoEdit.Text.ToString.Length - _index_Site)
            //    clinicinfo_MemoEdit.SelectionColor = Color.Red
            //    clinicinfo_MemoEdit.SelectionFont = newFont
            //    clinicinfo_MemoEdit.Select(clinicinfo_MemoEdit.Text.ToString().Length, 0)
            //    clinicinfo_MemoEdit.SelectionColor = Color.Black
            //End If

        }
 private void patexam_GridControl_Click(object sender, EventArgs e)
 {
     DataTable d_DTable = (DataTable)patexam_GridControl.DataSource;
     if (d_DTable == null)
         return;
     DataRow dw = d_DTable.Rows[patexam_GridView.GetDataSourceRowIndex(patexam_GridView.FocusedRowHandle)];
     string d_accessno = dw["accession_no"].ToString().Trim();
     patexam_Class d_patexam = new patexam_Class(d_accessno);
     memoEdit1.Text = d_patexam.reportend;
     memoEdit2.Text = d_patexam.reportinfo;
 }
 public report_rewrite_Class(patexam_Class p_patexam)
 {
     clspatexam = p_patexam;
     LoadDataByID(p_patexam.checkid);
 }
        private bool BeforeSave(string p_status, bool p_tempflag)
        {
            try
            {
                patexam_Class p_patexam = new patexam_Class(CurReportForm.CurPatexam.accessno);
                string showstr = "";

                if (p_patexam.check_status == "已审核")
                {
                    if (CurReportForm.CurPatexam.check_status != "已审核")
                    {
                        if (p_status == "保存")
                        {
                            showstr = "该报告已审核无法再保存,请退出报告界面或者重新审核";
                            showstr += "\r\n" + "审核医生:" + p_patexam.advancedoc + "审核时间:" + p_patexam.advancedate.ToString();

                        }
                        else
                        {
                            showstr = "该报告已审核,是否继续审核";
                            showstr += "\r\n" + "审核医生:" + p_patexam.advancedoc + "审核时间:" + p_patexam.advancedate.ToString();
                            ShowErr_Form d_form = new ShowErr_Form(showstr, "是", "否");
                            if (d_form.ShowDialog() == DialogResult.OK)
                            {
                                showstr = "";
                            }
                            else
                                return false;
                        }
                    }
                }
                else if (p_patexam.check_status == "未审核")
                {

                    if ((p_patexam.reportdoc != "") && (p_patexam.reportdoc != Share_Class.User.user_id) && (p_status == "保存"))
                    {
                        showstr = "该报告已保存无法再保存,请退出报告界面或者重新审核";
                        showstr += "\r\n" + "报告医生:" + p_patexam.reportdoc + "报告时间:" + p_patexam.reportdate.ToString();
                    }
                }


                if (showstr != "")
                {
                    ShowErr_Form d_form = new ShowErr_Form(showstr, "错误");
                    d_form.ShowDialog();
                    return false;
                }
                if (p_tempflag == true)
                {
                    if (p_status == "保存")
                    {

                        if (Share_Class.User.HaveFunction("b") == false)
                        {
                            ShowErr_Form d_form = new ShowErr_Form("用户无此操作权限", "错误");
                            d_form.ShowDialog();
                            return false;
                        }
                    }
                    else
                    {
                        if (Share_Class.User.HaveFunction("c") == false)
                        {
                            ShowErr_Form d_form = new ShowErr_Form("用户无此操作权限", "错误");
                            d_form.ShowDialog();
                            return false;
                        }
                    }
                }

                if (CurShowApplyImage_Form != null)
                {
                    CurShowApplyImage_Form.Close();
                }

                string d_template_diag = "";
                string d_template_describle = "";
                patexam_Class d_patexam = new patexam_Class();
                CurReportForm.getTemplateContent(ref d_template_diag, ref d_template_describle, ref d_patexam);

                string d_reportdisease = "";// this.ICD_10_ComboBoxEdit.Text.Trim();
                if (d_reportdisease == "")
                {
                    for (int i = 0; i < reportdisease_CheckedListBoxControl.Items.Count; i++)
                    {
                        if (reportdisease_CheckedListBoxControl.Items[i].CheckState == CheckState.Checked)
                            d_reportdisease += reportdisease_CheckedListBoxControl.Items[i].Value.ToString().Trim() + ",";
                    }
                    if (d_reportdisease != "")
                        d_reportdisease = d_reportdisease.TrimEnd(new char[] { ',' });
                }

                d_patexam.reportdisease = d_reportdisease;
                string d_disease = diseasetype_ComboBoxEdit.Text.Trim();
                if (d_disease == "")
                {
                    for (int i = 0; i < diseasetype_CheckedListBoxControl.Items.Count; i++)
                    {
                        if (diseasetype_CheckedListBoxControl.Items[i].CheckState == CheckState.Checked)
                            d_disease += diseasetype_CheckedListBoxControl.Items[i].Value.ToString().Trim() + ",";
                    }
                    if (d_disease != "")
                        d_disease = d_disease.TrimEnd(new char[] { ',' });
                }
                d_patexam.diseasetype = d_disease;
                if (p_tempflag == true)
                {
                    if ((d_patexam.reportdisease != "临时报告") && (d_patexam.diseasetype == ""))
                    {
                        ShowErr_Form d_form = new ShowErr_Form("结果归类未选", "错误");
                        d_form.ShowDialog();
                        return false;
                    }
                    else
                    {
                        string d_values = RisSetup_Class.GetINI_Oracle(CurReportForm.CurPatexam.dep, "diseasetype_show");
                        if (d_values == "yes")
                        {
                            ShowErr_Form d_form = new ShowErr_Form("报告的结果归类为" + d_patexam.diseasetype + ",是否继续?", "是", "否");
                            if ((d_form.ShowDialog() != System.Windows.Forms.DialogResult.OK))
                            {
                                this.Right_XtraTabControl.SelectedTabPageIndex = 0;
                                return false;

                            }
                        }
                        else if (d_values == "")
                        {
                            RisSetup_Class.WriteINI_Oracle(CurReportForm.CurPatexam.dep, "diseasetype_show", "no");
                        }
                    }
                }
                //  FillClassByInputXML();
                if (d_template_diag == "")
                {
                    ShowErr_Form d_form = new ShowErr_Form("诊断描述未填", "错误");
                    d_form.ShowDialog();
                    return false;
                }
                //else if (d_template_diag.Length > 2000)
                //{              
                //    ShowErr_Form d_form = new ShowErr_Form("诊断描述字符长度过长", "错误");
                //    d_form.ShowDialog();
                //    return false;
                //}
                if (d_template_describle == "")
                {
                    ShowErr_Form d_form = new ShowErr_Form("诊断结果未填", "错误");
                    d_form.ShowDialog();
                    return false;
                }
                //else if (d_template_describle.Length > 2000)
                //{
                //    Public_Class.ShowErr_Form("诊断结果字符长度过长", "错误");
                //    return false;
                //}
                else if ((p_tempflag == true) && (d_template_describle.IndexOf("左") > -1) && (d_template_describle.IndexOf("右") > -1))
                {
                    ShowErr_Form d_form = new ShowErr_Form("报告中含有左右描述,请确认是否正确?", "是", "否");
                    if (d_form.ShowDialog() != System.Windows.Forms.DialogResult.OK)
                    {
                        return false;
                    }
                }
                if (p_tempflag == true)
                {
                    ValueValidateResultList list = (ValueValidateResultList)CurReportForm.ReturnExecuteCommand("DocumentValueValidate", false, null);
                    if (list != null && list.Count > 0)
                    {                    // 校验不成功
                        StringBuilder str = new StringBuilder();
                        foreach (ValueValidateResult item in list)
                        {
                            if (str.Length > 0)
                            {
                                str.Append(Environment.NewLine);
                            }
                            str.Append(item.Element.ID + ":" + item.Message);
                        }
                        ShowErr_Form d_form = new ShowErr_Form(str.ToString() + "是否继续?", "是", "否");
                        if (d_form.ShowDialog() != System.Windows.Forms.DialogResult.OK)
                        {
                            return false;
                        }
                    }
                }


                CurReportForm.CurPatexam.diseasetype = d_disease;
                CurReportForm.CurPatexam.reportdisease = d_reportdisease;

                ////DataSet ds = Setup_Dict.setup_item_dic_dmb_Class.GetITEM("XRAY", "", CurReportForm.CurPatregister.Sex + "性错误纠正", "");
                ////if (ds != null)
                ////{
                ////    if (ds.Tables.Count > 0)
                ////    {
                ////        if (ds.Tables[0].Rows.Count > 0)
                ////        {
                ////            for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                ////            {
                ////                string d_item = ds.Tables[0].Rows[i]["item"].ToString().Trim();
                ////                if (d_template_describle.IndexOf(d_item) > -1)
                ////                {
                ////                    if (Public_Class.ShowErr_Form("该患者性别为" + CurReportForm.CurPatregister.Sex + "性,报告描述中存在" + d_item + "描述,请确认是否正确?", "是", "否") != System.Windows.Forms.DialogResult.OK)
                ////                    {
                ////                        return false;
                ////                    }
                ////                }
                ////                else if (d_template_diag.IndexOf(d_item) > -1)
                ////                {

                ////                    if (Public_Class.ShowErr_Form("该患者性别为" + CurReportForm.CurPatregister.Sex + "性,诊断提示中存在" + d_item + "诊断,请确认是否正确?", "是", "否") != System.Windows.Forms.DialogResult.OK)
                ////                    {
                ////                        return false;
                ////                    }
                ////                }
                ////            }
                ////        }
                ////    }
                ////}
            }

            catch
            {
                return false;
            }

            return true;

        }
 public BaseReport_Form(patexam_Class p_Patexam)
 {
     InitializeComponent();
     clsPatexam = p_Patexam;
     clsPatregister = new patregister_Class(p_Patexam.accessno);
 }
 //'得到模板内容
 public virtual void getTemplateContent(ref string p_template_diag, ref string p_template_describle, ref patexam_Class p_patexam)
 {
 }
 public BaseReport_Form(string p_accessno)
 {
     InitializeComponent();
     clsPatexam = new patexam_Class(p_accessno);
     clsPatregister = new patregister_Class(p_accessno);
 }
 public virtual void ReBulid(string p_accessno)
 {
     clsPatexam = new patexam_Class(p_accessno);
     clsPatregister = new patregister_Class(p_accessno);
 }
 public override void OpenPacsImage()
 {
     base.OpenPacsImage();
     string p_OpenPacsType = RisSetup_Class.GetINI("setup", "OpenPacsType");
     patexam_Class d_patexam = new patexam_Class();
     //if (Report_XtraTabControl.SelectedTabPage == xtraTabPage2)
     //{
     //    d_patexam = new patexam_Class(clshistoryAccessno);
     //}
     //else
     d_patexam = CurPatexam;
     string d_Modality = d_patexam.modality;
     if (d_patexam.modality.Length > 2)
         d_Modality = d_patexam.modality.Substring(0, 2);
     if (p_OpenPacsType == "PIVIEW")
     {
         Share_Class.ShowPiviewPacsPicture(d_patexam.xno, d_patexam.Patient_id, d_patexam.accessno, d_Modality);
     }
     else
     {
         Share_Class.ShowPacsPicture(d_patexam.xno, d_patexam.Patient_id, CurPatregister.Match_Accessno, d_Modality);
     }
 }
 public report_rewrite_form(patexam_Class d_patexam)
 {
     InitializeComponent();
     CurReport_rewrite = new report_rewrite_Class(d_patexam);
 }
        private void FillClassByInputXML(ref patexam_Class p_Patexam, ref patregister_Class p_PatRegister)
        {

            myEditControl.ExecuteCommand("UpdateDataSourceForView", false, null);
            string d_xmltext = (string)myEditControl.ExecuteCommand("ViewXMLSource", false, null);
            p_Patexam = (patexam_Class)myEditControl.GetDocumnetParameterValue("patexam");
            p_PatRegister = (patregister_Class)myEditControl.GetDocumnetParameterValue("patregister");
            //CurPatReport.xmltext = d_xmltext;
            try
            {
                XTextTableElement reportinfotable = (XTextTableElement)myEditControl.GetElementById("reportinfotable");
                try
                {
                    XTextTableCellElement d_cell = reportinfotable.GetCell(0, 0, true);
                    CurPatexam.reportinfo = d_cell.Text;

                }
                catch { }
                XTextTableElement reportendtable = (XTextTableElement)myEditControl.GetElementById("reportendtable");
                try
                {
                    XTextTableCellElement d_cell = reportendtable.GetCell(0, 0, true);
                    CurPatexam.reportend = d_cell.Text;
                    //d_cell.ContentBuilder.AppendText(CurPatexam.reportend);
                }
                catch { }
                //string d_reportdisease = "";
                //for (int i = 0; i < reportdisease_CheckedListBoxControl.Items.Count; i++)
                //{
                //    if (reportdisease_CheckedListBoxControl.Items[i].CheckState == CheckState.Checked)
                //        d_reportdisease += reportdisease_CheckedListBoxControl.Items[i].Value.ToString().Trim() + ",";
                //}
                //if (d_reportdisease != "")
                //    d_reportdisease = d_reportdisease.TrimEnd(new char[] { ',' });
                //p_Patexam.reportdisease = d_reportdisease;
                //string d_disease = "";
                //for (int i = 0; i < diseasetype_CheckedListBoxControl.Items.Count; i++)
                //{
                //    if (diseasetype_CheckedListBoxControl.Items[i].CheckState == CheckState.Checked)
                //        d_disease += diseasetype_CheckedListBoxControl.Items[i].Value.ToString().Trim() + ",";
                //}
                //if (d_disease != "")
                //    d_disease = d_disease.TrimEnd(new char[] { ',' });
                //p_Patexam.diseasetype = d_disease;
            }
            catch { }
        }
 public override void getTemplateContent(ref string p_template_diag, ref string p_template_describle, ref patexam_Class p_patexam)
 {
     patregister_Class d_patregistr = new patregister_Class();
     FillClassByInputXML(ref p_patexam, ref d_patregistr);
     p_template_diag = p_patexam.reportend;
     p_template_describle = p_patexam.reportinfo;
 }
        public override void getTemplateContent(ref string p_template_diag, ref string p_template_describle, ref string p_template_part, ref string p_dep)
        {
            patregister_Class d_patregistr = new patregister_Class();
            patexam_Class p_patexam = new patexam_Class();
            FillClassByInputXML(ref p_patexam, ref d_patregistr);
            p_template_diag = p_patexam.reportend;
            p_template_describle = p_patexam.reportinfo;
            p_template_part = p_patexam.checkpos;
            //string d_reportdisease = this.ICD_10_ComboBoxEdit.Text.Trim();
            //if (d_reportdisease == "")
            //{
            //    for (int i = 0; i < reportdisease_CheckedListBoxControl.Items.Count; i++)
            //    {
            //        if (reportdisease_CheckedListBoxControl.Items[i].CheckState == CheckState.Checked)
            //            d_reportdisease += reportdisease_CheckedListBoxControl.Items[i].Value.ToString().Trim() + ",";
            //    }
            //    if (d_reportdisease != "")
            //        d_reportdisease = d_reportdisease.TrimEnd(new char[] { ',' });
            //}

            //p_patexam.reportdisease = d_reportdisease;
            //string d_disease = diseasetype_ComboBoxEdit.Text.Trim();
            //if (d_disease == "")
            //{
            //    for (int i = 0; i < diseasetype_CheckedListBoxControl.Items.Count; i++)
            //    {
            //        if (diseasetype_CheckedListBoxControl.Items[i].CheckState == CheckState.Checked)
            //            d_disease += diseasetype_CheckedListBoxControl.Items[i].Value.ToString().Trim() + ",";
            //    }
            //    if (d_disease != "")
            //        d_disease = d_disease.TrimEnd(new char[] { ',' });
            //}
            //p_patexam.diseasetype = d_disease;
        }
 public Consult_request_form(patexam_Class d_patexam)
 {
     InitializeComponent();
     CurPatexam = d_patexam;
     FillInputByClass();
 }
        public override bool Save()
        {
            //if (CurPatexam.dep != "DG")
            //{
            //    if (SaveQc_radiology("书写评价") == false)
            //        return false;

            //}
            //else
            //{
            //    SaveBitmap();
            //}
            patregister_Class d_patregistr = new patregister_Class();
            patexam_Class d_patexam = new patexam_Class();
            FillClassByInputXML(ref d_patexam, ref d_patregistr);
            d_patexam.advancedoc = "";
            d_patexam.advancedoc_code = "";
            d_patexam.reportdoc = Share_Class.User.user_id;
            d_patexam.reportdoc_code = Share_Class.User.doctor_code;
            myEditControl.SetDocumentParameterValue("patexam", d_patexam);
            myEditControl.ExecuteCommand("UpdateViewForDataSource", false, null);

            d_patexam.Save_Report();
            base.ReBulid(d_patexam.accessno);
            ShowDoctorImage();
            SaveXmlFile();
            myEditControl.DocumentOptions.ViewOptions.FieldTextColor = Color.Black;
            myEditControl.ExecuteCommand("FileSaveAs", false, Share_Class.Dir + @"\xml\" + CurPatexam.checkdate.Date.ToString("yyyyMMdd") + @"\" + CurPatexam.accessno + ".xml");
            return true;
        }
 public ShowPic_Form(string p_accessno)
 {
     InitializeComponent();
     CurPatexam = new patexam_Class(p_accessno);
 }
        private void FillApplyByClass()
        {
            patexam_Class ApplyPatexam = new patexam_Class(CurPatexam.accessno);
            patregister_Class ApplyPatRegister = new patregister_Class(CurPatexam.accessno);
            if ((ApplyPatexam.dep == "US") || (ApplyPatexam.dep == "DG") || (ApplyPatexam.dep == "ES") || (ApplyPatexam.dep == "内窥镜"))
            {
                FTP_image_simpleButton.Visible = true;
            }
            else
                FTP_image_simpleButton.Visible = false;
            Image d_image = null;
            //if (ApplyPatexam.picture_path.Trim() != "")
            //{
            //    ApplyImage_Class d_applyimage = new ApplyImage_Class();
            //    d_image = d_applyimage.GetImage(ApplyPatexam.picture_path);
            //}
            if (d_image != null)
            {//图像
                apply_writerControl.ExecuteCommand(StandardCommandNames.FileNew, false, null);
                XTextImageElement imgElement = new XTextImageElement();
                imgElement.ImageValue = d_image;
                string d_GetValue = RisSetup_Class.GetINI("setup", "ApplyImageBig");
                float d_ApplyImageBig = 1;
                try
                {
                    if (d_GetValue != "")
                    {
                        d_ApplyImageBig = Convert.ToSingle(d_GetValue);
                    }
                }
                catch { d_ApplyImageBig = 1; }
                imgElement.Width = d_image.Width * d_ApplyImageBig;
                imgElement.Height = d_image.Height * d_ApplyImageBig;
                apply_writerControl.ExecuteCommand(StandardCommandNames.InsertImage, false, imgElement);

            }
            else
            {
                //DataTable dt = new DataTable();
                //dt = ReportStyle_Class.GetApplyStyle();
                //if (dt != null)
                //{
                //    ReportStyle_Class d_style = new ReportStyle_Class(dt.Rows[0]);
                //    if (d_style.xmltext != "")
                //        apply_writerControl.LoadDocumentFromString(d_style.xmltext, "xml");
                //    else
                //    {
                //        string fileName = "";
                //        fileName = Share_Class.Dir + @"\xml\Apply.xml";
                //        apply_writerControl.ExecuteCommand("FileOpen", false, fileName);
                //    }
                //}
                //else
                //{
                string fileName = "";
                fileName = Share_Class.Dir + @"\xmlStyle\Apply.xml";
                apply_writerControl.ExecuteCommand("FileOpen", false, fileName);
                //}

                string d_ReportType = "检查申请单";
                apply_writerControl.SetDocumentParameterValue("hospitalname", Share_Class.hospital_name);
                apply_writerControl.SetDocumentParameterValue("ReportType", d_ReportType);
                apply_writerControl.SetDocumentParameterValue("patexam", ApplyPatexam);
                apply_writerControl.SetDocumentParameterValue("patregister", ApplyPatRegister);
                apply_writerControl.ExecuteCommand("UpdateViewForDataSource", false, null);

            }
        }
 public BaseReport_Form()
 {
     InitializeComponent();
     clsPatexam = new patexam_Class();
     clsPatregister = new patregister_Class();
 }
 public Report_RIS_Form(patexam_Class p_Patexam)
     : base(p_Patexam)
 {
     InitializeComponent();
     FillInputByClass();
 }