示例#1
0
        /// <summary>
        /// 处理异常信息
        /// </summary>
        /// <param name="exception">异常</param>
        public void ProcessException(Exception ex)
        {
            this.WriteException(ex);
            // 显示异常页面
            FrmException frmException = new FrmException(ex);

            frmException.ShowDialog();
        }
示例#2
0
        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();
            }
        }
示例#3
0
 /// <summary>
 /// 处理异常信息
 /// </summary>
 /// <param name="exception">异常</param>
 public void ProcessException(Exception ex)
 {
     this.WriteException(ex);
     // 显示异常页面
     FrmException frmException = new FrmException(ex);
     frmException.ShowDialog();
 }
示例#4
0
 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();
     }
 }