Esempio n. 1
0
 public HomeScreenViewModel()
 {
     Debug.WriteLine("HomeScreenViewModel");
     mainView      = new MainView();
     otherView     = new OtherView();
     recordView    = new RecordView();
     dHistoryView  = new DebrisFlowHistoryView();
     MyMenu        = Model.Menu.Instance;
     LogoutCommand = new RelayCommand(DoLogout);
 }
Esempio n. 2
0
        public WPFUserInterface()
        {
            Debug.WriteLine("WPFUserInterface");
            loginScreen = new LoginScreen();
            menuScreen  = new HomeScreen();
            mainView    = new MainView();
            otherView   = new OtherView();
            recordView  = new RecordView();

            MyMenu = Model.Menu.Instance;
        }
Esempio n. 3
0
 public void Clear()
 {
     if (ActorID != null)
     {
         ActorID.Clear();
     }
     if (RoleAttr != null)
     {
         for (int i = 0; i < RoleAttr.Count; ++i)
         {
             RoleAttr[i].Clear();
             ReturnRoleAttrElement(RoleAttr[i]);
         }
         RoleAttr.Clear();
     }
     if (OtherView != null)
     {
         OtherView.Clear();
     }
     if (FactionID != null)
     {
         FactionID.Clear();
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (OtherButton6 != null)
            {
                OtherButton6.Dispose();
                OtherButton6 = null;
            }

            if (OtherButton5 != null)
            {
                OtherButton5.Dispose();
                OtherButton5 = null;
            }

            if (AddMonsterButton != null)
            {
                AddMonsterButton.Dispose();
                AddMonsterButton = null;
            }

            if (RacialView != null)
            {
                RacialView.Dispose();
                RacialView = null;
            }

            if (SimpleView != null)
            {
                SimpleView.Dispose();
                SimpleView = null;
            }

            if (OtherView != null)
            {
                OtherView.Dispose();
                OtherView = null;
            }

            if (SimpleHeaderView != null)
            {
                SimpleHeaderView.Dispose();
                SimpleHeaderView = null;
            }

            if (RacialHeaderView != null)
            {
                RacialHeaderView.Dispose();
                RacialHeaderView = null;
            }

            if (OtherHeaderView != null)
            {
                OtherHeaderView.Dispose();
                OtherHeaderView = null;
            }

            if (AdvancedButton != null)
            {
                AdvancedButton.Dispose();
                AdvancedButton = null;
            }

            if (SimpleSizeButton != null)
            {
                SimpleSizeButton.Dispose();
                SimpleSizeButton = null;
            }

            if (OutsiderButton != null)
            {
                OutsiderButton.Dispose();
                OutsiderButton = null;
            }

            if (AugmentSummoningButton != null)
            {
                AugmentSummoningButton.Dispose();
                AugmentSummoningButton = null;
            }

            if (RacialHitDieButton != null)
            {
                RacialHitDieButton.Dispose();
                RacialHitDieButton = null;
            }

            if (RacialBonusButton != null)
            {
                RacialBonusButton.Dispose();
                RacialBonusButton = null;
            }

            if (RacialSizeButton != null)
            {
                RacialSizeButton.Dispose();
                RacialSizeButton = null;
            }

            if (OtherTemplateButton != null)
            {
                OtherTemplateButton.Dispose();
                OtherTemplateButton = null;
            }

            if (AdvancerHeaderView != null)
            {
                AdvancerHeaderView.Dispose();
                AdvancerHeaderView = null;
            }

            if (ResetButton != null)
            {
                ResetButton.Dispose();
                ResetButton = null;
            }

            if (OtherTemplateOptionView != null)
            {
                OtherTemplateOptionView.Dispose();
                OtherTemplateOptionView = null;
            }

            if (OtherButton1 != null)
            {
                OtherButton1.Dispose();
                OtherButton1 = null;
            }

            if (OtherButton2 != null)
            {
                OtherButton2.Dispose();
                OtherButton2 = null;
            }

            if (OtherButton3 != null)
            {
                OtherButton3.Dispose();
                OtherButton3 = null;
            }

            if (OtherButton4 != null)
            {
                OtherButton4.Dispose();
                OtherButton4 = null;
            }
        }
Esempio n. 5
0
        void ReleaseDesignerOutlets()
        {
            if (ACButton != null)
            {
                ACButton.Dispose();
                ACButton = null;
            }

            if (ACModsView != null)
            {
                ACModsView.Dispose();
                ACModsView = null;
            }

            if (ACView != null)
            {
                ACView.Dispose();
                ACView = null;
            }

            if (ArmorButton != null)
            {
                ArmorButton.Dispose();
                ArmorButton = null;
            }

            if (DefensiveAbilitiesButton != null)
            {
                DefensiveAbilitiesButton.Dispose();
                DefensiveAbilitiesButton = null;
            }

            if (DeflectionButton != null)
            {
                DeflectionButton.Dispose();
                DeflectionButton = null;
            }

            if (DodgeButon != null)
            {
                DodgeButon.Dispose();
                DodgeButon = null;
            }

            if (DRButton != null)
            {
                DRButton.Dispose();
                DRButton = null;
            }

            if (FlatFootedButton != null)
            {
                FlatFootedButton.Dispose();
                FlatFootedButton = null;
            }

            if (FortButton != null)
            {
                FortButton.Dispose();
                FortButton = null;
            }

            if (HDButton != null)
            {
                HDButton.Dispose();
                HDButton = null;
            }

            if (HPButton != null)
            {
                HPButton.Dispose();
                HPButton = null;
            }

            if (HPModsButton != null)
            {
                HPModsButton.Dispose();
                HPModsButton = null;
            }

            if (HPView != null)
            {
                HPView.Dispose();
                HPView = null;
            }

            if (ImmuneButton != null)
            {
                ImmuneButton.Dispose();
                ImmuneButton = null;
            }

            if (NaturalButton != null)
            {
                NaturalButton.Dispose();
                NaturalButton = null;
            }

            if (OtherView != null)
            {
                OtherView.Dispose();
                OtherView = null;
            }

            if (RefButton != null)
            {
                RefButton.Dispose();
                RefButton = null;
            }

            if (ResistButton != null)
            {
                ResistButton.Dispose();
                ResistButton = null;
            }

            if (SavesView != null)
            {
                SavesView.Dispose();
                SavesView = null;
            }

            if (ShieldButton != null)
            {
                ShieldButton.Dispose();
                ShieldButton = null;
            }

            if (SRButton != null)
            {
                SRButton.Dispose();
                SRButton = null;
            }

            if (TouchButton != null)
            {
                TouchButton.Dispose();
                TouchButton = null;
            }

            if (WeaknessButton != null)
            {
                WeaknessButton.Dispose();
                WeaknessButton = null;
            }

            if (WillButton != null)
            {
                WillButton.Dispose();
                WillButton = null;
            }
        }