Esempio n. 1
0
        public void Defaults()
        {
            PunchCategory startWork = new PunchCategory(1, Color.FromArgb(255, 27, 161, 226), "Start Work", PunchTypes.StartWork);

            startWork.Followers.Add(2);
            startWork.Followers.Add(4);
            startWork.Followers.Add(6);
            PunchCategory lunch = new PunchCategory(2, Color.FromArgb(255, 140, 191, 38), "Lunch", PunchTypes.StartBreak);

            lunch.Followers.Add(3);
            PunchCategory endlunch = new PunchCategory(3, Color.FromArgb(255, 140, 191, 38), "End Lunch", PunchTypes.EndBreak);

            endlunch.Followers.Add(2);
            endlunch.Followers.Add(4);
            endlunch.Followers.Add(6);
            PunchCategory startProject = new PunchCategory(4, Color.FromArgb(255, 191, 140, 38), "BeAwesome", PunchTypes.StartProject);

            endlunch.Followers.Add(5);
            PunchCategory endProject = new PunchCategory(5, Color.FromArgb(255, 191, 140, 38), "End BeAwesome", PunchTypes.EndProject);

            endlunch.Followers.Add(2);
            endlunch.Followers.Add(4);
            endlunch.Followers.Add(6);
            PunchCategory endWork = new PunchCategory(6, Color.FromArgb(255, 27, 161, 226), "End Work", PunchTypes.EndWork);

            PunchCategories.Add(startWork);
            PunchCategories.Add(lunch);
            PunchCategories.Add(endlunch);
            PunchCategories.Add(startProject);
            PunchCategories.Add(endProject);
            PunchCategories.Add(endWork);
        }
Esempio n. 2
0
 public void Defaults()
 {
     PunchCategory startWork = new PunchCategory(1, Color.FromArgb(255, 27, 161, 226), "Start Work", PunchTypes.StartWork);
     startWork.Followers.Add(2);
     startWork.Followers.Add(4);
     startWork.Followers.Add(6);
     PunchCategory lunch = new PunchCategory(2, Color.FromArgb(255, 140, 191, 38), "Lunch", PunchTypes.StartBreak);
     lunch.Followers.Add(3);
     PunchCategory endlunch = new PunchCategory(3, Color.FromArgb(255, 140, 191, 38), "End Lunch", PunchTypes.EndBreak);
     endlunch.Followers.Add(2);
     endlunch.Followers.Add(4);
     endlunch.Followers.Add(6);
     PunchCategory startProject = new PunchCategory(4, Color.FromArgb(255, 191, 140, 38), "BeAwesome", PunchTypes.StartProject);
     endlunch.Followers.Add(5);
     PunchCategory endProject = new PunchCategory(5, Color.FromArgb(255, 191, 140, 38), "End BeAwesome", PunchTypes.EndProject);
     endlunch.Followers.Add(2);
     endlunch.Followers.Add(4);
     endlunch.Followers.Add(6);
     PunchCategory endWork = new PunchCategory(6, Color.FromArgb(255, 27, 161, 226), "End Work", PunchTypes.EndWork);
     PunchCategories.Add(startWork);
     PunchCategories.Add(lunch);
     PunchCategories.Add(endlunch);
     PunchCategories.Add(startProject);
     PunchCategories.Add(endProject);
     PunchCategories.Add(endWork);
 }