Esempio n. 1
0
        private void SetUpDemoData()
        {
            Jobs.Add(new JobEntry
            {
                JobTitle      = "Fix Roof",
                ClientName    = "Joe Shmoe",
                CostPerHour   = 30,
                NumberOfHours = 2
            });

            Jobs.Add(new JobEntry
            {
                JobTitle      = "Unblock Sink",
                ClientName    = "Fred Flintstone",
                CostPerHour   = 20,
                NumberOfHours = 4
            });

            Jobs.Add(new JobEntry
            {
                JobTitle      = "Mow Lawns",
                ClientName    = "Mr Mansion Owner",
                CostPerHour   = 40,
                NumberOfHours = 6
            });

            Jobs.Add(new JobEntry
            {
                JobTitle      = "Sweep Path",
                ClientName    = "Jane Doe",
                CostPerHour   = 10,
                NumberOfHours = 1
            });

            JobEntryToAdd = new JobEntry();
        }
Esempio n. 2
0
        private void SetUpDemoData()
        {
            Jobs.Add(new JobEntry
              {
            JobTitle = "Fix Roof",
            ClientName = "Joe Shmoe",
            CostPerHour = 30,
            NumberOfHours = 2
              });

              Jobs.Add(new JobEntry
              {
            JobTitle = "Unblock Sink",
            ClientName = "Fred Flintstone",
            CostPerHour = 20,
            NumberOfHours = 4
              });

              Jobs.Add(new JobEntry
              {
            JobTitle = "Mow Lawns",
            ClientName = "Mr Mansion Owner",
            CostPerHour = 40,
            NumberOfHours = 6
              });

              Jobs.Add(new JobEntry
              {
            JobTitle = "Sweep Path",
            ClientName = "Jane Doe",
            CostPerHour = 10,
            NumberOfHours = 1
              });

              JobEntryToAdd = new JobEntry();
        }