コード例 #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"]
            };
        }
コード例 #2
0
        public Settings(Redactor _redactorPage)
        {
            InitializeComponent();

            languages = new Dictionary <string, string>();

            redactorPage = _redactorPage;

            Linking();
        }
コード例 #3
0
        public FilePreview(string _fileName, string _fileText,
                           Redactor _redactorPage)
        {
            InitializeComponent();

            redactorPage = _redactorPage;

            Linking();

            fileName.Text = _fileName;

            textEditor.Text = _fileText;
        }
コード例 #4
0
        public Camera(Redactor _redactorPage)
        {
            redactorPage = _redactorPage;

            InitializeComponent();

            Linking();

            ConnectivityCheck();

            //проверяет подключение
            //если подключение есть - появляются кнопки и прочее
            //если нет - то оставляем толко сообщенеи о том,
            ///что подключение отсутствует
            CrossConnectivity.Current.ConnectivityChanged +=
                Current_ConnectivityChanged;
        }
コード例 #5
0
        public FileManaging(Redactor _redactorPage)
        {
            redactorPage = _redactorPage;

            InitializeComponent();
        }