public ConnectionAttemptEvent() { SettingsHolder expr_0B = SettingsHolder.get_Settings(); int totalConnectionAttempts = expr_0B.get_TotalConnectionAttempts(); expr_0B.set_TotalConnectionAttempts(totalConnectionAttempts + 1); base.ConnectionAttempts = SettingsHolder.get_Settings().get_TotalConnectionAttempts(); if (ObjectHolder.CurrentProfile != null) { this.FeaturesEnabled = ObjectHolder.CurrentProfile.GetEnabledFeatures(); this.Profile = ObjectHolder.CurrentProfile.GetBaseName(); } this.TabUsed = ObjectHolder.CurrentProfileTab; this.ConnectionType = ObjectHolder.ConnectionType; this.ConnectionSource = ObjectHolder.ConnectionSource; }