Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Customrt_Payback_Print report = new Customrt_Payback_Print
                                                (l_name.Text, richTextBox1.Text, double.Parse(tb_OldMoney.Text), double.Parse(tb_payment.Text), int.Parse(l_id.Text), type.ToString());

            report.ShowDialog();
        }
 private void cb_kilo_Click(object sender, EventArgs e)
 {
     if (Bill_Type.ToString().Contains("تحويل بنكى") || (Bill_Type.ToString().Contains("تسديد") || Bill_Type.ToString().Contains("خصم")))
     {
         Customrt_Payback_Print report = new Customrt_Payback_Print
                                             (textBox3.Text, richTextBox1.Text, double.Parse(tb_old.Text), double.Parse(tb_pay.Text), int.Parse(label21.Text), Bill_Type.ToString());
         report.ShowDialog();
     }
 }
        private void openPrinter()
        {
            Customrt_Payback_Print report = new Customrt_Payback_Print(combo_Supliers.Text, richTextBox1.Text, double.Parse(tb_OldMoney.Text), double.Parse(tb_payment.Text), int.Parse(label2.Text), comboBox1.Text);

            report.ShowDialog();
        }