Beispiel #1
0
        public LogPage()
        {
            InitializeComponent();

            this._logger = new Logging.Logging();

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

            this.BindingContext = this;
        }
Beispiel #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;
        }
Beispiel #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;
        }