private void button1_Click(object sender, EventArgs e)
        {
            var service   = new SellingService();
            var viewModel = service.GetSellingBySalesAndDay((int)listBox1.SelectedValue, dateTimePicker1.Value, dateTimePicker2.Value);

            dataGridView1.DataSource = viewModel.Items;
        }
        private void button1_Click(object sender, EventArgs e)
        {
            int jobNumber = (int)listBox1.SelectedValue;
            var begin     = dateTimePicker1.Value.Date;
            var end       = dateTimePicker2.Value.Date.AddDays(1);
            var service   = new SellingService();
            var viewModel = service.GetSellingBySalesAndDay(jobNumber, begin, end);

            dataGridView1.DataSource = viewModel.Items;
        }