Ejemplo n.º 1
0
        public LogPage()
        {
            InitializeComponent();

            this._logger = new Logging.Logging();

            this.LogText = this._logger.GetLogText();

            this.BindingContext = this;
        }
Ejemplo n.º 2
0
        public MainPage()
        {
            GetLastKownLocation();
            GetCurrentDate();
            this.ServiceControllBtnText = "Start";
            this._ServiceCtrlBtnState   = App.IsServiceRunning;

            InitializeComponent();

            if (this._logger == null)
            {
                this._logger = new Logging.Logging();
            }

            this._logger.WriteLogEntry(Logging.LoggingType.INFO, "App gestartet!");

            this.BindingContext = this;
        }
Ejemplo n.º 3
0
        public ExportPage()
        {
            this.isCSV       = false;
            this.isEXCEL     = false;
            this.LogFileName = "";
            this._logger     = new Logging.Logging();

            this._extStorage = DependencyService.Get <IExtStorage>();

            int month       = DateTime.Now.Month;
            int year        = DateTime.Now.Year;
            int daysInMonth = DateTime.DaysInMonth(year, month);

            this.FromDate = new DateTime(year, month, 1);
            this.ToDate   = new DateTime(year, month, daysInMonth);

            InitializeComponent();

            this.BindingContext = this;
        }