public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/HuntersWP;component/Pages/ElementsPage.xaml", System.UriKind.Relative)); this.page = ((HuntersWP.Models.BasePage)(this.FindName("page"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.QATextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("QATextBlock"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.qRefGrid = ((System.Windows.Controls.Grid)(this.FindName("qRefGrid"))); this.tbQuestionRef = ((System.Windows.Controls.TextBlock)(this.FindName("tbQuestionRef"))); this.tbImage = ((System.Windows.Controls.TextBlock)(this.FindName("tbImage"))); this.tbQuestionHeading = ((System.Windows.Controls.TextBlock)(this.FindName("tbQuestionHeading"))); this.tbCurrentQNmber = ((System.Windows.Controls.TextBlock)(this.FindName("tbCurrentQNmber"))); this.tbQuestionCount = ((System.Windows.Controls.TextBlock)(this.FindName("tbQuestionCount"))); this.cmb1Panel = ((System.Windows.Controls.StackPanel)(this.FindName("cmb1Panel"))); this.cmb1 = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("cmb1"))); this.tb1ForCmb1Panel = ((System.Windows.Controls.StackPanel)(this.FindName("tb1ForCmb1Panel"))); this.tb1ForCmb1 = ((System.Windows.Controls.TextBox)(this.FindName("tb1ForCmb1"))); this.dt1ForCmb1 = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dt1ForCmb1"))); this.panel2 = ((System.Windows.Controls.StackPanel)(this.FindName("panel2"))); this.cmb2 = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("cmb2"))); this.panelTextBoxes = ((Microsoft.Phone.Controls.WrapPanel)(this.FindName("panelTextBoxes"))); this.tbComment = ((System.Windows.Controls.TextBox)(this.FindName("tbComment"))); this.tbQuestionNum = ((System.Windows.Controls.TextBlock)(this.FindName("tbQuestionNum"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/HuntersWP;component/Pages/NewAddressPage.xaml", System.UriKind.Relative)); this.newAddressPage = ((HuntersWP.Models.BasePage)(this.FindName("newAddressPage"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.tbUPRN = ((System.Windows.Controls.TextBox)(this.FindName("tbUPRN"))); this.tbAddress = ((System.Windows.Controls.TextBox)(this.FindName("tbAddress"))); this.cmbType = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("cmbType"))); }