Exemplo n.º 1
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            List <string[]> data = new List <string[]>();

            string[] item = new string[] { Invoice.FPLX2Str(this.fplx), this.blueFpdm, this.blueFphm, "0" };
            data.Add(item);
            BaseForm form = null;

            if ((int)this.fplx == 0)
            {
                form = new InvoiceShowForm(false, 0, data);
            }
            else if ((int)this.fplx == 11)
            {
                form = new HYInvoiceForm(false, 0, data);
            }
            if (form != null)
            {
                form.ShowDialog();
            }
        }
Exemplo n.º 2
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            List <string[]> data = new List <string[]>();

            string[] item = new string[] { Invoice.FPLX2Str(this.fplx), this.blueFpdm, this.blueFphm, "0" };
            data.Add(item);
            BaseForm form = null;

            if ((int)this.fplx == 2)
            {
                form = new InvoiceShowForm(false, 0, data);
            }
            else if ((int)this.fplx == 0x33)
            {
                form = new InvoiceShowForm_DZ(false, 0, data);
            }
            else if ((int)this.fplx == 0x29)
            {
                form = new InvoiceShowForm_JS(false, 0, data);
            }
            else if ((int)this.fplx == 12)
            {
                if (this.blueFpxx.isNewJdcfp)
                {
                    form = new JDCInvoiceForm_new(false, 0, data);
                }
                else
                {
                    form = new JDCInvoiceForm_old(false, 0, data);
                }
            }
            if (form != null)
            {
                form.ShowDialog();
            }
        }