Esempio n. 1
0
 private void ReportsClickedHandler(Base sender, ClickedEventArgs e)
 {
     if (sender == btn_arrest_history)
     {
         ComputerReportsController.ShowArrestReportList();
     }
     else if (sender == btn_citation_history)
     {
         ComputerReportsController.ShowTrafficCitationList();
     }
 }
Esempio n. 2
0
        private void ReportsClickedHandler(Base sender, ClickedEventArgs e)
        {
            //if (sender == btn_browse_report)
            //    ComputerReportsController.ShowTrafficCitationList();
            //else if(sender == btn_arrest_report)
            //ComputerReportsController.ShowTrafficCitationCreate(null);

            if (sender == btn_browse_report)
            {
                ComputerReportsController.ShowArrestReportList();
            }
            else if (sender == btn_arrest_report)
            {
                ComputerReportsController.ShowArrestReportCreate(null, null);
            }
        }