예제 #1
0
        private void FormReportClientRoutes_Load(object sender, EventArgs e)
        {
            var list = logic.GetClientRoutes(new ReportBindingModel {
                ClientId = Program.Client.Id
            });

            if (list == null)
            {
                return;
            }
            dataGridView1.DataSource = list;
            dataGridView1.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
        }