Beispiel #1
0
 //Interface
 public dlgReminders(ReminderService service) {
     //Constructor
     try { 
         InitializeComponent();
         this.mService = service;
     }
     catch (Exception ex) { MessageBox.Show(this,ex.Message,"Reminders",MessageBoxButtons.OK,MessageBoxIcon.Error); }
 }
Beispiel #2
0
 //Interface
 public dlgReminders(ReminderService service)
 {
     //Constructor
     try {
         InitializeComponent();
         this.mService = service;
     }
     catch (Exception ex) { MessageBox.Show(this, ex.Message, "Reminders", MessageBoxButtons.OK, MessageBoxIcon.Error); }
 }
Beispiel #3
0
 //Interface
 public frmMain() {
     //Constructor
     try {
         InitializeComponent();
         this.mReminders = new ReminderService();
         this.mReminders.OpenItem += new ReminderEventHandler(OnOpenReminderItem);
         this.mReminders.ItemsChanged += new EventHandler(OnReminderItemsChanged);
     }
     catch (Exception ex) { App.ReportError(ex,false); }
 }
Beispiel #4
0
 //Interface
 public frmMain()
 {
     //Constructor
     try {
         InitializeComponent();
         this.mReminders               = new ReminderService();
         this.mReminders.OpenItem     += new ReminderEventHandler(OnOpenReminderItem);
         this.mReminders.ItemsChanged += new EventHandler(OnReminderItemsChanged);
     }
     catch (Exception ex) { App.ReportError(ex, false); }
 }