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(); }
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(); }
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(); }
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(); }