private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var row = bandedGridView1.GetFocusedRow() as OrderedList_Result; if (row != null) { FindDoc.Find(row.Id, row.WType, row.OnDate); } }
private void barButtonItem1_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { GetRelDocList_Result row = new GetRelDocList_Result(); if (gridView3.Focus()) { row = gridView3.GetFocusedRow() as GetRelDocList_Result; } else if (gridView5.Focus()) { row = gridView5.GetFocusedRow() as GetRelDocList_Result; } else if (gridView7.Focus()) { row = gridView7.GetFocusedRow() as GetRelDocList_Result; } else if (gridView12.Focus()) { row = gridView12.GetFocusedRow() as GetRelDocList_Result; } FindDoc.Find(row.Id, row.DocType, row.OnDate); }
private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var row = gridView3.GetFocusedRow() as GetRelDocList_Result; FindDoc.Find(row.Id, row.DocType, row.OnDate); }
private void barButtonItem8_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var row = bandedGridView1.GetFocusedRow() as PosGet_Result; FindDoc.Find(row.Id, row.DocType, row.OnDate); }