public override void Awake(NSObject context) { base.Awake(context); RockButton.SetBackgroundImage(new UIImage("rock")); PaperButton.SetBackgroundImage(new UIImage("paper")); ScissorsButton.SetBackgroundImage(new UIImage("scissors")); Timer.Start(); }
void ReleaseDesignerOutlets() { if (OponentLabel != null) { OponentLabel.Dispose(); OponentLabel = null; } if (PaperButton != null) { PaperButton.Dispose(); PaperButton = null; } if (ResultLabel != null) { ResultLabel.Dispose(); ResultLabel = null; } if (RockButton != null) { RockButton.Dispose(); RockButton = null; } if (ScissorsButton != null) { ScissorsButton.Dispose(); ScissorsButton = null; } if (Timer != null) { Timer.Dispose(); Timer = null; } if (WinnerLabel != null) { WinnerLabel.Dispose(); WinnerLabel = null; } }