private void rpstSupplierDetail1_Click_1(object sender, EventArgs e) { frm_TedarikciyeAktarilanMalzemeDetay md = new frm_TedarikciyeAktarilanMalzemeDetay(); md.ShowMailPanel = false; int selectedSupplierId = SimpleApplicationBase.Toolkit.Helpers.GetValueFromObject <int>(gridViewSupplier.GetFocusedRowCellValue("Id")); md.SelectedSupplierId = selectedSupplierId; md.ShowDialog(); }
private void rpstSupplierDetail_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { this.Enabled = false; frm_TedarikciyeAktarilanMalzemeDetay md = new frm_TedarikciyeAktarilanMalzemeDetay(); md.ShowMailPanel = this.ShowMailPanel; int selectedSupplierId = SimpleApplicationBase.Toolkit.Helpers.GetValueFromObject <int>(gridViewSupplier.GetFocusedRowCellValue("Id")); md.SelectedSupplierId = selectedSupplierId; md.ShowDialog(); this.Enabled = true; }