예제 #1
0
        private void BtnGeneratePDF_Click(object sender, EventArgs e)
        {
            InvoiceParameter.SalesId = "";
            PrintOrderForm printOrderForm = new PrintOrderForm();

            printOrderForm.Show();
        }
예제 #2
0
        private void Dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewRow row     = dgv.Rows[e.RowIndex];
            string          salesId = row.Cells[0].Value.ToString();

            InvoiceParameter.SalesId = salesId;
            PrintOrderForm printOrderForm = new PrintOrderForm();

            printOrderForm.Show();
        }