Ejemplo n.º 1
0
        private void Linking()
        {
            redactorPage = new Redactor(fileManagingPage);

            redactor = new NavigationPage(redactorPage)
            {
                BarBackgroundColor = (Color)Resources["BarBackGroundColor"],
                BarTextColor       = (Color)Resources["BarTextColor"]
            };

            fileManagingPage = new FileManaging(redactorPage);

            fileManager = new NavigationPage(fileManagingPage)
            {
                BarBackgroundColor = (Color)Resources["BarBackGroundColor"],
                BarTextColor       = (Color)Resources["BarTextColor"]
            };

            browser = new NavigationPage(new Browser())
            {
                BarBackgroundColor = (Color)Resources["BarBackGroundColor"],
                BarTextColor       = (Color)Resources["BarTextColor"]
            };

            settings = new NavigationPage(new Settings(redactorPage))
            {
                BarBackgroundColor = (Color)Resources["BarBackGroundColor"],
                BarTextColor       = (Color)Resources["BarTextColor"]
            };
        }
Ejemplo n.º 2
0
        public Redactor(FileManaging _fileManagingPage)
        {
            jdoodle = new JDoodle();

            fileManagingPage = _fileManagingPage;

            InitializeComponent();

            Linking();

            ConnectivityCheck();

            CrossConnectivity.Current.ConnectivityChanged +=
                Current_ConnectivityChanged;
        }