Example #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CrazyParty;component/BinSrc/Pages/LocalDicingPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentCanvas = ((System.Windows.Controls.Canvas)(this.FindName("ContentCanvas")));
     this.partitionLines = ((System.Windows.Controls.Canvas)(this.FindName("partitionLines")));
     this.Dice1 = ((CrazyParty.BinSrc.Dice)(this.FindName("Dice1")));
     this.GameSetting = ((System.Windows.Controls.StackPanel)(this.FindName("GameSetting")));
 }
Example #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/CrazyParty;component/BinSrc/Pages/LiarDicePage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.myAvatar = ((System.Windows.Controls.Image)(this.FindName("myAvatar")));
     this.myUserName = ((System.Windows.Controls.TextBlock)(this.FindName("myUserName")));
     this.myClockText = ((System.Windows.Controls.TextBlock)(this.FindName("myClockText")));
     this.myLiarText = ((System.Windows.Controls.TextBox)(this.FindName("myLiarText")));
     this.playGrid = ((System.Windows.Controls.Grid)(this.FindName("playGrid")));
     this.dice1 = ((CrazyParty.BinSrc.Dice)(this.FindName("dice1")));
     this.dice2 = ((CrazyParty.BinSrc.Dice)(this.FindName("dice2")));
     this.dice3 = ((CrazyParty.BinSrc.Dice)(this.FindName("dice3")));
     this.dice4 = ((CrazyParty.BinSrc.Dice)(this.FindName("dice4")));
     this.dice5 = ((CrazyParty.BinSrc.Dice)(this.FindName("dice5")));
     this.showResultGrid = ((System.Windows.Controls.Grid)(this.FindName("showResultGrid")));
     this.localListBox = ((System.Windows.Controls.ListBox)(this.FindName("localListBox")));
     this.oppListBox = ((System.Windows.Controls.ListBox)(this.FindName("oppListBox")));
     this.oppAvatar = ((System.Windows.Controls.Image)(this.FindName("oppAvatar")));
     this.oppUserName = ((System.Windows.Controls.TextBlock)(this.FindName("oppUserName")));
     this.oppClockText = ((System.Windows.Controls.TextBlock)(this.FindName("oppClockText")));
     this.oppLiarText = ((System.Windows.Controls.TextBox)(this.FindName("oppLiarText")));
     this.numberSelector = ((Controls.Primitives.DigitLoopingSelector)(this.FindName("numberSelector")));
     this.pointSelector = ((Controls.Primitives.DigitLoopingSelector)(this.FindName("pointSelector")));
     this.submitStateBtn = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("submitStateBtn")));
     this.prepareBtn = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("prepareBtn")));
     this.exitBtn = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("exitBtn")));
 }