protected override void OnFinalize()
        {
            base.OnFinalize();

            this._gauntletLayer = null;
            this._dataSource    = null;
        }
        protected override void OnInitialize()
        {
            try
            {
                base.OnInitialize();

                this._dataSource    = new TownRevoltViewModel(this._settlementInfo);
                this._gauntletLayer = new GauntletLayer(100)
                {
                    IsFocusLayer = true
                };

                this.AddLayer(this._gauntletLayer);
                this._gauntletLayer.InputRestrictions.SetInputRestrictions();
                ScreenManager.TrySetFocus(this._gauntletLayer);
                this._gauntletLayer.LoadMovie("TownRevoltScreen", this._dataSource);
            }
            catch (Exception exception)
            {
                InformationManager.DisplayMessage(new InformationMessage($"Revolutions: Error while initializing screen. Turn on debug mode for details.", ColorHelper.Red));

                if (RevolutionsSettings.Instance.DebugMode)
                {
                    InformationManager.DisplayMessage(new InformationMessage($"{exception.Message}{Environment.NewLine}{exception.StackTrace}", ColorHelper.Red));
                }
            }
        }