コード例 #1
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();

            SfDataGridRenderer.Init();


            SfGaugeRenderer.Init();


            SfListViewRenderer.Init();


            SfTabViewRenderer.Init();


            SfCheckBoxRenderer.Init();


            SfRadioButtonRenderer.Init();


            SfButtonRenderer.Init();


            SfCardViewRenderer.Init();


            SfAccordionRenderer.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #2
0
 public MainWindow()
 {
     InitializeComponent();
     Forms.Init();
     SfDataGridRenderer.Init();
     LoadApplication(new GettingStarted.App());
 }
コード例 #3
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();
     LoadApplication(new App());
     SfDataGridRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
コード例 #4
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();

            App.ScreenWidth  = UIScreen.MainScreen.Bounds.Width;
            App.Platform     = Platforms.iOS;
            App.ScreenHeight = UIScreen.MainScreen.Bounds.Height;

            new SfPdfDocumentViewRenderer();

            new SfChartRenderer();

            new SfSparklineRenderer();

            new SfBusyIndicatorRenderer();

            new SfBarcodeRenderer();

            new SfScheduleRenderer();

            new SfDigitalGaugeRenderer();

            new SfLinearGaugeRenderer();

            new SfRangeSliderRenderer();

            new SfAutoCompleteRenderer();

            new SfNumericTextBoxRenderer();

            new SfRatingRenderer();

            new SfPullToRefreshRenderer();

            new SfRotatorRenderer();

            new SfCalendarRenderer();

            new SfCarouselRenderer();

            new SfMapsRenderer();

            new SfTreeMapRenderer();

            new SfNumericUpDownRenderer();

            new SfNavigationDrawerRenderer();

            new SfKanbanRenderer();

            SfDataGridRenderer.Init();
            SfListViewRenderer.Init();

            LoadApplication(new App());

            app.StatusBarHidden = false;
            app.StatusBarStyle  = UIStatusBarStyle.LightContent;

            return(base.FinishedLaunching(app, options));
        }
コード例 #5
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();
            SfDataGridRenderer.Init();
            SfChatRenderer.Init();
            SfDatePickerRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfBusyIndicatorRenderer.Init();
            SfAccordionRenderer.Init();
            SfListViewRenderer.Init();
            SfCarouselRenderer.Init();
            SfCalendarRenderer.Init();
            CurrentPlatform.Init();

            string dbname     = "workbook.sqlite";
            string folderPath = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), "..", "Library");
            string fullPath   = Path.Combine(folderPath, dbname);



            LoadApplication(new App(fullPath));



            return(base.FinishedLaunching(app, options));
        }
コード例 #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)
        {
            global::Xamarin.Forms.Forms.Init();

            SfDataGridRenderer.Init();

            DependencyService.Register <ToastNotification>();
            ToastNotification.Init();

            // Request Permissions
            if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
            {
                // Request Permissions
                UNUserNotificationCenter.Current.RequestAuthorization(UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound, (granted, error) =>
                {
                    // Do something if needed
                });
            }
            else if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
            {
                var notificationSettings = UIUserNotificationSettings.GetSettingsForTypes(
                    UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound, null);

                app.RegisterUserNotificationSettings(notificationSettings);
            }

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #7
0
        public MainPage()
        {
            InitializeComponent();
            SampleBrowser.App.ScreenWidth = System.Windows.Application.Current.Host.Content.ActualWidth;

            SupportedOrientations = SupportedPageOrientation.PortraitOrLandscape;
            global::Xamarin.Forms.Forms.Init();

            SfDataGridRenderer.Init();

            new SfChartRenderer();

            new SfBusyIndicatorRenderer();
            new SfTreeMapRenderer();

            new SfDigitalGaugeRenderer();
            new SfGaugeRenderer();
            new SfBarcodeRenderer();
            new SfLinearGaugeRenderer();

            new SfRangeSliderRenderer();
            new SfNumericTextBoxRenderer();
            new SfAutoCompleteRenderer();
            LoadApplication(new SampleBrowser.App());
        }
コード例 #8
0
        public MainPage()
        {
            this.InitializeComponent();
            SfDataGridRenderer.Init();
            SfListViewRenderer.Init();


            /*
             * Android Example
             * var dbName = "CustomersDb.db3";
             * var path = Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal), dbName);
             * return new SQLiteConnection(path);
             *
             * UWP Example
             * var dbName = "CustomersDb.db3";
             * var path = Path.Combine(ApplicationData.Current.LocalFolder.Path, dbName);
             * return new SQLiteConnection(path);
             *
             * Android Mine
             * string dbname = "workbook.sqlite";
             * string folderPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
             * string fullPath = Path.Combine(folderPath, dbname);
             */

            string dbname = "workbook.sqlite";
            var    path   = Path.Combine(ApplicationData.Current.LocalFolder.Path, dbname);



            LoadApplication(new TheWorkbook.App(path));
        }
コード例 #9
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();

            App.ScreenWidth = UIScreen.MainScreen.Bounds.Width;

            new SfChartRenderer();

            new SfBusyIndicatorRenderer();

            new SfBarcodeRenderer();

            new SfDigitalGaugeRenderer();

            new SfLinearGaugeRenderer();

            new SfRangeSliderRenderer();

            new SfAutoCompleteRenderer();

            new SfNumericTextBoxRenderer();

            new SfTreeMapRenderer();

            SfDataGridRenderer.Init();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #10
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();
            //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();
            Syncfusion.XForms.iOS.PopupLayout.SfPopupLayoutRenderer.Init();
            //SfDiagramRenderer.Init();
            //SfTabViewRenderer.Init();
            SfCheckBoxRenderer.Init();
            SfRadioButtonRenderer.Init();
            SfSegmentedControlRenderer.Init();
            //SfComboBoxRenderer.Init();
            SfTextInputLayoutRenderer.Init();
            //SfTreeViewRenderer.Init();
            SfButtonRenderer.Init();
            SfBorderRenderer.Init();
            //SfParallaxViewRenderer.Init();
            //SfBadgeViewRenderer.Init();
            //SfExpanderRenderer.Init();
            //SfCardViewRenderer.Init();
            //SfCardLayoutRenderer.Init();
            //SfAccordionRenderer.Init();
            SfSwitchRenderer.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #11
0
 public MainPage()
 {
     this.InitializeComponent();
     SfDataGridRenderer.Init();
     SfListViewRenderer.Init();
     new SfChartRenderer();
     LoadApplication(new ExpenseAnalysis.App());
 }
コード例 #12
0
ファイル: MainPage.xaml.cs プロジェクト: misirolou/BankingApp
 public MainPage()
 {
     this.InitializeComponent();
     this.NavigationCacheMode = NavigationCacheMode.Required;
     //new SfChartRenderer();
     SfDataGridRenderer.Init();
     LoadApplication(new App1.App());
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the MainPage class.
 /// </summary>
 public MainPage()
 {
     this.InitializeComponent();
     SfPopupLayoutRenderer.Init();
     SfDataGridRenderer.Init();
     SfListViewRenderer.Init();
     this.LoadApplication(new SfPopupLayout.App());
 }
コード例 #14
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)
 {
     ZXing.Net.Mobile.Forms.iOS.Platform.Init();
     global::Xamarin.Forms.Forms.Init();
     LoadApplication(new App(new iOSInitializer()));
     SfDataGridRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
コード例 #15
0
 public MainWindow()
 {
     InitializeComponent();
     Forms.Init();
     CoreSampleBrowser.Init();
     SfDataGridRenderer.Init();
     SfListViewRenderer.Init();
     LoadApplication(new SfDataGrid.App());
 }
コード例 #16
0
 /// <summary>
 /// Sent by the default notification center after the application has been launched and initialized but before it has received its first event.
 /// </summary>
 /// <param name="notification">The value for this key is an NSNumber containing a Boolean value. The value is false if the app was launched to open or print a file, to perform a Service action, if the app had saved state that will be restored, or if the app launch was in some other sense not a default launch. Otherwise its value will be true.</param>
 public override void DidFinishLaunching(NSNotification notification)
 {
     Xamarin.Forms.Forms.Init();
     SampleBrowser.Core.MacOS.SampleBrowserMac.Init();
     this.LoadApplication(new App());
     Syncfusion.ListView.XForms.MacOS.SfListViewRenderer.Init();
     SfDataGridRenderer.Init();
     base.DidFinishLaunching(notification);
 }
コード例 #17
0
ファイル: MainPage.xaml.cs プロジェクト: mshaffaff/Sandoghche
        public MainPage()
        {
            this.InitializeComponent();
            SfDataGridRenderer.Init();

            Rg.Plugins.Popup.Popup.Init();

            LoadApplication(new Sandoghche.App());
        }
コード例 #18
0
ファイル: AppDelegate.cs プロジェクト: chinochuy/Xamarin
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            global::Xamarin.Forms.Forms.Init();
            SfDataGridRenderer.Init();
            new SfScheduleRenderer();
            new SfChartRenderer();
            LoadApplication(new PatientMonitor.App());    // method is new in 1.3

            return(base.FinishedLaunching(app, options));
        }
コード例 #19
0
ファイル: MainPage.xaml.cs プロジェクト: grkouk/CodeManager
        public MainPage()
        {
            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("MjUzODczQDMxMzgyZTMxMmUzMG5UNHArR2l3MlJYaklGMlI5aTJXVnRuNnJuN1JLQVk5V1lUV0xaTDVxeGM9;MjUzODc0QDMxMzgyZTMxMmUzMFd6SVAveHB3cVZBQ0RsMUM3MXlhL0JKWjlUbU00R1ladTRlN2RsbGJXWmM9;MjUzODc1QDMxMzgyZTMxMmUzMGVIR01rLzlHYWsvUVlIYXJoSzF5RWQ3dnBxdEtmYjB2YTZRVHROQ0VnRlE9;MjUzODc2QDMxMzgyZTMxMmUzMGJ3aEw0RTBFWDBLUjFxcWIzQk0yRlNEaFdpWExYc2s4aWJIbmFxeE1aNW89;MjUzODc3QDMxMzgyZTMxMmUzMFBiSjkzSHVqMVVhRUNETmE0V1hTZG9PTTF5NDBQYTJicUVXQ2V0WXJRVlE9;MjUzODc4QDMxMzgyZTMxMmUzMGVPS0JHRmlTaTVYRm1lVWdsdTd0YnhuaHVhUnIvblM1OGt4R3g3N0o5Q289;MjUzODc5QDMxMzgyZTMxMmUzMGJuS3REbjJwV3haSWpyb29wT0ZzL2U2bXJmZ0NDaWs2R20xNERtNHVqQ1U9;MjUzODgwQDMxMzgyZTMxMmUzMEJLc2NUWGZjUC84Yms3TDJFdm9iY1BCeTJESDlYVkZvbDVsazFmUTlEYXc9;MjUzODgxQDMxMzgyZTMxMmUzMG15d2c3dXUwZEdEakhyUlMyZ0FYdGRPWHZKM05aNHdXeEN6amVVdU1ralU9;NT8mJyc2IWhia31ifWN9Z2FoYmF8YGJ8ampqanNiYmlmamlmanMDHmg0Njg8JjgTOzwnPjI6P30wPD4=;MjUzODgyQDMxMzgyZTMxMmUzMEJmeXlUUlFUelg0Wnpsa1VCS0FZaDllQkJoSzF4TWp4NVRDbFZIZDNTTWM9");
            SfPickerRenderer.Init();
            FFImageLoading.Forms.Platform.CachedImageRenderer.Init();
            this.InitializeComponent();
            SfDataGridRenderer.Init();

            LoadApplication(new GrKouk.CodeManager.App(new UwpInitializer()));
        }
コード例 #20
0
        /// <summary>
        /// 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.
        /// </summary>
        /// <param name="app">Encapsulates the main processing loop for a mono Touch application type parameter app</param>
        /// <param name="options">Dictionary that provides mapping from keys to values parameter options</param>
        /// <returns>returns base.FinishedLaunching</returns>
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            Forms.Init();
            CoreSampleBrowser.Init(UIScreen.MainScreen.Bounds, app.StatusBarFrame.Size.Height);
            SfPopupLayoutRenderer.Init();
            SfDataGridRenderer.Init();
            SfListViewRenderer.Init();
            this.LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #21
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();

            new Syncfusion.SfChart.XForms.iOS.Renderers.SfChartRenderer();
            SfDataGridRenderer.Init();
            Xamarin.FormsMaps.Init();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #22
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)
        {
            Xamarin.FormsMaps.Init();
            global::Xamarin.Forms.Forms.Init();
            new SfChartRenderer();
            SfDataGridRenderer.Init();
            //App.Speech = new Speech();
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #23
0
        public override void DidFinishLaunching(NSNotification notification)
        {
            Forms.Init();
            SfListViewRenderer.Init();
            SfChartRenderer.Init();
            SfDataGridRenderer.Init();

            LoadApplication(new App());

            base.DidFinishLaunching(notification);
        }
コード例 #24
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();
     SfDataGridRenderer.Init();
     LoadApplication(new App(new iOSInitializer()));
     new SfBusyIndicatorRenderer();
     new SfTreeMapRenderer();
     ImageCircleRenderer.Init();
     RoundedBoxViewRenderer.Init();
     return(base.FinishedLaunching(app, options));
 }
コード例 #25
0
ファイル: AppDelegate.cs プロジェクト: Berrysoft/TsinghuaNet
        //
        // 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)
        {
            Forms.SetFlags("Brush_Experimental");
            Forms.Init();
            SfChartRenderer.Init();
            SfDataGridRenderer.Init();
            SfPopupLayoutRenderer.Init();
            LoadApplication(new App(UIScreen.MainScreen.TraitCollection.GetColorTheme()));

            return(base.FinishedLaunching(app, options));
        }
コード例 #26
0
        public MainPage()
        {
            this.InitializeComponent();

            SfPopupLayoutRenderer.Init();

            SfListViewRenderer.Init();

            SfDataGridRenderer.Init();

            LoadApplication(new SyncfusionXamarinApp1.App());
        }
コード例 #27
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();
            SfListViewRenderer.Init();
            SfPullToRefreshRenderer.Init();
            SfDataGridRenderer.Init();
            new SfNumericUpDownRenderer();
            SampleBrowser.Core.iOS.CoreSampleBrowser.Init(UIScreen.MainScreen.Bounds, app.StatusBarFrame.Size.Height);
            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #28
0
        public MainPage()
        {
            this.InitializeComponent();

            SfPopupLayoutRenderer.Init();

            SfPullToRefreshRenderer.Init();

            SfDataGridRenderer.Init();

            LoadApplication(new ResilITApp.App());
        }
コード例 #29
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)
        {
            Rg.Plugins.Popup.Popup.Init();
            BitCSharpClientControls.Init();

            global::Xamarin.Forms.Forms.Init();
            SfDataGridRenderer.Init();
            new SfNumericTextBoxRenderer();

            LoadApplication(new App());

            return(base.FinishedLaunching(app, options));
        }
コード例 #30
0
        public MainPage()
        {
            this.InitializeComponent();

            SfPopupLayoutRenderer.Init();

            SfListViewRenderer.Init();

            SfPullToRefreshRenderer.Init();

            SfDataGridRenderer.Init();

            //LoadApplication(new Monowallet.FormsApp());
        }