1 // 2 // This file has been generated automatically by MonoDevelop to store outlets and 3 // actions made in the Xcode designer. If it is removed, they will be lost. 4 // Manual changes to this file may not be handled correctly. 5 // 6 using Foundation; 7 8 namespace HelloworldXamarin.iOS 9 { 10 [Register("ViewController")] 11 partial class ViewController 12 { 13 [Outlet] 14 UIKit.UIButton Button { get; set; } 15 ReleaseDesignerOutlets()16 void ReleaseDesignerOutlets() 17 { 18 if (Button != null) 19 { 20 Button.Dispose(); 21 Button = null; 22 } 23 } 24 } 25 } 26