//Interface public dlgReminders(ReminderService service) { //Constructor try { InitializeComponent(); this.mService = service; } catch (Exception ex) { MessageBox.Show(this,ex.Message,"Reminders",MessageBoxButtons.OK,MessageBoxIcon.Error); } }
//Interface public dlgReminders(ReminderService service) { //Constructor try { InitializeComponent(); this.mService = service; } catch (Exception ex) { MessageBox.Show(this, ex.Message, "Reminders", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
//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); } }
//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); } }