private void Gv_Students_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e) { if (e.Clicks != 2) { return; } var id = Guid.Parse(Gv_Students.GetFocusedRowCellValue("Id").ToString()); ShowStudentInfoForm(false, id); }
private void Sb_Update_Click(object sender, EventArgs e) { var id = Guid.Parse(Gv_Students.GetFocusedRowCellValue("Id").ToString()); ShowStudentInfoForm(false, id); }