Exemple #1
0
 private void toolbar1_ButtonClick(object sender, DotNetWidgets.DotNetToolbarItemClickEventArgs e)
 {
     if (e.Button.ToolTipText == "Printo")
     {
         this.crystalReportViewer1.PrintReport();
     }
     else if (e.Button.ToolTipText == "Shko ne faqen tjeter")
     {
         this.crystalReportViewer1.ShowNextPage();
     }
     else if (e.Button.ToolTipText == "Shko ne faqen e pare")
     {
         this.crystalReportViewer1.ShowFirstPage();
     }
     else if (e.Button.ToolTipText == "Shko ne faqen e meparshme")
     {
         this.crystalReportViewer1.ShowPreviousPage();
     }
     else if (e.Button.ToolTipText == "Shko ne faqen e fundit")
     {
         this.crystalReportViewer1.ShowLastPage();
     }
     else if (e.Button.ToolTipText == "Eksporto")
     {
         this.crystalReportViewer1.ExportReport();
     }
     else if (e.Button.ToolTipText == "Rifresko")
     {
         this.crystalReportViewer1.RefreshReport();
     }
     else if (e.Button.ToolTipText == "Mbyll Raportin")
     {
         this.Close();
     }
     this.RifreskoRaportin();
 }
Exemple #2
0
 private void toolbar1_ButtonClick_1(object sender, DotNetWidgets.DotNetToolbarItemClickEventArgs e)
 {
 }