示例#1
0
        private void Form1_Load(object sender, System.EventArgs e)
        {
            new DevExpress.XtraGrid.Design.XViewsPrinting(gridControl1);
            gridView1.OptionsSelection.MultiSelect = true;
            gridView1.SelectRange(2, 5);

            repositoryItemImageComboBox1.Assign(gridView1.Columns["Category"].ColumnEdit);
        }