Пример #1
0
        private void LoadData()
        {
            var list = testLogic.Read(null);

            if (list != null)
            {
                dataGridView1.DataSource = list;
                dataGridView1.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
                dataGridView1.Columns[2].Visible      = false;
            }
        }