Example #1
0
        private void LoadAllServices()
        {
            //
            var list = LessLazyWorker.GetAllServices();

            list.Insert(0, new ServiceDisplay());
            ServiceComboBox.DataSource = list;

            ServiceComboBox.ValueMember   = "Id";
            ServiceComboBox.DisplayMember = "DisplayString";

            TotalPriceNumericUpDown.Value
                = LessLazyWorker.TotalPriceOfBill(currentBill.Id);
        }