Esempio n. 1
0
        private void apply_SimpleButton_Click(object sender, EventArgs e)
        {
            try
            {
                if (CurReportForm.CurPatexam.picture_path.Trim() != "")
                { //'进入显示申请单图片
                    if (CurShowApplyImage_Form == null)
                    {
                        CurShowApplyImage_Form = new ShowApplyImage_Form(CurReportForm.CurPatexam.picture_path, this);
                    }
                    CurShowApplyImage_Form.Show();
                    CurShowApplyImage_Form.Focus();
                }
                else
                {
                    if (CurShowApply_Form == null)
                    {
                        CurShowApply_Form = new ShowApply_Form_old(CurReportForm.CurPatexam, this);
                    }
                    CurShowApply_Form.Show();
                    CurShowApply_Form.Focus();
                }
            }
            catch
            {

            }
        }
        //显示申请单
        private void Apply_SimpleButton_Click(object sender, EventArgs e)
        {
            //apply_writerControl.Visible = apply_writerControl.Visible ^ true;
            try
            {
                if (CurPatexam.picture_path.Trim() != "")
                { //'进入显示申请单图片

                    ShowApplyImage_Form CurShowApplyImage_Form = new ShowApplyImage_Form(CurPatexam.picture_path, "");
                    CurShowApplyImage_Form.ShowDialog();

                }
                else
                {

                    ShowApply_Form_old CurShowApply_Form = new ShowApply_Form_old(CurPatexam, null);

                    CurShowApply_Form.ShowDialog();
                }
            }
            catch
            {

            }
        }