Example #1
0
        /// <summary>
        /// 选择打印机打印

        /// </summary>
        /// <param name="DW">数据窗口</param>
        /// <param name="ShowPrintDialog">True 显示打印对话窗口 False 不显示打印对话窗口</param>
        public void ChoosePrintDialog(Sybase.DataWindow.DataWindowControl DW, bool ShowPrintDialog)
        {
            PrintDialog pDiag = new PrintDialog();

            pDiag.UseEXDialog    = true;
            pDiag.AllowSomePages = true;
            if (pDiag.ShowDialog() == DialogResult.OK)
            {
                DW.PrintProperties.PrinterName = pDiag.PrinterSettings.PrinterName;

                if (pDiag.PrinterSettings.PrintRange == System.Drawing.Printing.PrintRange.SomePages)
                {
                    DW.PrintProperties.PageRange = pDiag.PrinterSettings.FromPage.ToString() + "-" + pDiag.PrinterSettings.ToPage.ToString();
                }
                try
                {
                    DW.Print(ShowPrintDialog);
                }
                catch (Exception e)
                {
                    MessageBox.Show(e.ToString());
                }
            }
            pDiag = null;
        }
Example #2
0
        /// <summary>
        /// 选择打印机打印

        /// </summary>
        /// <param name="DW">数据窗口</param>
        /// <param name="ShowPrintDialog">True 显示打印对话窗口 False 不显示打印对话窗口</param>
        public void ChoosePrintDialog(Sybase.DataWindow.DataWindowControl DW, bool ShowPrintDialog)
        {
            PrintDialog pDiag = new PrintDialog();

            pDiag.UseEXDialog      = true;
            pDiag.AllowSomePages   = true;
            pDiag.AllowCurrentPage = true;
            if (pDiag.ShowDialog() == DialogResult.OK)
            {
                DW.PrintProperties.PrinterName = pDiag.PrinterSettings.PrinterName;

                if (pDiag.PrinterSettings.PrintRange == System.Drawing.Printing.PrintRange.SomePages)
                {
                    DW.PrintProperties.PageRange = pDiag.PrinterSettings.FromPage.ToString() + "-" + pDiag.PrinterSettings.ToPage.ToString();
                }
                else if (pDiag.PrinterSettings.PrintRange == System.Drawing.Printing.PrintRange.CurrentPage)
                {
                    int    intRow  = DW.FirstRowOnPage;
                    string strTemp = DW.Describe("evaluate('pageabs()'," + intRow.ToString() + ")");
                    DW.PrintProperties.PageRange = strTemp;
                }

                DW.Print(ShowPrintDialog);
            }
            pDiag = null;
        }
Example #3
0
        /// <summary>
        /// 初始化报表
        /// </summary>
        /// <param name="dw"></param>
        public void m_mthInitRpt(Sybase.DataWindow.DataWindowControl dw)
        {
            dw.LibraryList      = System.Windows.Forms.Application.StartupPath + "\\PB_OP.pbl";
            dw.DataWindowObject = "d_op_invoicereceipt";
            dw.InsertRow(0);
            string strDate = DateTime.Today.ToString("yyyy-MM-dd");

            this.m_objViewer.m_dwShow.Modify("t_yy.text = '" + strDate.Substring(0, 4) + "'");
            this.m_objViewer.m_dwShow.Modify("t_mm.text = '" + strDate.Substring(5, 2) + "'");
            this.m_objViewer.m_dwShow.Modify("t_dd.text = '" + strDate.Substring(8, 2) + "'");
            this.m_objViewer.m_dwShow.Modify("t_cn.text = '" + this.m_objViewer.LoginInfo.m_strEmpName + "'");
        }
Example #4
0
        /// <summary>
        /// 取消掉其他列的排序符号
        /// </summary>
        /// <param name="dwControl">当前数据窗口</param>
        private void DeleleSortFlag(Sybase.DataWindow.DataWindowControl dwControl)
        {
            string columnName = string.Empty;

            try
            {
                for (int i = 1; i < dwControl.ColumnCount + 1; i++)
                {
                    columnName = dwControl.Describe('#' + i.ToString() + ".name") + "_t";

                    //dwControl.Modify(columnName + ".text = '" + this.dwMain.Describe(columnName + ".text").Replace("↑", string.Empty) + "'");
                    //dwControl.Modify(columnName + ".text = '" + this.dwMain.Describe(columnName + ".text").Replace("↓", string.Empty) + "'");
                }
            }
            catch { }
        }
Example #5
0
        /// <summary>
        /// 排序的方法
        /// </summary>
        /// <param name="dwControl">当前数据窗</param>
        /// <param name="currColumn">当前列</param>
        /// <param name="sortType">排序类型</param>
        /// <returns>成功 true 失败 false</returns>
        private bool DataWindowSort(Sybase.DataWindow.DataWindowControl dwControl, string currColumn, string sortType)
        {
            try
            {
                //排序
                dwControl.SetSort(currColumn + " " + sortType);
                dwControl.Sort();

                //创建升序的箭头图形

                DeleleSortFlag(dwControl);

                switch (sortType)
                {
                case "A":

                    dwControl.Modify(currColumn + "_t" + ".text = '" + this.dwMain.Describe(currColumn + "_t" + ".text") + "↑'");

                    break;

                case "D":
                    dwControl.Modify(currColumn + "_t" + ".text = '" + this.dwMain.Describe(currColumn + "_t" + ".text") + "↓'");

                    break;
                }

                return(true);
            }
            catch
            {
                return(false);
            }

            finally
            {
            }
        }
Example #6
0
        /// <summary>
        /// DataWindow预览打印
        /// </summary>
        /// <param name="DW"></param>
        /// <param name="BlnChoosePrinter"></param>
        public static void PrintDialog(Sybase.DataWindow.DataWindowControl DW, bool BlnChoosePrinter, ArrayList OnlyPriviewCtlArr)
        {
            frmPrint PrintDialog = new frmPrint(DW, BlnChoosePrinter, OnlyPriviewCtlArr);

            PrintDialog.ShowDialog();
        }
Example #7
0
        /// <summary>
        /// DataWindow预览打印
        /// </summary>
        /// <param name="DW"></param>
        public static void PrintDialog(Sybase.DataWindow.DataWindowControl DW)
        {
            frmPrint PrintDialog = new frmPrint(DW);

            PrintDialog.ShowDialog();
        }
Example #8
0
        /// <summary>
        /// 数据窗口DataWindow/DataStore导出成HTML,再转成EXCEL
        /// </summary>
        /// <param name="DW"></param>
        /// <param name="volExcel"></param>
        public static void ExportDataWindow(Sybase.DataWindow.DataWindowControl DW, clsVolDatawindowToExcel[] volExcel)
        {
            SaveFileDialog FD = new SaveFileDialog();

            FD.Filter = "Excel 文档|*.xls";
            FD.Title  = "导出";
            FD.ShowDialog();
            string filename = FD.FileName.Trim();

            if (filename != "")
            {
                DW.SaveAs(filename, Sybase.DataWindow.FileSaveAsType.HtmlTable, false, Sybase.DataWindow.FileSaveAsEncoding.Utf8);
                if (volExcel != null)
                {
                    //定义
                    object MissingValue = Type.Missing;

                    Excel.Application Excel_app = new Excel.ApplicationClass();
                    //打开Excel文挡
                    Excel.Workbook Excel_work = Excel_app.Workbooks.Open(filename, MissingValue,
                                                                         MissingValue, MissingValue, MissingValue,
                                                                         MissingValue, MissingValue, MissingValue,
                                                                         MissingValue, MissingValue, MissingValue,
                                                                         MissingValue, MissingValue, MissingValue,
                                                                         MissingValue);
                    //获取当前工作列表
                    Excel.Worksheet mySheet = (Excel.Worksheet)Excel_work.Worksheets[1];

                    for (int i = volExcel.Length - 1; i >= 0; i--)
                    {
                        Excel.Range range = null;
                        range = (Excel.Range)mySheet.Rows.get_Item(1, Type.Missing);
                        //在顶行插入空行

                        range.Rows.Insert(Excel.XlInsertShiftDirection.xlShiftDown, Type.Missing);
                        for (int j = 0; j < volExcel[i].m_title_text.Length; j++)
                        {
                            //合并行

                            if (volExcel[i].m_endcommn[j] == "ALL")
                            {
                                range = mySheet.get_Range(volExcel[i].m_firstcommn[j], mySheet.Cells[1, mySheet.UsedRange.Columns.Count]);
                            }
                            else
                            {
                                range = mySheet.get_Range(volExcel[i].m_firstcommn[j], volExcel[i].m_endcommn[j]);
                            }
                            range.Merge(MissingValue);

                            range.Value2 = volExcel[i].m_title_text[j];
                            if (volExcel[i].m_HorizontalAlignment[j] == "0")
                            {
                                range.HorizontalAlignment = Excel.XlHAlign.xlHAlignCenter;
                            }
                            else if (volExcel[i].m_HorizontalAlignment[j] == "L")
                            {
                                range.HorizontalAlignment = Excel.XlHAlign.xlHAlignLeft;
                            }
                            else
                            {
                                range.HorizontalAlignment = Excel.XlHAlign.xlHAlignRight;
                            }
                            range.RowHeight = volExcel[i].m_rowheight[j];
                        }
                    }

                    mySheet.UsedRange.Rows.Borders.LineStyle = Excel.XlLineStyle.xlContinuous;
                    mySheet = null;
                    Excel_app.ActiveWorkbook.Close(true, filename.ToString(), null);
                    Excel_app.Workbooks.Close();
                    Excel_app.Quit();
                    Excel_app = null;
                }
            }
        }
Example #9
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMedicineProtectReport));
     this.m_btnQulReg     = new PinkieControls.ButtonXP();
     this.m_daFinDate     = new System.Windows.Forms.DateTimePicker();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.m_btnExit       = new PinkieControls.ButtonXP();
     this.m_daFinDateLast = new System.Windows.Forms.DateTimePicker();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.dw         = new Sybase.DataWindow.DataWindowControl();
     this.btnPrint   = new PinkieControls.ButtonXP();
     this.btnPreview = new PinkieControls.ButtonXP();
     this.btnExport  = new PinkieControls.ButtonXP();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // m_btnQulReg
     //
     this.m_btnQulReg.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_btnQulReg.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnQulReg.DefaultScheme = true;
     this.m_btnQulReg.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnQulReg.Hint          = "";
     this.m_btnQulReg.Location      = new System.Drawing.Point(409, 16);
     this.m_btnQulReg.Name          = "m_btnQulReg";
     this.m_btnQulReg.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnQulReg.Size          = new System.Drawing.Size(88, 32);
     this.m_btnQulReg.TabIndex      = 3;
     this.m_btnQulReg.Text          = "查询(F5)";
     this.m_btnQulReg.Click        += new System.EventHandler(this.m_btnQulReg_Click);
     //
     // m_daFinDate
     //
     this.m_daFinDate.Location = new System.Drawing.Point(100, 20);
     this.m_daFinDate.Name     = "m_daFinDate";
     this.m_daFinDate.Size     = new System.Drawing.Size(128, 23);
     this.m_daFinDate.TabIndex = 1;
     this.m_daFinDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.m_daFinDate_KeyDown);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.btnExport);
     this.groupBox1.Controls.Add(this.btnPreview);
     this.groupBox1.Controls.Add(this.btnPrint);
     this.groupBox1.Controls.Add(this.m_btnExit);
     this.groupBox1.Controls.Add(this.m_daFinDateLast);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.m_btnQulReg);
     this.groupBox1.Controls.Add(this.m_daFinDate);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.Location = new System.Drawing.Point(0, 0);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(885, 56);
     this.groupBox1.TabIndex = 61;
     this.groupBox1.TabStop  = false;
     //
     // m_btnExit
     //
     this.m_btnExit.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_btnExit.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.m_btnExit.DefaultScheme = true;
     this.m_btnExit.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.m_btnExit.Hint          = "";
     this.m_btnExit.Location      = new System.Drawing.Point(789, 16);
     this.m_btnExit.Name          = "m_btnExit";
     this.m_btnExit.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.m_btnExit.Size          = new System.Drawing.Size(88, 32);
     this.m_btnExit.TabIndex      = 65;
     this.m_btnExit.Text          = "退出(Esc)";
     this.m_btnExit.Click        += new System.EventHandler(this.m_btnExit_Click);
     //
     // m_daFinDateLast
     //
     this.m_daFinDateLast.Location = new System.Drawing.Point(272, 20);
     this.m_daFinDateLast.Name     = "m_daFinDateLast";
     this.m_daFinDateLast.Size     = new System.Drawing.Size(128, 23);
     this.m_daFinDateLast.TabIndex = 2;
     this.m_daFinDateLast.KeyDown += new System.Windows.Forms.KeyEventHandler(this.m_daFinDateLast_KeyDown);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(240, 24);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(21, 14);
     this.label1.TabIndex  = 64;
     this.label1.Text      = "至";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Location  = new System.Drawing.Point(16, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(70, 14);
     this.label2.TabIndex  = 63;
     this.label2.Text      = "统计日期:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dw
     //
     this.dw.DataWindowObject = "";
     this.dw.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.dw.LibraryList      = "";
     this.dw.Location         = new System.Drawing.Point(0, 56);
     this.dw.Name             = "dw";
     this.dw.Size             = new System.Drawing.Size(885, 461);
     this.dw.TabIndex         = 60;
     this.dw.Text             = "dataWindowControl1";
     //
     // btnPrint
     //
     this.btnPrint.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.btnPrint.DefaultScheme = true;
     this.btnPrint.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btnPrint.Hint          = "";
     this.btnPrint.Location      = new System.Drawing.Point(504, 16);
     this.btnPrint.Name          = "btnPrint";
     this.btnPrint.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.btnPrint.Size          = new System.Drawing.Size(88, 32);
     this.btnPrint.TabIndex      = 66;
     this.btnPrint.Text          = "打印(&P)";
     this.btnPrint.Click        += new System.EventHandler(this.btnPrint_Click);
     //
     // btnPreview
     //
     this.btnPreview.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPreview.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.btnPreview.DefaultScheme = true;
     this.btnPreview.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btnPreview.Hint          = "";
     this.btnPreview.Location      = new System.Drawing.Point(599, 16);
     this.btnPreview.Name          = "btnPreview";
     this.btnPreview.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.btnPreview.Size          = new System.Drawing.Size(88, 32);
     this.btnPreview.TabIndex      = 67;
     this.btnPreview.Text          = "预览(&V)";
     this.btnPreview.Click        += new System.EventHandler(this.btnPreview_Click);
     //
     // btnExport
     //
     this.btnExport.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnExport.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.btnExport.DefaultScheme = true;
     this.btnExport.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btnExport.Hint          = "";
     this.btnExport.Location      = new System.Drawing.Point(694, 16);
     this.btnExport.Name          = "btnExport";
     this.btnExport.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.btnExport.Size          = new System.Drawing.Size(88, 32);
     this.btnExport.TabIndex      = 68;
     this.btnExport.Text          = "导出(&E)";
     this.btnExport.Click        += new System.EventHandler(this.btnExport_Click);
     //
     // frmMedicineProtectReport
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(885, 517);
     this.Controls.Add(this.dw);
     this.Controls.Add(this.groupBox1);
     this.Font       = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "frmMedicineProtectReport";
     this.Text       = "医保月结算表";
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.frmMedicineProtectReport_KeyDown);
     this.Load      += new System.EventHandler(this.frmMedicineProtectReport_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
 }
Example #10
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOPInvoiceReturn));
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.cmbFind          = new System.Windows.Forms.ComboBox();
     this.lbeAuding        = new System.Windows.Forms.Label();
     this.buttonXP1        = new PinkieControls.ButtonXP();
     this.txtInvoice       = new com.digitalwave.controls.exTextBox();
     this.txtCardID        = new com.digitalwave.controls.exTextBox();
     this.label5           = new System.Windows.Forms.Label();
     this.cmdReturn        = new PinkieControls.ButtonXP();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.tabInfo          = new System.Windows.Forms.TabControl();
     this.tabPage1         = new System.Windows.Forms.TabPage();
     this.dwInvoice        = new Sybase.DataWindow.DataWindowControl();
     this.listView1        = new System.Windows.Forms.ListView();
     this.columnHeader1    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader9    = new System.Windows.Forms.ColumnHeader();
     this.m_repInvoiceInfo = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
     this.tabPage2         = new System.Windows.Forms.TabPage();
     this.m_lstItemsInfo   = new System.Windows.Forms.ListView();
     this.columnHeader2    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader5    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader6    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader7    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader8    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader10   = new System.Windows.Forms.ColumnHeader();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.tabInfo.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cmbFind);
     this.groupBox1.Controls.Add(this.lbeAuding);
     this.groupBox1.Controls.Add(this.buttonXP1);
     this.groupBox1.Controls.Add(this.txtInvoice);
     this.groupBox1.Controls.Add(this.txtCardID);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.cmdReturn);
     this.groupBox1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.ForeColor = System.Drawing.SystemColors.Highlight;
     this.groupBox1.Location  = new System.Drawing.Point(0, 0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(992, 64);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "项目信息";
     //
     // cmbFind
     //
     this.cmbFind.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbFind.Items.AddRange(new object[] {
         "卡  号",
         "物理发票号"
     });
     this.cmbFind.Location = new System.Drawing.Point(16, 24);
     this.cmbFind.Name     = "cmbFind";
     this.cmbFind.Size     = new System.Drawing.Size(104, 22);
     this.cmbFind.TabIndex = 26;
     //
     // lbeAuding
     //
     this.lbeAuding.AutoSize  = true;
     this.lbeAuding.ForeColor = System.Drawing.Color.Red;
     this.lbeAuding.Location  = new System.Drawing.Point(520, 29);
     this.lbeAuding.Name      = "lbeAuding";
     this.lbeAuding.Size      = new System.Drawing.Size(0, 14);
     this.lbeAuding.TabIndex  = 25;
     //
     // buttonXP1
     //
     this.buttonXP1.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     this.buttonXP1.DefaultScheme = true;
     this.buttonXP1.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.buttonXP1.Hint          = "";
     this.buttonXP1.Location      = new System.Drawing.Point(832, 20);
     this.buttonXP1.Name          = "buttonXP1";
     this.buttonXP1.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.buttonXP1.Size          = new System.Drawing.Size(128, 32);
     this.buttonXP1.TabIndex      = 15;
     this.buttonXP1.Text          = "审 核 发 票[&D]";
     this.buttonXP1.Click        += new System.EventHandler(this.buttonXP1_Click);
     //
     // txtInvoice
     //
     this.txtInvoice.Location      = new System.Drawing.Point(360, 24);
     this.txtInvoice.MaxLength     = 18;
     this.txtInvoice.Name          = "txtInvoice";
     this.txtInvoice.SendTabKey    = false;
     this.txtInvoice.SetFocusColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.txtInvoice.Size          = new System.Drawing.Size(144, 23);
     this.txtInvoice.TabIndex      = 1;
     this.txtInvoice.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.txtInvoice_KeyDown);
     this.txtInvoice.Enter        += new System.EventHandler(this.txtInvoice_Enter);
     //
     // txtCardID
     //
     this.txtCardID.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtCardID.Location        = new System.Drawing.Point(128, 24);
     this.txtCardID.MaxLength       = 20;
     this.txtCardID.Name            = "txtCardID";
     this.txtCardID.SendTabKey      = false;
     this.txtCardID.SetFocusColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     this.txtCardID.Size            = new System.Drawing.Size(144, 23);
     this.txtCardID.TabIndex        = 0;
     this.txtCardID.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.txtCardID_KeyDown);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(280, 27);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(84, 14);
     this.label5.TabIndex = 14;
     this.label5.Text     = "系统发票号:";
     //
     // cmdReturn
     //
     this.cmdReturn.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     this.cmdReturn.DefaultScheme = true;
     this.cmdReturn.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.cmdReturn.Hint          = "";
     this.cmdReturn.Location      = new System.Drawing.Point(688, 20);
     this.cmdReturn.Name          = "cmdReturn";
     this.cmdReturn.Scheme        = PinkieControls.ButtonXP.Schemes.Blue;
     this.cmdReturn.Size          = new System.Drawing.Size(128, 32);
     this.cmdReturn.TabIndex      = 2;
     this.cmdReturn.Text          = "退 回 发 票[F5]";
     this.cmdReturn.Click        += new System.EventHandler(this.cmdReturn_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.tabInfo);
     this.groupBox2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.ForeColor = System.Drawing.SystemColors.Highlight;
     this.groupBox2.Location  = new System.Drawing.Point(0, 64);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(992, 477);
     this.groupBox2.TabIndex  = 1;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "项目信息";
     //
     // tabInfo
     //
     this.tabInfo.Controls.Add(this.tabPage1);
     this.tabInfo.Controls.Add(this.tabPage2);
     this.tabInfo.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabInfo.Location      = new System.Drawing.Point(3, 19);
     this.tabInfo.Name          = "tabInfo";
     this.tabInfo.SelectedIndex = 0;
     this.tabInfo.Size          = new System.Drawing.Size(986, 455);
     this.tabInfo.TabIndex      = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.dwInvoice);
     this.tabPage1.Controls.Add(this.listView1);
     this.tabPage1.Controls.Add(this.m_repInvoiceInfo);
     this.tabPage1.Location = new System.Drawing.Point(4, 24);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(978, 427);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "发票信息[F2]";
     //
     // dwInvoice
     //
     this.dwInvoice.DataWindowObject = "";
     this.dwInvoice.LibraryList      = "";
     this.dwInvoice.Location         = new System.Drawing.Point(9, 3);
     this.dwInvoice.Name             = "dwInvoice";
     this.dwInvoice.Size             = new System.Drawing.Size(964, 400);
     this.dwInvoice.TabIndex         = 20;
     this.dwInvoice.Text             = "dataWindowControl1";
     //
     // listView1
     //
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader9,
         this.columnHeader10
     });
     this.listView1.FullRowSelect = true;
     this.listView1.GridLines     = true;
     this.listView1.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.listView1.Location      = new System.Drawing.Point(208, 56);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(420, 152);
     this.listView1.TabIndex      = 18;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View         = System.Windows.Forms.View.Details;
     this.listView1.Visible      = false;
     this.listView1.DoubleClick += new System.EventHandler(this.listView1_DoubleClick);
     this.listView1.Leave       += new System.EventHandler(this.listView1_Leave);
     this.listView1.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.listView1_KeyDown);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "发票号";
     this.columnHeader1.Width = 109;
     //
     // columnHeader9
     //
     this.columnHeader9.Text  = "系统号";
     this.columnHeader9.Width = 160;
     //
     // m_repInvoiceInfo
     //
     this.m_repInvoiceInfo.ActiveViewIndex          = -1;
     this.m_repInvoiceInfo.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
     this.m_repInvoiceInfo.DisplayGroupTree         = false;
     this.m_repInvoiceInfo.DisplayStatusBar         = false;
     this.m_repInvoiceInfo.DisplayToolbar           = false;
     this.m_repInvoiceInfo.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.m_repInvoiceInfo.Location                 = new System.Drawing.Point(0, 0);
     this.m_repInvoiceInfo.Name                     = "m_repInvoiceInfo";
     this.m_repInvoiceInfo.SelectionFormula         = "";
     this.m_repInvoiceInfo.Size                     = new System.Drawing.Size(978, 427);
     this.m_repInvoiceInfo.TabIndex                 = 19;
     this.m_repInvoiceInfo.ViewTimeSelectionFormula = "";
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.m_lstItemsInfo);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(978, 429);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "处方信息[F3]";
     //
     // m_lstItemsInfo
     //
     this.m_lstItemsInfo.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4,
         this.columnHeader5,
         this.columnHeader6,
         this.columnHeader7,
         this.columnHeader8
     });
     this.m_lstItemsInfo.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.m_lstItemsInfo.GridLines = true;
     this.m_lstItemsInfo.Location  = new System.Drawing.Point(0, 0);
     this.m_lstItemsInfo.Name      = "m_lstItemsInfo";
     this.m_lstItemsInfo.Size      = new System.Drawing.Size(978, 429);
     this.m_lstItemsInfo.TabIndex  = 0;
     this.m_lstItemsInfo.UseCompatibleStateImageBehavior = false;
     this.m_lstItemsInfo.View = System.Windows.Forms.View.Details;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "项目名称";
     this.columnHeader2.Width = 165;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "规格";
     this.columnHeader3.Width = 120;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "产地";
     this.columnHeader4.Width = 80;
     //
     // columnHeader5
     //
     this.columnHeader5.Text = "单位";
     //
     // columnHeader6
     //
     this.columnHeader6.Text = "零售价";
     //
     // columnHeader7
     //
     this.columnHeader7.Text = "数量";
     //
     // columnHeader8
     //
     this.columnHeader8.Text  = "医生";
     this.columnHeader8.Width = 70;
     //
     // columnHeader10
     //
     this.columnHeader10.Text  = "重打发票号";
     this.columnHeader10.Width = 110;
     //
     // frmOPInvoiceReturn
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(992, 541);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Font       = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Icon       = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.Name       = "frmOPInvoiceReturn";
     this.Text       = "门诊发票退回";
     this.Load      += new System.EventHandler(this.frmOPInvoiceReturn_Load);
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.frmOPInvoiceReturn_KeyDown);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.tabInfo.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }