/// <summary> /// Initializes a new instance of the <see cref="TimesheetTaskDetail"/> class. /// </summary> public TimesheetTaskDetail() { InitializeComponent(); timesheetRepository = new TimesheetRepository(); ApplicationData.IsRedirectedFromTimesheet = false; this.Loaded += TimesheetTaskDetail_Loaded; }
public TimesheetTaskDetail() { InitializeComponent(); timesheetRepository = new TimesheetRepository(); ////if (!ApplicationData.IsRedirectedFromTimesheet) ////{ //// ApplicationData.CurrentDate = DateTime.Now.Date.ToString(DateFormat, CultureInfoUS); ////} ApplicationData.IsRedirectedFromTimesheet = false; this.Loaded += TimesheetTaskDetail_Loaded; }
public Timesheet() { InitializeComponent(); progressMask.Show(); Resources.Remove("PhoneAccentColor"); Resources.Add("PhoneAccentColor", GetColorFromHex("#00b4f0")); ((SolidColorBrush)Resources["PhoneAccentBrush"]).Color = GetColorFromHex("#00b4f0"); ////ApplicationData.CurrentDate = DateTime.Now.Date.ToString(DateFormat, CultureInfoUS); timesheetRepository = new TimesheetRepository(); this.Loaded += Timesheet_Loaded; }
public Timesheet() { InitializeComponent(); progressMask.Show(); Resources.Remove("PhoneAccentColor"); Resources.Add("PhoneAccentColor", ApplicationData.GetColorFromHex("#00b4f0")); ((SolidColorBrush)Resources["PhoneAccentBrush"]).Color = ApplicationData.GetColorFromHex("#00b4f0"); timesheetRepository = new TimesheetRepository(); this.Loaded += Timesheet_Loaded; }