private void AppBarEmail_Click(object sender, EventArgs e) { if (LicenceHelper.IsTrialMode()) { App.NotifyTrialMode(); return; } EmailHelper.EmailWorkday(WorkdayView.Workday, null); }
private void LoadState() { LicenceHelper.IsTrialMode(true); DataDictionary["Workday"] = Workday = (Workday)IsolatedStorageHelper.FileToObj(typeof(Workday), "current/workday.xml"); LastPunch = (PunchType)IsolatedStorageHelper.FileToObj(typeof(PunchType), "current/lastpunch.xml"); PunchList = (ObservableCollection <PunchType>)IsolatedStorageHelper.FileToObj(typeof(ObservableCollection <PunchType>), "current/punchlist.xml"); EmailQueue = (RemoteEmailQueue)IsolatedStorageHelper.FileToObj(typeof(RemoteEmailQueue), "current/emailqueue.xml"); }