private void gridView1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { try { Saverecord(); } catch (Exception) { } }
private void gvRoleAccess_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { if (e.RowHandle > 0) { RoleAccessViewModel currentRowData = gvRoleAccess.GetRow(e.RowHandle) as RoleAccessViewModel; gvRoleAccess.SetRowCellValue(e.RowHandle, colRead, currentRowData.AccessCode.Has(DbConstant.AccessTypeEnum.Read)); gvRoleAccess.SetRowCellValue(e.RowHandle, colCreate, currentRowData.AccessCode.Has(DbConstant.AccessTypeEnum.Create)); gvRoleAccess.SetRowCellValue(e.RowHandle, colUpdate, currentRowData.AccessCode.Has(DbConstant.AccessTypeEnum.Update)); gvRoleAccess.SetRowCellValue(e.RowHandle, colDelete, currentRowData.AccessCode.Has(DbConstant.AccessTypeEnum.Delete)); } }
private void gridView_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { //if (e.Column.Caption == "") //{ // RepositoryItemButtonEdit ritem = new RepositoryItemButtonEdit(); // ritem.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // ritem.ReadOnly = true; // ritem.Buttons[0].Enabled = true; // e.RepositoryItem = ritem; //} }
private void gridView1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { try { Saverecord(); } finally { gridView1.RefreshData(); } }
private void gridView1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { lblNetCost.Text = String.Format("{0:n2}", TotalSales()); }
private void dbGridView_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { //DataRowView drv = dbGridView.GetRow(e.RowHandle) as DataRowView; }
private void dgvNhomMon_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { int index = dgvNhomMon.GetFocusedDataSourceRowIndex(); dgvNhomMon.SetRowCellValue(index, "TenNM", txtTenNM.Text); }
private void loggingGridView_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { }
private void EventListView_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { DevExpress.XtraGrid.Views.Grid.GridView _view = (DevExpress.XtraGrid.Views.Grid.GridView)sender; RefreshEventListDetails(_view); }
private void TransView_GroupRowExpanded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { }
private void grvLevel1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { }
private void gridView1_GroupRowCollapsed(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { }
private void gvSayim_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { SayimAltToplamlari(); }
private void gvLine_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { GetVisible((GridView)sender, e.RowHandle); }
private void grvStore_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { GetCurrentRow(); }
private void PPEGrid_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { }
private void gridView1_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e) { MessageBox.Show(""); }