示例#1
0
 void ReleaseDesignerOutlets()
 {
     if (textField1 != null)
     {
         textField1.Dispose();
         textField1 = null;
     }
     if (textField2 != null)
     {
         textField2.Dispose();
         textField2 = null;
     }
     if (textField3 != null)
     {
         textField3.Dispose();
         textField3 = null;
     }
     if (textField4 != null)
     {
         textField4.Dispose();
         textField4 = null;
     }
     if (textField5 != null)
     {
         textField5.Dispose();
         textField5 = null;
     }
     if (textField6 != null)
     {
         textField6.Dispose();
         textField6 = null;
     }
 }
示例#2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //Window = new UIWindow (UIScreen.MainScreen.Bounds);
            //Window.MakeKeyAndVisible ();
            var x = new MaterialSharp.MaterialButton(UIScreen.MainScreen.Bounds);
            var y = new MaterialSharp.MaterialTextField(UIScreen.MainScreen.Bounds);

            return(true);
        }