private void ucGridPanel_Load(object sender, EventArgs e) { try { #region Control Inits //vGridControl1.ShowButtonMode = DevExpress.XtraVerticalGrid.ShowButtonModeEnum.ShowAlways; //vGridControl1.OptionsBehavior.DragRowHeaders = false; //vGridControl1.OptionsView.FixRowHeaderPanelWidth = true; ucParameterPanel1.ShowDescription = false; FormUtility.SetFormatGrid(ref gridView1, false); #endregion #region Declare Events gridControl1.FocusedViewChanged += new DevExpress.XtraGrid.ViewFocusEventHandler(gridControl1_FocusedViewChanged); gridView1.RowClick += new DevExpress.XtraGrid.Views.Grid.RowClickEventHandler(gridView1_RowClick); gridControl1.DoubleClick += new EventHandler(gridControl1_DoubleClick); gridView1.CellMerge += new DevExpress.XtraGrid.Views.Grid.CellMergeEventHandler(gridView1_CellMerge); #endregion } catch { } }
public frmTempProp() { InitializeComponent(); try { FormUtility.SetFormatGrid(ref gridView1, false); } catch { } }
public ucGridPanel() { InitializeComponent(); vGridControl1.ShowButtonMode = DevExpress.XtraVerticalGrid.ShowButtonModeEnum.ShowAlways; vGridControl1.OptionsBehavior.DragRowHeaders = false; vGridControl1.OptionsView.FixRowHeaderPanelWidth = true; gridControl1.FocusedViewChanged += new DevExpress.XtraGrid.ViewFocusEventHandler(gridControl1_FocusedViewChanged); gridControl1.DoubleClick += new EventHandler(gridControl1_DoubleClick); FormUtility.SetFormatGrid(ref gridView1, false); }