Beispiel #1
0
        public frmEditList()
        {
            InitializeComponent();

            this.Size = new System.Drawing.Size(
                Math.Max(Screen.PrimaryScreen.WorkingArea.Width - 100, this.Width),
                Math.Max(Screen.PrimaryScreen.WorkingArea.Height - 200, this.Height));

            DevExpress.XtraGrid.Views.Grid.GridView EditGrid = ((DevExpress.XtraGrid.Views.Grid.GridView)gridEditList.DefaultView);
            EditGrid.OptionsBehavior.Editable = false;
            EditGrid.OptionsSelection.EnableAppearanceFocusedCell = false;
            EditGrid.ShowFindPanel();
        }