public LogPage() { InitializeComponent(); this._logger = new Logging.Logging(); this.LogText = this._logger.GetLogText(); this.BindingContext = this; }
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; }
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; }