Exemple #1
0
 private void FormMARKETING_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.F1)
     {
         txtCARI.Focus();
     }
     else if (e.KeyCode == Keys.F2)
     {
         ADD();
     }
     else if (e.KeyCode == Keys.F3)
     {
         EDIT();
     }
     else if (e.KeyCode == Keys.F4)
     {
         DELETE();
     }
     else if (e.KeyCode == Keys.F5)
     {
         CrystalDecisions.CrystalReports.Engine.ReportDocument cryRpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
         REPORT.FormViewerMARKETING frm = new REPORT.FormViewerMARKETING(dataPrint);
         frm.ShowDialog();
     }
     else if (e.KeyCode == Keys.Escape)
     {
         Close();
     }
 }
 private void btnCetak_Click(object sender, EventArgs e)
 {
     //CrystalDecisions.CrystalReports.Engine.ReportDocument cryRpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
     REPORT.FormViewerMARKETING frm = new REPORT.FormViewerMARKETING(dataPrint);
     frm.ShowDialog();
 }
Exemple #3
0
 private void btnCetak_Click(object sender, EventArgs e)
 {
     //CrystalDecisions.CrystalReports.Engine.ReportDocument cryRpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
     REPORT.FormViewerMARKETING frm = new REPORT.FormViewerMARKETING(dataPrint);
     frm.ShowDialog();
 }
        private void txtCARI_KeyUp(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F1)
            {
                txtCARI.Focus();
            }
            else if (e.KeyCode == Keys.F2)
            {
                ADD();
            }
            else if (e.KeyCode == Keys.F3)
            {
                EDIT();
            }
            else if (e.KeyCode == Keys.F4)
            {
                DELETE();
            }
            else if (e.KeyCode == Keys.F5)
            {
                CrystalDecisions.CrystalReports.Engine.ReportDocument cryRpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
                REPORT.FormViewerMARKETING frm = new REPORT.FormViewerMARKETING(dataPrint);
                frm.ShowDialog();

            }
            else if (e.KeyCode == Keys.Escape)
            {
                Close();
            }
        }