Пример #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DuelPortalCS;component/Views/DuelFieldNew.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.BordOpST1            = ((System.Windows.Controls.Border)(this.FindName("BordOpST1")));
     this.BordOpST2            = ((System.Windows.Controls.Border)(this.FindName("BordOpST2")));
     this.BordOpST3            = ((System.Windows.Controls.Border)(this.FindName("BordOpST3")));
     this.BordOpST4            = ((System.Windows.Controls.Border)(this.FindName("BordOpST4")));
     this.BordOpST5            = ((System.Windows.Controls.Border)(this.FindName("BordOpST5")));
     this.BordOpMon1           = ((System.Windows.Controls.Border)(this.FindName("BordOpMon1")));
     this.BordOpMon2           = ((System.Windows.Controls.Border)(this.FindName("BordOpMon2")));
     this.BordOpMon3           = ((System.Windows.Controls.Border)(this.FindName("BordOpMon3")));
     this.BordOpMon4           = ((System.Windows.Controls.Border)(this.FindName("BordOpMon4")));
     this.BordOpMon5           = ((System.Windows.Controls.Border)(this.FindName("BordOpMon5")));
     this.BordOpDeck           = ((System.Windows.Controls.Border)(this.FindName("BordOpDeck")));
     this.BordOpGrave          = ((System.Windows.Controls.Border)(this.FindName("BordOpGrave")));
     this.BordOpRFG            = ((System.Windows.Controls.Border)(this.FindName("BordOpRFG")));
     this.BordOpEDeck          = ((System.Windows.Controls.Border)(this.FindName("BordOpEDeck")));
     this.BordOpFSpell         = ((System.Windows.Controls.Border)(this.FindName("BordOpFSpell")));
     this.BordMon1             = ((System.Windows.Controls.Border)(this.FindName("BordMon1")));
     this.BordMon2             = ((System.Windows.Controls.Border)(this.FindName("BordMon2")));
     this.BordMon3             = ((System.Windows.Controls.Border)(this.FindName("BordMon3")));
     this.BordMon4             = ((System.Windows.Controls.Border)(this.FindName("BordMon4")));
     this.BordMon5             = ((System.Windows.Controls.Border)(this.FindName("BordMon5")));
     this.BordST1              = ((System.Windows.Controls.Border)(this.FindName("BordST1")));
     this.BordST2              = ((System.Windows.Controls.Border)(this.FindName("BordST2")));
     this.BordST3              = ((System.Windows.Controls.Border)(this.FindName("BordST3")));
     this.BordST4              = ((System.Windows.Controls.Border)(this.FindName("BordST4")));
     this.BordST5              = ((System.Windows.Controls.Border)(this.FindName("BordST5")));
     this.BordFSpell           = ((System.Windows.Controls.Border)(this.FindName("BordFSpell")));
     this.BordEDeck            = ((System.Windows.Controls.Border)(this.FindName("BordEDeck")));
     this.BordRFG              = ((System.Windows.Controls.Border)(this.FindName("BordRFG")));
     this.BordGrave            = ((System.Windows.Controls.Border)(this.FindName("BordGrave")));
     this.BordDeck             = ((System.Windows.Controls.Border)(this.FindName("BordDeck")));
     this.Rectangle4           = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle4")));
     this.Rectangle5           = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle5")));
     this.cmdDrawPhase         = ((System.Windows.Controls.Button)(this.FindName("cmdDrawPhase")));
     this.cmdStandbyPhase      = ((System.Windows.Controls.Button)(this.FindName("cmdStandbyPhase")));
     this.cmdMainPhase1        = ((System.Windows.Controls.Button)(this.FindName("cmdMainPhase1")));
     this.cmdBattlePhase       = ((System.Windows.Controls.Button)(this.FindName("cmdBattlePhase")));
     this.cmdMainPhase2        = ((System.Windows.Controls.Button)(this.FindName("cmdMainPhase2")));
     this.cmdEndPhase          = ((System.Windows.Controls.Button)(this.FindName("cmdEndPhase")));
     this.cmdEndTurn           = ((System.Windows.Controls.Button)(this.FindName("cmdEndTurn")));
     this.Grid1                = ((System.Windows.Controls.Grid)(this.FindName("Grid1")));
     this.lstMessages          = ((System.Windows.Controls.ListBox)(this.FindName("lstMessages")));
     this.cmdSendText          = ((System.Windows.Controls.Button)(this.FindName("cmdSendText")));
     this.txtSendText          = ((System.Windows.Controls.TextBox)(this.FindName("txtSendText")));
     this.Frame1               = ((System.Windows.Controls.Border)(this.FindName("Frame1")));
     this.lblATKplaceholder    = ((System.Windows.Controls.TextBlock)(this.FindName("lblATKplaceholder")));
     this.txtATK               = ((System.Windows.Controls.TextBox)(this.FindName("txtATK")));
     this.txtDEF               = ((System.Windows.Controls.TextBox)(this.FindName("txtDEF")));
     this.lblDEFplaceholder    = ((System.Windows.Controls.TextBlock)(this.FindName("lblDEFplaceholder")));
     this.txtCounters          = ((System.Windows.Controls.TextBox)(this.FindName("txtCounters")));
     this.lblCountersLabel     = ((System.Windows.Controls.TextBlock)(this.FindName("lblCountersLabel")));
     this.cmdEditStats         = ((System.Windows.Controls.Button)(this.FindName("cmdEditStats")));
     this.lblName              = ((System.Windows.Controls.TextBlock)(this.FindName("lblName")));
     this.imgAttribute         = ((System.Windows.Controls.Image)(this.FindName("imgAttribute")));
     this.staStars             = ((System.Windows.Controls.StackPanel)(this.FindName("staStars")));
     this.imgStars1            = ((System.Windows.Controls.Image)(this.FindName("imgStars1")));
     this.imgStars2            = ((System.Windows.Controls.Image)(this.FindName("imgStars2")));
     this.imgStars3            = ((System.Windows.Controls.Image)(this.FindName("imgStars3")));
     this.imgStars4            = ((System.Windows.Controls.Image)(this.FindName("imgStars4")));
     this.imgStars5            = ((System.Windows.Controls.Image)(this.FindName("imgStars5")));
     this.imgStars6            = ((System.Windows.Controls.Image)(this.FindName("imgStars6")));
     this.imgStars7            = ((System.Windows.Controls.Image)(this.FindName("imgStars7")));
     this.imgStars8            = ((System.Windows.Controls.Image)(this.FindName("imgStars8")));
     this.imgStars9            = ((System.Windows.Controls.Image)(this.FindName("imgStars9")));
     this.imgStars10           = ((System.Windows.Controls.Image)(this.FindName("imgStars10")));
     this.imgStars11           = ((System.Windows.Controls.Image)(this.FindName("imgStars11")));
     this.imgStars12           = ((System.Windows.Controls.Image)(this.FindName("imgStars12")));
     this.imgSTIcon            = ((System.Windows.Controls.Image)(this.FindName("imgSTIcon")));
     this.lblType              = ((System.Windows.Controls.TextBlock)(this.FindName("lblType")));
     this.lblPlayerLP          = ((System.Windows.Controls.TextBlock)(this.FindName("lblPlayerLP")));
     this.lblOpponentLP        = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpponentLP")));
     this.txtTurnCount         = ((System.Windows.Controls.TextBox)(this.FindName("txtTurnCount")));
     this.ctxtDeck             = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtDeck")));
     this.ctxtHand             = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtHand")));
     this.ctxtMonster          = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtMonster")));
     this.ctxtSpellTrap        = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtSpellTrap")));
     this.ctxtMonsterEmpty     = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtMonsterEmpty")));
     this.ctxtXyz              = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtXyz")));
     this.lblNamePopup         = ((System.Windows.Controls.Grid)(this.FindName("lblNamePopup")));
     this.imgBattleOrigin      = ((System.Windows.Controls.Image)(this.FindName("imgBattleOrigin")));
     this.cmdGainLP            = ((System.Windows.Controls.Button)(this.FindName("cmdGainLP")));
     this.cmdLoseLP            = ((System.Windows.Controls.Button)(this.FindName("cmdLoseLP")));
     this.txtLPChange          = ((System.Windows.Controls.TextBox)(this.FindName("txtLPChange")));
     this.imgMoveDestination   = ((System.Windows.Controls.Image)(this.FindName("imgMoveDestination")));
     this.imgMoveOrigin        = ((System.Windows.Controls.Image)(this.FindName("imgMoveOrigin")));
     this.lblLore              = ((System.Windows.Controls.TextBox)(this.FindName("lblLore")));
     this.textBlock1           = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.cmbRevealHistory     = ((System.Windows.Controls.ComboBox)(this.FindName("cmbRevealHistory")));
     this.cmdShuffleHand       = ((System.Windows.Controls.Button)(this.FindName("cmdShuffleHand")));
     this.lblOpponentHandCount = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpponentHandCount")));
     this.staHand              = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staHand")));
     this.staOpHand            = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staOpHand")));
     this.staXyz1              = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staXyz1")));
     this.staXyz2              = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staXyz2")));
     this.staXyz3              = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staXyz3")));
     this.staXyz4              = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staXyz4")));
     this.staXyz5              = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staXyz5")));
     this.staOpXyz1            = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staOpXyz1")));
     this.staOpXyz2            = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staOpXyz2")));
     this.staOpXyz3            = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staOpXyz3")));
     this.staOpXyz4            = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staOpXyz4")));
     this.staOpXyz5            = ((DuelPortalCS.Views.OverlapStackPanel)(this.FindName("staOpXyz5")));
     this.PlayerAvatar         = ((System.Windows.Controls.Image)(this.FindName("PlayerAvatar")));
     this.OpponentAvatar       = ((System.Windows.Controls.Image)(this.FindName("OpponentAvatar")));
     this.lblPlayerName        = ((System.Windows.Controls.TextBlock)(this.FindName("lblPlayerName")));
     this.lblOpponentName      = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpponentName")));
     this.imgWatch             = ((System.Windows.Controls.Image)(this.FindName("imgWatch")));
     this.bordTarget           = ((System.Windows.Controls.Border)(this.FindName("bordTarget")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DuelPortalCS;component/Views/DeckEditor.xaml", System.UriKind.Relative));
     this.DeckEditorScroll   = ((System.Windows.Controls.ScrollViewer)(this.FindName("DeckEditorScroll")));
     this.Root               = ((System.Windows.Controls.Canvas)(this.FindName("Root")));
     this.fraSearch          = ((System.Windows.Controls.Frame)(this.FindName("fraSearch")));
     this.Label2             = ((System.Windows.Controls.TextBlock)(this.FindName("Label2")));
     this.txtName            = ((System.Windows.Controls.TextBox)(this.FindName("txtName")));
     this.Label1             = ((System.Windows.Controls.TextBlock)(this.FindName("Label1")));
     this.txtDesc            = ((System.Windows.Controls.TextBox)(this.FindName("txtDesc")));
     this.cmbSet             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSet")));
     this.Label4             = ((System.Windows.Controls.TextBlock)(this.FindName("Label4")));
     this.chkMonsters        = ((System.Windows.Controls.CheckBox)(this.FindName("chkMonsters")));
     this.chkSpells          = ((System.Windows.Controls.CheckBox)(this.FindName("chkSpells")));
     this.chkTraps           = ((System.Windows.Controls.CheckBox)(this.FindName("chkTraps")));
     this.cmbAttribute       = ((System.Windows.Controls.ComboBox)(this.FindName("cmbAttribute")));
     this.cmbType            = ((System.Windows.Controls.ComboBox)(this.FindName("cmbType")));
     this.cmbEffect          = ((System.Windows.Controls.ComboBox)(this.FindName("cmbEffect")));
     this.Label3             = ((System.Windows.Controls.TextBlock)(this.FindName("Label3")));
     this.Label5             = ((System.Windows.Controls.TextBlock)(this.FindName("Label5")));
     this.Label6             = ((System.Windows.Controls.TextBlock)(this.FindName("Label6")));
     this.cmbATK             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbATK")));
     this.cmbDEF             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbDEF")));
     this.cmbLevel           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLevel")));
     this.txtATK             = ((System.Windows.Controls.TextBox)(this.FindName("txtATK")));
     this.txtDEF             = ((System.Windows.Controls.TextBox)(this.FindName("txtDEF")));
     this.txtLevel           = ((System.Windows.Controls.TextBox)(this.FindName("txtLevel")));
     this.cmbSpells          = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSpells")));
     this.cmbTraps           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbTraps")));
     this.cmdSearch          = ((System.Windows.Controls.Button)(this.FindName("cmdSearch")));
     this.lstBySetList       = ((System.Windows.Controls.ListBox)(this.FindName("lstBySetList")));
     this.Image1             = ((System.Windows.Controls.Image)(this.FindName("Image1")));
     this.Image2             = ((System.Windows.Controls.Image)(this.FindName("Image2")));
     this.Image3             = ((System.Windows.Controls.Image)(this.FindName("Image3")));
     this.Image4             = ((System.Windows.Controls.Image)(this.FindName("Image4")));
     this.Image5             = ((System.Windows.Controls.Image)(this.FindName("Image5")));
     this.Image6             = ((System.Windows.Controls.Image)(this.FindName("Image6")));
     this.Image7             = ((System.Windows.Controls.Image)(this.FindName("Image7")));
     this.Image8             = ((System.Windows.Controls.Image)(this.FindName("Image8")));
     this.Image9             = ((System.Windows.Controls.Image)(this.FindName("Image9")));
     this.Image10            = ((System.Windows.Controls.Image)(this.FindName("Image10")));
     this.Image11            = ((System.Windows.Controls.Image)(this.FindName("Image11")));
     this.Image12            = ((System.Windows.Controls.Image)(this.FindName("Image12")));
     this.Image13            = ((System.Windows.Controls.Image)(this.FindName("Image13")));
     this.Image14            = ((System.Windows.Controls.Image)(this.FindName("Image14")));
     this.Image15            = ((System.Windows.Controls.Image)(this.FindName("Image15")));
     this.Image16            = ((System.Windows.Controls.Image)(this.FindName("Image16")));
     this.Image17            = ((System.Windows.Controls.Image)(this.FindName("Image17")));
     this.Image18            = ((System.Windows.Controls.Image)(this.FindName("Image18")));
     this.Image19            = ((System.Windows.Controls.Image)(this.FindName("Image19")));
     this.Image20            = ((System.Windows.Controls.Image)(this.FindName("Image20")));
     this.Image21            = ((System.Windows.Controls.Image)(this.FindName("Image21")));
     this.Image22            = ((System.Windows.Controls.Image)(this.FindName("Image22")));
     this.Image23            = ((System.Windows.Controls.Image)(this.FindName("Image23")));
     this.Image24            = ((System.Windows.Controls.Image)(this.FindName("Image24")));
     this.Image25            = ((System.Windows.Controls.Image)(this.FindName("Image25")));
     this.Image26            = ((System.Windows.Controls.Image)(this.FindName("Image26")));
     this.Image27            = ((System.Windows.Controls.Image)(this.FindName("Image27")));
     this.Image28            = ((System.Windows.Controls.Image)(this.FindName("Image28")));
     this.Image29            = ((System.Windows.Controls.Image)(this.FindName("Image29")));
     this.Image30            = ((System.Windows.Controls.Image)(this.FindName("Image30")));
     this.Image31            = ((System.Windows.Controls.Image)(this.FindName("Image31")));
     this.Image32            = ((System.Windows.Controls.Image)(this.FindName("Image32")));
     this.Image33            = ((System.Windows.Controls.Image)(this.FindName("Image33")));
     this.Image34            = ((System.Windows.Controls.Image)(this.FindName("Image34")));
     this.Image35            = ((System.Windows.Controls.Image)(this.FindName("Image35")));
     this.Image36            = ((System.Windows.Controls.Image)(this.FindName("Image36")));
     this.Image37            = ((System.Windows.Controls.Image)(this.FindName("Image37")));
     this.Image38            = ((System.Windows.Controls.Image)(this.FindName("Image38")));
     this.Image39            = ((System.Windows.Controls.Image)(this.FindName("Image39")));
     this.lstCurrentDeckList = ((System.Windows.Controls.ListBox)(this.FindName("lstCurrentDeckList")));
     this.lstExtraDeckList   = ((System.Windows.Controls.ListBox)(this.FindName("lstExtraDeckList")));
     this.imgExtra1          = ((System.Windows.Controls.Image)(this.FindName("imgExtra1")));
     this.imgExtra2          = ((System.Windows.Controls.Image)(this.FindName("imgExtra2")));
     this.imgExtra3          = ((System.Windows.Controls.Image)(this.FindName("imgExtra3")));
     this.imgExtra4          = ((System.Windows.Controls.Image)(this.FindName("imgExtra4")));
     this.imgExtra5          = ((System.Windows.Controls.Image)(this.FindName("imgExtra5")));
     this.imgExtra6          = ((System.Windows.Controls.Image)(this.FindName("imgExtra6")));
     this.imgExtra7          = ((System.Windows.Controls.Image)(this.FindName("imgExtra7")));
     this.imgExtra8          = ((System.Windows.Controls.Image)(this.FindName("imgExtra8")));
     this.imgExtra9          = ((System.Windows.Controls.Image)(this.FindName("imgExtra9")));
     this.imgExtra10         = ((System.Windows.Controls.Image)(this.FindName("imgExtra10")));
     this.imgExtra11         = ((System.Windows.Controls.Image)(this.FindName("imgExtra11")));
     this.imgExtra12         = ((System.Windows.Controls.Image)(this.FindName("imgExtra12")));
     this.imgExtra13         = ((System.Windows.Controls.Image)(this.FindName("imgExtra13")));
     this.imgExtra14         = ((System.Windows.Controls.Image)(this.FindName("imgExtra14")));
     this.imgExtra15         = ((System.Windows.Controls.Image)(this.FindName("imgExtra15")));
     this.imgDeckEditorImg   = ((System.Windows.Controls.Image)(this.FindName("imgDeckEditorImg")));
     this.Label8             = ((System.Windows.Controls.TextBlock)(this.FindName("Label8")));
     this.Label9             = ((System.Windows.Controls.TextBlock)(this.FindName("Label9")));
     this.Label10            = ((System.Windows.Controls.TextBlock)(this.FindName("Label10")));
     this.Label11            = ((System.Windows.Controls.TextBlock)(this.FindName("Label11")));
     this.Label12            = ((System.Windows.Controls.TextBlock)(this.FindName("Label12")));
     this.Label13            = ((System.Windows.Controls.TextBlock)(this.FindName("Label13")));
     this.Label14            = ((System.Windows.Controls.TextBlock)(this.FindName("Label14")));
     this.frameMainDeck      = ((System.Windows.Controls.TextBlock)(this.FindName("frameMainDeck")));
     this.lblCardName        = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardName")));
     this.lblCardAttribute   = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardAttribute")));
     this.lblCardType        = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardType")));
     this.lblSetName         = ((System.Windows.Controls.TextBlock)(this.FindName("lblSetName")));
     this.lblCardLevel       = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardLevel")));
     this.lblCardATK         = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardATK")));
     this.lblCardDEF         = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardDEF")));
     this.Image40            = ((System.Windows.Controls.Image)(this.FindName("Image40")));
     this.txtNews            = ((System.Windows.Controls.TextBlock)(this.FindName("txtNews")));
     this.lstBanned          = ((System.Windows.Controls.ListBox)(this.FindName("lstBanned")));
     this.lstLimited         = ((System.Windows.Controls.ListBox)(this.FindName("lstLimited")));
     this.lstSemi            = ((System.Windows.Controls.ListBox)(this.FindName("lstSemi")));
     this.cmdSaveAs          = ((System.Windows.Controls.Button)(this.FindName("cmdSaveAs")));
     this.txtSaveAs          = ((System.Windows.Controls.TextBox)(this.FindName("txtSaveAs")));
     this.cmdSave            = ((System.Windows.Controls.Button)(this.FindName("cmdSave")));
     this.cmbLoadDeck        = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLoadDeck")));
     this.chkTournament      = ((System.Windows.Controls.CheckBox)(this.FindName("chkTournament")));
     this.chkTraditional     = ((System.Windows.Controls.CheckBox)(this.FindName("chkTraditional")));
     this.cmdClear           = ((System.Windows.Controls.Button)(this.FindName("cmdClear")));
     this.Image41            = ((System.Windows.Controls.Image)(this.FindName("Image41")));
     this.Image42            = ((System.Windows.Controls.Image)(this.FindName("Image42")));
     this.Image43            = ((System.Windows.Controls.Image)(this.FindName("Image43")));
     this.Image44            = ((System.Windows.Controls.Image)(this.FindName("Image44")));
     this.Image45            = ((System.Windows.Controls.Image)(this.FindName("Image45")));
     this.imgSide1           = ((System.Windows.Controls.Image)(this.FindName("imgSide1")));
     this.imgSide2           = ((System.Windows.Controls.Image)(this.FindName("imgSide2")));
     this.imgSide3           = ((System.Windows.Controls.Image)(this.FindName("imgSide3")));
     this.imgSide4           = ((System.Windows.Controls.Image)(this.FindName("imgSide4")));
     this.imgSide5           = ((System.Windows.Controls.Image)(this.FindName("imgSide5")));
     this.imgSide6           = ((System.Windows.Controls.Image)(this.FindName("imgSide6")));
     this.imgSide7           = ((System.Windows.Controls.Image)(this.FindName("imgSide7")));
     this.imgSide8           = ((System.Windows.Controls.Image)(this.FindName("imgSide8")));
     this.imgSide9           = ((System.Windows.Controls.Image)(this.FindName("imgSide9")));
     this.imgSide10          = ((System.Windows.Controls.Image)(this.FindName("imgSide10")));
     this.imgSide11          = ((System.Windows.Controls.Image)(this.FindName("imgSide11")));
     this.imgSide12          = ((System.Windows.Controls.Image)(this.FindName("imgSide12")));
     this.imgSide13          = ((System.Windows.Controls.Image)(this.FindName("imgSide13")));
     this.imgSide14          = ((System.Windows.Controls.Image)(this.FindName("imgSide14")));
     this.imgSide15          = ((System.Windows.Controls.Image)(this.FindName("imgSide15")));
     this.cmdPrevPage        = ((System.Windows.Controls.Button)(this.FindName("cmdPrevPage")));
     this.cmdNextPage        = ((System.Windows.Controls.Button)(this.FindName("cmdNextPage")));
     this.lstSideDeckList    = ((System.Windows.Controls.ListBox)(this.FindName("lstSideDeckList")));
     this.ctxtSideDeck       = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtSideDeck")));
     this.cmdLegacyLoad      = ((System.Windows.Controls.Button)(this.FindName("cmdLegacyLoad")));
     this.cmdDoneSideDecking = ((System.Windows.Controls.Button)(this.FindName("cmdDoneSideDecking")));
     this.cmdShareSpecific   = ((System.Windows.Controls.Button)(this.FindName("cmdShareSpecific")));
     this.cmdShareSet        = ((System.Windows.Controls.Button)(this.FindName("cmdShareSet")));
     this.cmdSort            = ((System.Windows.Controls.Button)(this.FindName("cmdSort")));
     this.lblRollOver        = ((System.Windows.Controls.TextBlock)(this.FindName("lblRollOver")));
     this.imgFullView        = ((System.Windows.Controls.Image)(this.FindName("imgFullView")));
     this.lblCardLore        = ((System.Windows.Controls.TextBox)(this.FindName("lblCardLore")));
     this.cmdDeleteDeck      = ((System.Windows.Controls.Button)(this.FindName("cmdDeleteDeck")));
     this.cmdClipboard       = ((System.Windows.Controls.Button)(this.FindName("cmdClipboard")));
     this.cmdSortNum         = ((System.Windows.Controls.Button)(this.FindName("cmdSortNum")));
     this.cmdResetSearch     = ((System.Windows.Controls.Button)(this.FindName("cmdResetSearch")));
     this.cmdSubmitDeck      = ((System.Windows.Controls.Button)(this.FindName("cmdSubmitDeck")));
     this.radPublic          = ((System.Windows.Controls.RadioButton)(this.FindName("radPublic")));
     this.radMine            = ((System.Windows.Controls.RadioButton)(this.FindName("radMine")));
 }
Пример #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DuelPortalCS;component/Views/DeckEditorNew.xaml", System.UriKind.Relative));
     this.Root               = ((System.Windows.Controls.Canvas)(this.FindName("Root")));
     this.lstLoadedCards     = ((System.Windows.Controls.ListBox)(this.FindName("lstLoadedCards")));
     this.lstCurrentDeckList = ((System.Windows.Controls.ListBox)(this.FindName("lstCurrentDeckList")));
     this.lstExtraDeckList   = ((System.Windows.Controls.ListBox)(this.FindName("lstExtraDeckList")));
     this.Label11            = ((System.Windows.Controls.TextBlock)(this.FindName("Label11")));
     this.lblCardName        = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardName")));
     this.lblCardType        = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardType")));
     this.lblSetName         = ((System.Windows.Controls.TextBlock)(this.FindName("lblSetName")));
     this.lblCardLevel       = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardLevel")));
     this.cmdSaveAs          = ((System.Windows.Controls.Button)(this.FindName("cmdSaveAs")));
     this.txtSaveAs          = ((System.Windows.Controls.TextBox)(this.FindName("txtSaveAs")));
     this.cmdSave            = ((System.Windows.Controls.Button)(this.FindName("cmdSave")));
     this.cmbLoadDeck        = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLoadDeck")));
     this.chkTournament      = ((System.Windows.Controls.CheckBox)(this.FindName("chkTournament")));
     this.chkTraditional     = ((System.Windows.Controls.CheckBox)(this.FindName("chkTraditional")));
     this.cmdClear           = ((System.Windows.Controls.Button)(this.FindName("cmdClear")));
     this.cmdPrevPage        = ((System.Windows.Controls.Button)(this.FindName("cmdPrevPage")));
     this.cmdNextPage        = ((System.Windows.Controls.Button)(this.FindName("cmdNextPage")));
     this.lstSideDeckList    = ((System.Windows.Controls.ListBox)(this.FindName("lstSideDeckList")));
     this.ctxtSideDeck       = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtSideDeck")));
     this.cmdLegacyLoad      = ((System.Windows.Controls.Button)(this.FindName("cmdLegacyLoad")));
     this.cmdDoneSideDecking = ((System.Windows.Controls.Button)(this.FindName("cmdDoneSideDecking")));
     this.cmdSort            = ((System.Windows.Controls.Button)(this.FindName("cmdSort")));
     this.lblCardLore        = ((System.Windows.Controls.TextBox)(this.FindName("lblCardLore")));
     this.cmdDeleteDeck      = ((System.Windows.Controls.Button)(this.FindName("cmdDeleteDeck")));
     this.cmdClipboard       = ((System.Windows.Controls.Button)(this.FindName("cmdClipboard")));
     this.cmdSortNum         = ((System.Windows.Controls.Button)(this.FindName("cmdSortNum")));
     this.brdMainDeck        = ((System.Windows.Controls.Border)(this.FindName("brdMainDeck")));
     this.cnvMainDeck        = ((System.Windows.Controls.Canvas)(this.FindName("cnvMainDeck")));
     this.brdExtraDeck       = ((System.Windows.Controls.Border)(this.FindName("brdExtraDeck")));
     this.cnvExtraDeck       = ((System.Windows.Controls.Canvas)(this.FindName("cnvExtraDeck")));
     this.brdSideDeck        = ((System.Windows.Controls.Border)(this.FindName("brdSideDeck")));
     this.cnvSideDeck        = ((System.Windows.Controls.Canvas)(this.FindName("cnvSideDeck")));
     this.Label2             = ((System.Windows.Controls.TextBlock)(this.FindName("Label2")));
     this.txtNameAndDesc     = ((System.Windows.Controls.TextBox)(this.FindName("txtNameAndDesc")));
     this.Label4             = ((System.Windows.Controls.TextBlock)(this.FindName("Label4")));
     this.cmbSet             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSet")));
     this.chkMonsters        = ((System.Windows.Controls.CheckBox)(this.FindName("chkMonsters")));
     this.cmbAttribute       = ((System.Windows.Controls.ComboBox)(this.FindName("cmbAttribute")));
     this.cmbType            = ((System.Windows.Controls.ComboBox)(this.FindName("cmbType")));
     this.cmbEffect          = ((System.Windows.Controls.ComboBox)(this.FindName("cmbEffect")));
     this.Label3             = ((System.Windows.Controls.TextBlock)(this.FindName("Label3")));
     this.cmbATK             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbATK")));
     this.cmbDEF             = ((System.Windows.Controls.ComboBox)(this.FindName("cmbDEF")));
     this.cmbLevel           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLevel")));
     this.txtATK             = ((System.Windows.Controls.TextBox)(this.FindName("txtATK")));
     this.txtDEF             = ((System.Windows.Controls.TextBox)(this.FindName("txtDEF")));
     this.txtLevel           = ((System.Windows.Controls.TextBox)(this.FindName("txtLevel")));
     this.Label5             = ((System.Windows.Controls.TextBlock)(this.FindName("Label5")));
     this.Label6             = ((System.Windows.Controls.TextBlock)(this.FindName("Label6")));
     this.chkSpells          = ((System.Windows.Controls.CheckBox)(this.FindName("chkSpells")));
     this.cmbSpells          = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSpells")));
     this.chkTraps           = ((System.Windows.Controls.CheckBox)(this.FindName("chkTraps")));
     this.cmbTraps           = ((System.Windows.Controls.ComboBox)(this.FindName("cmbTraps")));
     this.radMine            = ((System.Windows.Controls.RadioButton)(this.FindName("radMine")));
     this.radPublic          = ((System.Windows.Controls.RadioButton)(this.FindName("radPublic")));
     this.cmdSearch          = ((System.Windows.Controls.Button)(this.FindName("cmdSearch")));
     this.cmdResetSearch     = ((System.Windows.Controls.Button)(this.FindName("cmdResetSearch")));
     this.lblPageNum         = ((System.Windows.Controls.TextBlock)(this.FindName("lblPageNum")));
     this.lblCardATK         = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardATK")));
     this.lblCardDEF         = ((System.Windows.Controls.TextBlock)(this.FindName("lblCardDEF")));
     this.imgChosenCard      = ((System.Windows.Controls.Image)(this.FindName("imgChosenCard")));
     this.lblDeckStats       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDeckStats")));
     this.imgCardAttribute   = ((System.Windows.Controls.Image)(this.FindName("imgCardAttribute")));
     this.imgSTIcon          = ((System.Windows.Controls.Image)(this.FindName("imgSTIcon")));
     this.staLevel           = ((System.Windows.Controls.StackPanel)(this.FindName("staLevel")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DuelPortalCS;component/DuelField2.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.opstZone1         = ((System.Windows.Controls.Image)(this.FindName("opstZone1")));
     this.opstZone2         = ((System.Windows.Controls.Image)(this.FindName("opstZone2")));
     this.opstZone3         = ((System.Windows.Controls.Image)(this.FindName("opstZone3")));
     this.opstZone4         = ((System.Windows.Controls.Image)(this.FindName("opstZone4")));
     this.opstZone5         = ((System.Windows.Controls.Image)(this.FindName("opstZone5")));
     this.opMonZone1        = ((System.Windows.Controls.Image)(this.FindName("opMonZone1")));
     this.opMonZone2        = ((System.Windows.Controls.Image)(this.FindName("opMonZone2")));
     this.opMonZone3        = ((System.Windows.Controls.Image)(this.FindName("opMonZone3")));
     this.opMonZone4        = ((System.Windows.Controls.Image)(this.FindName("opMonZone4")));
     this.opMonZone5        = ((System.Windows.Controls.Image)(this.FindName("opMonZone5")));
     this.Image11           = ((System.Windows.Controls.Image)(this.FindName("Image11")));
     this.opGraveZone       = ((System.Windows.Controls.Image)(this.FindName("opGraveZone")));
     this.oprfgZone         = ((System.Windows.Controls.Image)(this.FindName("oprfgZone")));
     this.Image14           = ((System.Windows.Controls.Image)(this.FindName("Image14")));
     this.opFieldSpellZone  = ((System.Windows.Controls.Image)(this.FindName("opFieldSpellZone")));
     this.MonZone1          = ((System.Windows.Controls.Image)(this.FindName("MonZone1")));
     this.MonZone2          = ((System.Windows.Controls.Image)(this.FindName("MonZone2")));
     this.MonZone3          = ((System.Windows.Controls.Image)(this.FindName("MonZone3")));
     this.MonZone4          = ((System.Windows.Controls.Image)(this.FindName("MonZone4")));
     this.MonZone5          = ((System.Windows.Controls.Image)(this.FindName("MonZone5")));
     this.stZone1           = ((System.Windows.Controls.Image)(this.FindName("stZone1")));
     this.stZone2           = ((System.Windows.Controls.Image)(this.FindName("stZone2")));
     this.stZone3           = ((System.Windows.Controls.Image)(this.FindName("stZone3")));
     this.stZone4           = ((System.Windows.Controls.Image)(this.FindName("stZone4")));
     this.stZone5           = ((System.Windows.Controls.Image)(this.FindName("stZone5")));
     this.FieldSpellZone    = ((System.Windows.Controls.Image)(this.FindName("FieldSpellZone")));
     this.ExtraDeckZone     = ((System.Windows.Controls.Image)(this.FindName("ExtraDeckZone")));
     this.rfgZone           = ((System.Windows.Controls.Image)(this.FindName("rfgZone")));
     this.GraveZone         = ((System.Windows.Controls.Image)(this.FindName("GraveZone")));
     this.DeckZone          = ((System.Windows.Controls.Image)(this.FindName("DeckZone")));
     this.lstMyHand         = ((System.Windows.Controls.ListBox)(this.FindName("lstMyHand")));
     this.lstAllyHand       = ((System.Windows.Controls.ListBox)(this.FindName("lstAllyHand")));
     this.Rectangle4        = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle4")));
     this.Rectangle5        = ((System.Windows.Shapes.Rectangle)(this.FindName("Rectangle5")));
     this.cmdDrawPhase      = ((System.Windows.Controls.Button)(this.FindName("cmdDrawPhase")));
     this.cmdStandbyPhase   = ((System.Windows.Controls.Button)(this.FindName("cmdStandbyPhase")));
     this.cmdMainPhase1     = ((System.Windows.Controls.Button)(this.FindName("cmdMainPhase1")));
     this.cmdBattlePhase    = ((System.Windows.Controls.Button)(this.FindName("cmdBattlePhase")));
     this.cmdMainPhase2     = ((System.Windows.Controls.Button)(this.FindName("cmdMainPhase2")));
     this.cmdEndPhase       = ((System.Windows.Controls.Button)(this.FindName("cmdEndPhase")));
     this.cmdEndTurn        = ((System.Windows.Controls.Button)(this.FindName("cmdEndTurn")));
     this.Grid1             = ((System.Windows.Controls.Grid)(this.FindName("Grid1")));
     this.lstMessages       = ((System.Windows.Controls.ListBox)(this.FindName("lstMessages")));
     this.cmdSendText       = ((System.Windows.Controls.Button)(this.FindName("cmdSendText")));
     this.txtSendText       = ((System.Windows.Controls.TextBox)(this.FindName("txtSendText")));
     this.Frame1            = ((System.Windows.Controls.Frame)(this.FindName("Frame1")));
     this.lblDuelName       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDuelName")));
     this.imgDuelAttribute  = ((System.Windows.Controls.Image)(this.FindName("imgDuelAttribute")));
     this.imgSTIcon         = ((System.Windows.Controls.Image)(this.FindName("imgSTIcon")));
     this.lblDuelType       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDuelType")));
     this.lblDuelLore       = ((System.Windows.Controls.TextBlock)(this.FindName("lblDuelLore")));
     this.lblATKplaceholder = ((System.Windows.Controls.TextBlock)(this.FindName("lblATKplaceholder")));
     this.lblDEFplaceholder = ((System.Windows.Controls.TextBlock)(this.FindName("lblDEFplaceholder")));
     this.lblDuelATK        = ((System.Windows.Controls.TextBox)(this.FindName("lblDuelATK")));
     this.lblDuelDEF        = ((System.Windows.Controls.TextBox)(this.FindName("lblDuelDEF")));
     this.Label1            = ((System.Windows.Controls.TextBlock)(this.FindName("Label1")));
     this.cmbCounters       = ((System.Windows.Controls.TextBox)(this.FindName("cmbCounters")));
     this.lblOverlaid       = ((System.Windows.Controls.TextBlock)(this.FindName("lblOverlaid")));
     this.cmbOverlaid       = ((System.Windows.Controls.ComboBox)(this.FindName("cmbOverlaid")));
     this.lblPlayerLP       = ((System.Windows.Controls.TextBlock)(this.FindName("lblPlayerLP")));
     this.lblOpponentLP     = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpponentLP")));
     this.txtTurnCount      = ((System.Windows.Controls.TextBox)(this.FindName("txtTurnCount")));
     this.Label2            = ((System.Windows.Controls.TextBlock)(this.FindName("Label2")));
     this.lblOpHand         = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpHand")));
     this.lblOpGrave        = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpGrave")));
     this.lblOpRFG          = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpRFG")));
     this.lblAlly           = ((System.Windows.Controls.TextBlock)(this.FindName("lblAlly")));
     this.imgBG             = ((System.Windows.Controls.Image)(this.FindName("imgBG")));
     this.imgOPBG           = ((System.Windows.Controls.Image)(this.FindName("imgOPBG")));
     this.ctxtDeck          = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtDeck")));
     this.ctxtHand          = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtHand")));
     this.ctxtMonster       = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtMonster")));
     this.ctxtSpellTrap     = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtSpellTrap")));
     this.cmdCoin           = ((System.Windows.Controls.Button)(this.FindName("cmdCoin")));
     this.cmdDie            = ((System.Windows.Controls.Button)(this.FindName("cmdDie")));
     this.StackPanel1       = ((System.Windows.Controls.StackPanel)(this.FindName("StackPanel1")));
     this.imgStars1         = ((System.Windows.Controls.Image)(this.FindName("imgStars1")));
     this.imgStars2         = ((System.Windows.Controls.Image)(this.FindName("imgStars2")));
     this.imgStars3         = ((System.Windows.Controls.Image)(this.FindName("imgStars3")));
     this.imgStars4         = ((System.Windows.Controls.Image)(this.FindName("imgStars4")));
     this.imgStars5         = ((System.Windows.Controls.Image)(this.FindName("imgStars5")));
     this.imgStars6         = ((System.Windows.Controls.Image)(this.FindName("imgStars6")));
     this.imgStars7         = ((System.Windows.Controls.Image)(this.FindName("imgStars7")));
     this.imgStars8         = ((System.Windows.Controls.Image)(this.FindName("imgStars8")));
     this.imgStars9         = ((System.Windows.Controls.Image)(this.FindName("imgStars9")));
     this.imgStars10        = ((System.Windows.Controls.Image)(this.FindName("imgStars10")));
     this.imgStars11        = ((System.Windows.Controls.Image)(this.FindName("imgStars11")));
     this.imgStars12        = ((System.Windows.Controls.Image)(this.FindName("imgStars12")));
     this.cmdDrawFive       = ((System.Windows.Controls.Button)(this.FindName("cmdDrawFive")));
     this.imgBattle         = ((System.Windows.Controls.Image)(this.FindName("imgBattle")));
     this.imgBattleOrigin   = ((System.Windows.Controls.Image)(this.FindName("imgBattleOrigin")));
     this.Canvas1           = ((System.Windows.Controls.Canvas)(this.FindName("Canvas1")));
     this.cmdGainLP         = ((System.Windows.Controls.Button)(this.FindName("cmdGainLP")));
     this.cmdLoseLP         = ((System.Windows.Controls.Button)(this.FindName("cmdLoseLP")));
     this.txtLPChange       = ((System.Windows.Controls.TextBox)(this.FindName("txtLPChange")));
     this.imgMove           = ((System.Windows.Controls.Image)(this.FindName("imgMove")));
     this.imgMoveOrigin     = ((System.Windows.Controls.Image)(this.FindName("imgMoveOrigin")));
     this.ctxtMonsterEmpty  = ((DuelPortalCS.ContextMenu)(this.FindName("ctxtMonsterEmpty")));
     this.lblMySideHand     = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideHand")));
     this.lblMySideGrave    = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideGrave")));
     this.lblMySideRFG      = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideRFG")));
     this.lblOpDeck         = ((System.Windows.Controls.TextBlock)(this.FindName("lblOpDeck")));
     this.lblMySideDeck     = ((System.Windows.Controls.TextBlock)(this.FindName("lblMySideDeck")));
 }