/// <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;
        }
示例#3
0
        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;
        }
示例#4
0
        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;
        }