GlueViewOfficialPlugins.Scripting.ScriptParsingPlugin.HandleResolutionChange C# (CSharp) Method

HandleResolutionChange() static private method

static private HandleResolutionChange ( ElementRuntime elementRuntime ) : void
elementRuntime FlatRedBall.Glue.ElementRuntime
return void
        void HandleResolutionChange(ElementRuntime elementRuntime)
        {
            if (elementRuntime != null)
            {
                IElement element = elementRuntime.AssociatedIElement;

                if (element != null)
                {
                    EventResponseSave ers = element.GetEvent("ResolutionOrOrientationChanged");

                    if (ers != null)
                    {
                        ApplyEventResponseSave(elementRuntime, ers);
                    }
                }
            }
        }

Same methods

ScriptParsingPlugin::HandleResolutionChange ( ) : void