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

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