public static void ShowExceptionHandler(Exception ex) { using (var unhandedException = new FrmException(ex)) { unhandedException.StartPosition = FormStartPosition.CenterScreen; unhandedException.ShowDialog(); } }
public static void ShowExceptionHandler(Exception ex) { using (var unhandedException = new FrmException(ex)) { unhandedException.StartPosition = FormStartPosition.CenterScreen; unhandedException.ShowDialog(); } }
private void PopulateAllTabs() { Invoke(new Action(() => { try { SetUpExplorer(); SetUpSteam(); SetUpChrome(); SetUpWindowsStore(); } catch (Exception ex) { var frmException = new FrmException(ex); frmException.ShowDialog(); } })); }