private void repositoryItemButtonEditTransferSave_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { RetirementCenter.DataSources.Linq.vTBLEstefa row = (RetirementCenter.DataSources.Linq.vTBLEstefa)gridViewData.GetRow(gridViewData.FocusedRowHandle); TBLEstefaEditFrm frm = new TBLEstefaEditFrm(row.MMashatId, row.estefadate); frm.ShowDialog(); RefreshData(); }
private void btnAdd_Click(object sender, EventArgs e) { TBLEstefaEditFrm frm = new TBLEstefaEditFrm(); frm.ShowDialog(); RefreshData(); }