コード例 #1
0
 public MainWindow()
 {
     InitializeComponent();
     Forms.Init();
     SfScheduleRenderer.Init();
     LoadApplication(new OnDemandLoading_Scheduler.App());
 }
コード例 #2
0
ファイル: AppDelegate.cs プロジェクト: jbijelic/ZPIS-rokovnik
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
            {
                UNUserNotificationCenter.Current.RequestAuthorization(
                    UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound,
                    (approved, error) => { });
                UNUserNotificationCenter.Current.Delegate = new UserNotificationCenterDelegate();
            }
            else if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
            {
                var settings =
                    UIUserNotificationSettings.GetSettingsForTypes(
                        UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound,
                        new NSSet());
                UIApplication.SharedApplication.RegisterUserNotificationSettings(settings);
            }


            SfScheduleRenderer.Init();
            LoadApplication(new App());
            return(base.FinishedLaunching(app, options));
        }
 //
 // This method is invoked when the application has loaded and is ready to run. In this
 // method you should instantiate the window, load the UI into it and then make the window
 // visible.
 //
 // You have 17 seconds to return from this method, or iOS will terminate your application.
 //
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App());
     SfScheduleRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
コード例 #4
0
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            // create a new window instance based on the screen size
            //Window = new UIWindow(UIScreen.MainScreen.Bounds);

            // If you have defined a root view controller, set it here:
            // Window.RootViewController = myViewController;

            Forms.Init();

            SfListViewRenderer.Init();
            new SfBusyIndicatorRenderer();
            SfScheduleRenderer.Init();
            Xamarin.FormsMaps.Init();
            ImageCircleRenderer.Init();

            BootstrapperService.Initialize(new IociOSModule()).GetAwaiter();

            LoadApplication(new App());

            // make the window visible
            //Window.MakeKeyAndVisible();

            return(base.FinishedLaunching(application, launchOptions));
        }
コード例 #5
0
 public MainWindow()
 {
     InitializeComponent();
     Forms.Init();
     SfScheduleRenderer.Init();
     LoadApplication(new ScheduleGettingStarted.App());
 }
コード例 #6
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            // Newer version of Visual Studio for Mac and Visual Studio provide the
            // ENABLE_TEST_CLOUD compiler directive in the Debug configuration,
            // but not the Release configuration.
            #if ENABLE_TEST_CLOUD
            Xamarin.Calabash.Start();
            #endif

            AppCenter.Start("aa5a52f6-a4a7-4a21-a385-a7b954dc702c", typeof(Analytics), typeof(Crashes));

            global::Xamarin.Forms.Forms.Init();
            LoadApplication(new App());

            //change colors of Navigation Bar
            UINavigationBar.Appearance.TintColor    = UIColor.White;
            UINavigationBar.Appearance.BarTintColor = UIColor.FromRGB(54, 182, 229);
            UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes()
            {
                TextColor = UIColor.White
            });

            UIApplication.SharedApplication.SetStatusBarStyle(UIStatusBarStyle.LightContent, false);
            //UINavigationBar.Appearance.BarStyle = UIBarStyle.Black;


            SfScheduleRenderer.Init();

            return(base.FinishedLaunching(app, options));
        }
 //
 // This method is invoked when the application has loaded and is ready to run. In this
 // method you should instantiate the window, load the UI into it and then make the window
 // visible.
 //
 // You have 17 seconds to return from this method, or iOS will terminate your application.
 //
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App());
     App.IdentityClientApp.RedirectUri = "msal61d2216e-06e6-4940-8c20-c3a923a40620://auth";
     SfScheduleRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
コード例 #8
0
 //
 // This method is invoked when the application has loaded and is ready to run. In this
 // method you should instantiate the window, load the UI into it and then make the window
 // visible.
 //
 // You have 17 seconds to return from this method, or iOS will terminate your application.
 //
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     new Syncfusion.SfAutoComplete.XForms.iOS.SfAutoCompleteRenderer();
     global::Xamarin.Forms.Forms.Init();
     ImageCircleRenderer.Init();
     ZXing.Net.Mobile.Forms.iOS.Platform.Init();
     SfScheduleRenderer.Init();
     LoadApplication(new App());
     // UIApplication.SharedApplication.StatusBarHidden = true;
     Downloaded();
     return(base.FinishedLaunching(app, options));
 }
コード例 #9
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfScheduleRenderer.Init();

            LoadApplication(new App());

            //LoadApplication(UXDivers.Gorilla.iOS.Player.CreateApplication(
            //  new UXDivers.Gorilla.Config("Good Gorilla")
            //    .RegisterAssemblyFromType<Syncfusion.SfSchedule.XForms.SfSchedule>()
            //));

            return(base.FinishedLaunching(app, options));
        }
コード例 #10
0
ファイル: AppDelegate.cs プロジェクト: sufiyany2k/FurryFit
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            //await CrossMedia.Current.Initialize();
            global::Xamarin.Forms.Forms.Init();
            SfCardViewRenderer.Init();
            SfListViewRenderer.Init();
            SfGradientViewRenderer.Init();
            SfChartRenderer.Init();
            SfAvatarViewRenderer.Init();
            SfBorderRenderer.Init();
            SfButtonRenderer.Init();
            SfNavigationDrawerRenderer.Init();
            SfScheduleRenderer.Init();
            SfDatePickerRenderer.Init();

            SfComboBoxRenderer.Init();
            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfMapsRenderer.Init();


            SfTabViewRenderer.Init();

            SfCarouselRenderer.Init();
            SfTextInputLayoutRenderer.Init();


            SfTreeViewRenderer.Init();


            SfBadgeViewRenderer.Init();

            SfCheckBoxRenderer.Init();
            SfTimePickerRenderer.Init();
            InitializeNLog();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #11
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfScheduleRenderer.Init();

            //UINavigationBar.Appearance.SetTitleTextAttributes(new UITextAttributes
            //{
            //    TextColor = true ? UIColor.White : UIColor.Black,
            //    Font = UIFont.FromName("Font Awesome 5 Brands", 24)
            //});

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #12
0
ファイル: AppDelegate.cs プロジェクト: yashen97/CollegeDiary
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfScheduleRenderer.Init();
            SfCircularProgressBarRenderer.Init();
            Popup.Init();
            SfSegmentedControlRenderer.Init();
            IQKeyboardManager.SharedManager.Enable = true;
            new SfBusyIndicatorRenderer();
            SfListViewRenderer.Init();
            LoadApplication(new App(new IOSModule()));

            Firebase.Core.App.Configure();
            return(base.FinishedLaunching(app, options));
        }
コード例 #13
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            //Settings.AppId = "1659227674127381";
            //Settings.DisplayName = "Busy Bee";
            SfCalendarRenderer.Init();
            SfScheduleRenderer.Init();

            global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.Init();


            LoadApplication(new App());
            FacebookClientManager.Initialize(app, options);
            return(base.FinishedLaunching(app, options));
        }
コード例 #14
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfScheduleRenderer.Init();

            var xfApplication = new App();

#if DEBUG
            Xamarin.Forms.HotReloader.Current.Start(xfApplication, 4291);
#endif

            LoadApplication(xfApplication);

            //LoadApplication(UXDivers.Gorilla.iOS.Player.CreateApplication(
            //  new UXDivers.Gorilla.Config("Good Gorilla")
            //    .RegisterAssemblyFromType<Syncfusion.SfSchedule.XForms.SfSchedule>()
            //));

            return(base.FinishedLaunching(app, options));
        }
コード例 #15
0
ファイル: AppDelegate.cs プロジェクト: vhnatyk/monowallet
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();

            SfChartRenderer.Init();


            SfSunburstChartRenderer.Init();


            SfImageEditorRenderer.Init();


            SfDataGridRenderer.Init();


            SfPickerRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfGaugeRenderer.Init();


            SfDigitalGaugeRenderer.Init();


            SfLinearGaugeRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfCarouselRenderer.Init();


            SfRotatorRenderer.Init();


            SfAutoCompleteRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRadialMenuRenderer.Init();


            SfRatingRenderer.Init();


            SfMapsRenderer.Init();


            SfTreeMapRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfListViewRenderer.Init();


            SfKanbanRenderer.Init();


            SfRangeNavigatorRenderer.Init();


            SfSparklineRenderer.Init();


            SfBarcodeRenderer.Init();


            SfDataFormRenderer.Init();


            SfMaskedEditRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfDiagramRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfSegmentedControlRenderer.Init();


            SfComboBoxRenderer.Init();

            LoadApplication(new FormsApp());

            return(base.FinishedLaunching(app, options));
        }
コード例 #16
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfMapsRenderer.Init();
            Core.Init();
            SfRotatorRenderer.Init();
            SfGradientViewRenderer.Init();
            SfExpanderRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfComboBoxRenderer.Init();
            SfTabViewRenderer.Init();
            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfCalendarRenderer.Init();


            SfAutoCompleteRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfRatingRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfListViewRenderer.Init();


            SfButtonRenderer.Init();


            SfBorderRenderer.Init();


            SfBadgeViewRenderer.Init();


            SfCardViewRenderer.Init();


            SfCardLayoutRenderer.Init();


            SfAccordionRenderer.Init();


            SfShimmerRenderer.Init();


            SfAvatarViewRenderer.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #17
0
        //
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        //
        // You have 17 seconds to return from this method, or iOS will terminate your application.
        //
        public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
        {
            Rg.Plugins.Popup.Popup.Init();

            global::Xamarin.Forms.Forms.Init();

            SfDataGridRenderer.Init();


            SfPdfDocumentViewRenderer.Init();


            SfRangeSliderRenderer.Init();


            SfScheduleRenderer.Init();


            SfLinearProgressBarRenderer.Init();


            SfCircularProgressBarRenderer.Init();


            SfCalendarRenderer.Init();


            SfBusyIndicatorRenderer.Init();


            SfNavigationDrawerRenderer.Init();


            SfNumericTextBoxRenderer.Init();


            SfNumericUpDownRenderer.Init();


            SfRadialMenuRenderer.Init();


            SfPullToRefreshRenderer.Init();


            SfDataFormRenderer.Init();


            SfPopupLayoutRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfButtonRenderer.Init();

            SfAccordionRenderer.Init();

            CachedImageRenderer.Init();

            SfListViewRenderer.Init();

            ZXing.Net.Mobile.Forms.iOS.Platform.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(uiApplication, launchOptions));
        }