コード例 #1
0
		public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions)
		{
			var label = new UILabel (new CGRect (20, 100, 300, 80)) {
				Text = "Playing back",
				TextColor = UIColor.Black
			};
			window = new UIWindow (UIScreen.MainScreen.Bounds) {
				RootViewController = new UIViewController () { label },
				BackgroundColor = UIColor.White
			};
			window.MakeKeyAndVisible ();

			var audiotest = new AudioTest ();
			audiotest.MidiTest (label);
			return true;
		}
コード例 #2
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            var label = new UILabel(new RectangleF(20, 100, 300, 80))
            {
                Text      = "Playing back",
                TextColor = UIColor.Black
            };

            window = new UIWindow(UIScreen.MainScreen.Bounds)
            {
                RootViewController = new UIViewController()
                {
                    label
                },
                BackgroundColor = UIColor.White
            };
            window.MakeKeyAndVisible();

            var audiotest = new AudioTest();

            audiotest.MidiTest(label);
            return(true);
        }