private void AssignReferences() { BackgroundInstance = this.GetGraphicalUiElementByName("BackgroundInstance") as Pirates.GumRuntimes.DefaultForms.ColoredFrameRuntime; if (tryCreateFormsObject) { FormsControl = new FlatRedBall.Forms.Controls.Button(this); } }
private void AssignReferences() { SpriteInstance = this.GetGraphicalUiElementByName("SpriteInstance") as AbbatoirIntergrade.GumRuntimes.SpriteRuntime; if (tryCreateFormsObject) { FormsControl = new FlatRedBall.Forms.Controls.Button(this); } }
protected override void ReactToVisualChanged() { ButtonInstance = (FlatRedBall.Forms.Controls.Button)Visual.GetGraphicalUiElementByName("ButtonInstance").FormsControlAsObject; base.ReactToVisualChanged(); }
private void ReactToVisualChanged() { ButtonInstance = (FlatRedBall.Forms.Controls.Button)Visual.GetGraphicalUiElementByName("ButtonInstance").FormsControlAsObject; }