private void AssignReferences()
 {
     BackgroundInstance = this.GetGraphicalUiElementByName("BackgroundInstance") as Pirates.GumRuntimes.DefaultForms.ColoredFrameRuntime;
     if (tryCreateFormsObject)
     {
         FormsControl = new FlatRedBall.Forms.Controls.Button(this);
     }
 }
示例#2
0
 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();
 }
示例#4
0
 private void ReactToVisualChanged()
 {
     ButtonInstance = (FlatRedBall.Forms.Controls.Button)Visual.GetGraphicalUiElementByName("ButtonInstance").FormsControlAsObject;
 }