public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Bejeweled;component/MainPage.xaml", System.UriKind.Relative)); this.sbProgress = ((System.Windows.Media.Animation.Storyboard)(this.FindName("sbProgress"))); this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot"))); this.GameMain = ((Bejeweled.BejeweledGameMain)(this.FindName("GameMain"))); this.tbStartGame = ((System.Windows.Controls.TextBlock)(this.FindName("tbStartGame"))); this.GameScore = ((Bejeweled.Score)(this.FindName("GameScore"))); this.pbGame = ((System.Windows.Controls.ProgressBar)(this.FindName("pbGame"))); }