コード例 #1
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // If you have defined a view, add it here:
            // window.AddSubview (navigationController.View);
            var calcView = new CalcView();
            window.AddSubview(calcView.View);

            window.MakeKeyAndVisible ();

            return true;
        }
コード例 #2
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // If you have defined a view, add it here:
            // window.AddSubview (navigationController.View);
            var calcView = new CalcView();

            window.AddSubview(calcView.View);

            window.MakeKeyAndVisible();

            return(true);
        }