/// <summary> /// 处理异常信息 /// </summary> /// <param name="exception">异常</param> public void ProcessException(Exception ex) { this.WriteException(ex); // 显示异常页面 FrmException frmException = new FrmException(ex); frmException.ShowDialog(); }
private void grdExceptionAdmin_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { DataRow dataRow = BaseInterfaceLogic.GetDataGridViewEntity(this.grdExceptionAdmin); if (dataRow != null) { BaseExceptionEntity exceptionEntity = new BaseExceptionEntity(dataRow); FrmException frmException = new FrmException(exceptionEntity); frmException.ShowDialog(); } }