Exemplo n.º 1
0
 private void gridView1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     try
     {
         Saverecord();
     }
     catch (Exception)
     {
     }
 }
Exemplo n.º 2
0
 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));
     }
 }
Exemplo n.º 3
0
 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;
     //}
 }
Exemplo n.º 4
0
 private void gridView1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     try
     {
         Saverecord();
     }
     finally
     {
         gridView1.RefreshData();
     }
 }
Exemplo n.º 5
0
 private void gridView1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     lblNetCost.Text = String.Format("{0:n2}", TotalSales());
 }
Exemplo n.º 6
0
 private void dbGridView_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     //DataRowView drv = dbGridView.GetRow(e.RowHandle) as DataRowView;
 }
Exemplo n.º 7
0
        private void dgvNhomMon_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
        {
            int index = dgvNhomMon.GetFocusedDataSourceRowIndex();

            dgvNhomMon.SetRowCellValue(index, "TenNM", txtTenNM.Text);
        }
Exemplo n.º 8
0
 private void loggingGridView_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
 }
Exemplo n.º 9
0
 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);
 }
Exemplo n.º 10
0
 private void TransView_GroupRowExpanded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
 }
Exemplo n.º 11
0
 private void grvLevel1_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
 }
Exemplo n.º 12
0
 private void gridView1_GroupRowCollapsed(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
 }
Exemplo n.º 13
0
 private void gvSayim_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     SayimAltToplamlari();
 }
Exemplo n.º 14
0
Arquivo: M09.cs Projeto: TPF-TUW/M09
 private void gvLine_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     GetVisible((GridView)sender, e.RowHandle);
 }
Exemplo n.º 15
0
 private void grvStore_FocusedRowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     GetCurrentRow();
 }
Exemplo n.º 16
0
 private void PPEGrid_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
 }
Exemplo n.º 17
0
 private void gridView1_RowLoaded(object sender, DevExpress.XtraGrid.Views.Base.RowEventArgs e)
 {
     MessageBox.Show("");
 }