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