Exemple #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            FRM_user_print fr = new PL.FRM_user_print();

            RPT.RPT_All_User myrpt = new RPT.RPT_All_User();
            myrpt.Refresh();
            fr.crystalReportViewer1.ReportSource = myrpt;
            fr.Show();
        }
Exemple #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     PL.FRM_user_print    p     = new PL.FRM_user_print();
     RPT.RPT_electrolytes myrpt = new RPT.RPT_electrolytes();
     myrpt.SetParameterValue("id", dataGridView1.CurrentRow.Cells[0].Value.ToString());
     p.crystalReportViewer1.ReportSource = myrpt;
     p.Show();
     this.Cursor = Cursors.Default;
 }
Exemple #3
0
 private void button3_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     PL.FRM_user_print        p     = new PL.FRM_user_print();
     RPT.RPT_Selected_Comment myrpt = new RPT.RPT_Selected_Comment();
     myrpt.SetParameterValue("id", dataGridView1.CurrentRow.Cells[0].Value.ToString());
     myrpt.SetParameterValue("cdate", Convert.ToDateTime(dataGridView1.CurrentRow.Cells[3].Value.ToString()).Date);
     p.crystalReportViewer1.ReportSource = myrpt;
     p.Show();
     this.Cursor = Cursors.Default;
 }