Пример #1
0
        private void btn_sales_Click(object sender, EventArgs e)
        {
            CreditDetail detail = new CreditDetail();

            detail.lbl_from.Text = dtp_from.Text;
            detail.lbl_to.Text   = lbl_to.Text;
            detail.Show();
        }
Пример #2
0
        private void btn_view_Click(object sender, EventArgs e)
        {
            CreditDetail detail = new CreditDetail();

            detail.lbl_credit_amount.Text = lbl_total.Text;
            detail.lbl_paid.Text          = lbl_pay.Text;
            detail.lbl_customer_name.Text = dataGridView1.CurrentRow.Cells["col_customername"].Value.ToString();
            detail.lbl_customer_id.Text   = (lbl_id.Text);
            detail.Show();
        }