Exemple #1
0
        public override void DoHideBegin(AppearanceParameters parameters)
        {
            if (this == null)
            {
                parameters.Call();
                return;
            }

            if (this.GetComponentState() == WindowObjectState.NotInitialized ||
                this.GetComponentState() == WindowObjectState.Initializing ||
                this.GetComponentState() == WindowObjectState.Initialized)
            {
                this.RefreshComponentState();
                parameters.Call();
                return;
            }

            if (parameters.GetManual(false) == true)
            {
                this.Hide(parameters);
                return;
            }

            if (this.manualShowHideControl == true)
            {
                this.DoHideBeginManualControl(parameters);
                return;
            }

            WindowSystem.GetHistoryTracker().Add(this, parameters, HistoryTrackerEventType.HideBegin);

            this.DoHideBegin_INTERNAL(parameters);
        }
        public override void DoHideBegin(AppearanceParameters parameters)
        {
            if (parameters.GetManual(false) == true)
            {
                this.Hide(parameters);
                return;
            }

            if (this.manualShowHideControl == true)
            {
                parameters.Call();
                return;
            }

            WindowSystem.GetHistoryTracker().Add(this, parameters, HistoryTrackerEventType.HideBegin);

            this.DoHideBegin_INTERNAL(parameters);
        }
Exemple #3
0
        public override void DoShowBegin(AppearanceParameters parameters)
        {
            if (parameters.GetManual(false) == true)
            {
                this.Show(parameters);
                return;
            }

            if (this.manualShowHideControl == true || this.showOnStart == false)
            {
                parameters.Call();
                return;
            }

            this.eventsHistoryTracker.Add(this, parameters, HistoryTrackerEventType.ShowBegin);

            this.DoShowBegin_INTERNAL(parameters);
        }
Exemple #4
0
        public override void DoShowBegin(AppearanceParameters parameters)
        {
            if (parameters.GetManual(false) == true)
            {
                this.Show(parameters);
                return;
            }

            if (this.manualShowHideControl == true || this.showOnStart == false)
            {
                this.DoShowBeginManualControl(parameters);
                return;
            }

            WindowSystem.GetHistoryTracker().Add(this, parameters, HistoryTrackerEventType.ShowBegin);

            parameters = parameters.ReplaceResetAnimation(resetAnimation: true);
            this.DoShowBegin_INTERNAL(parameters);
        }