Ejemplo n.º 1
0
        public ConnectionFailedEvent()
        {
            SettingsHolder expr_0B = SettingsHolder.get_Settings();
            int            totalConnectionFailed = expr_0B.get_TotalConnectionFailed();

            expr_0B.set_TotalConnectionFailed(totalConnectionFailed + 1);
            base.UnsuccesfullConnections = SettingsHolder.get_Settings().get_TotalConnectionFailed();
            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;
        }