public static void Show(SqlCommandException e) { var f = new SqlCommandExceptionDetails(); Utils.RegisterAutoDisposableForm(f); f.Initialize(e); f.ShowDialog(); }