Beispiel #1
0
 private void btn_print_Click(object sender, EventArgs e)
 {
     Reports.RepostView  frm = new Reports.RepostView();
     Reports.OrderReport rep = new Reports.OrderReport();
     frm.rep_veiw.DocumentSource        = rep;
     rep.Parameters["parameter1"].Value = or_id;
     frm.ShowDialog();
 }
Beispiel #2
0
 private void btn_print_Click(object sender, EventArgs e)
 {
     Reports.RepostView  frm = new Reports.RepostView();
     Reports.OrderReport rep = new Reports.OrderReport();
     frm.rep_veiw.DocumentSource        = rep;
     rep.Parameters["parameter1"].Value = int.Parse(dgv.CurrentRow.Cells[0].Value.ToString());
     frm.ShowDialog();
 }