public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/sdkSocketsCS;component/MainPage.xaml", System.UriKind.Relative)); this.Main = ((sdkSocketsCS.basepage)(this.FindName("Main"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.tbStatus = ((System.Windows.Controls.TextBlock)(this.FindName("tbStatus"))); this.gBoard = ((System.Windows.Controls.Grid)(this.FindName("gBoard"))); this.tb_00 = ((System.Windows.Controls.TextBlock)(this.FindName("tb_00"))); this.tb_01 = ((System.Windows.Controls.TextBlock)(this.FindName("tb_01"))); this.tb_02 = ((System.Windows.Controls.TextBlock)(this.FindName("tb_02"))); this.tb_10 = ((System.Windows.Controls.TextBlock)(this.FindName("tb_10"))); this.tb_11 = ((System.Windows.Controls.TextBlock)(this.FindName("tb_11"))); this.tb_12 = ((System.Windows.Controls.TextBlock)(this.FindName("tb_12"))); this.spDiagnostics = ((System.Windows.Controls.StackPanel)(this.FindName("spDiagnostics"))); this.appbarSettings = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbarSettings"))); this.appbarHideDiag = ((Microsoft.Phone.Shell.ApplicationBarMenuItem)(this.FindName("appbarHideDiag"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/sdkSocketsCS;component/settings.xaml", System.UriKind.Relative)); this.SettingsPage = ((sdkSocketsCS.basepage)(this.FindName("SettingsPage"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.txtServerName = ((System.Windows.Controls.TextBox)(this.FindName("txtServerName"))); this.txtPortNumber = ((System.Windows.Controls.TextBox)(this.FindName("txtPortNumber"))); this.appbarSave = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbarSave"))); }