Esempio n. 1
0
 static void Daily()
 {
     Reports dailyreport = new Reports();
     dailyreportmessage = dailyreport.CompileDailyReport(selected);
     Notification notify = new Notification();
     notify.Summary = "Daily Report " + selected.ToShortDateString();
     notify.Body = dailyreportmessage;
     notify.AddAction("send", "Send", HandleSendReport);
     notify.Urgency = Urgency.Critical;
     notify.Show();
 }
Esempio n. 2
0
 static void HandleDailyReportActivated(object sender, EventArgs e)
 {
     Reports dailyreport = new Reports();
     dailyreportmessage = dailyreport.CompileDailyReport();
     Notification notify = new Notification();
     notify.Summary = "Daily Report";
     notify.Body = dailyreportmessage;
     notify.AddAction("send", "Send", HandleSendDaily);
     notify.AddAction("select", "Select Date", HandleSelectedReportActivated);
     notify.Urgency = Urgency.Critical;
     notify.Show();
 }
Esempio n. 3
0
        static void Daily()
        {
            Reports dailyreport = new Reports();

            dailyreportmessage = dailyreport.CompileDailyReport(selected);
            Notification notify = new Notification();

            notify.Summary = "Daily Report " + selected.ToShortDateString();
            notify.Body    = dailyreportmessage;
            notify.AddAction("send", "Send", HandleSendReport);
            notify.Urgency = Urgency.Critical;
            notify.Show();
        }
Esempio n. 4
0
        static void HandleDailyReportActivated(object sender, EventArgs e)
        {
            Reports dailyreport = new Reports();

            dailyreportmessage = dailyreport.CompileDailyReport();
            Notification notify = new Notification();

            notify.Summary = "Daily Report";
            notify.Body    = dailyreportmessage;
            notify.AddAction("send", "Send", HandleSendDaily);
            notify.AddAction("select", "Select Date", HandleSelectedReportActivated);
            notify.Urgency = Urgency.Critical;
            notify.Show();
        }