Esempio n. 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); }
 }
Esempio n. 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); }
 }
Esempio n. 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); }
 }
Esempio n. 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); }
 }