public MainPage() { InitializeComponent(); ParentGrid.Background = new SolidColorBrush(Colors.Black); // Set all design time text entries to nothing TemperatureTxb.Text = string.Empty; WeatherIcon.Source = null; WeatherDescirptionTxb.Text = string.Empty; LocationTxb.Text = Strings.LoadingWeatherData; SpecialNote.Text = string.Empty; Day0Txb.Text = Strings.LoadingCalendarEvents; Day0Sp.Children.Clear(); Day1Sp.Children.Clear(); Day1Txb.Text = string.Empty; Day2Txb.Text = string.Empty; Day3Txb.Text = string.Empty; Day4Txb.Text = string.Empty; Day5Txb.Text = string.Empty; Day6Txb.Text = string.Empty; var webserverEventProxy = WebServerEventProxy.Instance; webserverEventProxy.ValueChanged += WebserverEventProxy_ValueChanged; specialDayCalendar = new SpecialDayCalendar(); webServer = new MirrorWebServer(); }
public MainPage() { InitializeComponent(); ParentGrid.Background = new SolidColorBrush(Colors.Black); // Set all design time text entries to nothing TemperatureTxb.Text = string.Empty; WeatherIcon.Source = null; WeatherDescirptionTxb.Text = string.Empty; LocationTxb.Text = Strings.LoadingWeatherData; SpecialNote.Text = string.Empty; Day0Txb.Text = Strings.LoadingCalendarEvents; Day0Sp.Children.Clear(); Day1Sp.Children.Clear(); Day1Txb.Text = string.Empty; Day2Txb.Text = string.Empty; Day3Txb.Text = string.Empty; Day4Txb.Text = string.Empty; Day5Txb.Text = string.Empty; Day6Txb.Text = string.Empty; var webserverEventProxy = WebServerEventProxy.Instance; webserverEventProxy.ValueChanged += WebserverEventProxy_ValueChanged; specialDayCalendar = new SpecialDayCalendar(); webServer = new MirrorWebServer(); }