示例#1
0
        private void SelectLastSaveButton()
        {
            int id = PartyOptions.CompareCurrentWithSaves();

            if (id != -1)
            {
                SelectSaveButton(id);
            }
        }
示例#2
0
        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            LightSelectionFrame.Navigate(typeof(LightSelection));
            ((LightSelection)LightSelectionFrame.Content).GiveVariables(this);

            if (PartyOptions.activePartyOption.Equals(default(PartyOption)))
            {
                PartyOptions.SetPartyOption(0);
            }

            int id = PartyOptions.CompareCurrentWithSaves();

            if (id != -1)
            {
                SelectMenuItem("Simple");
                NavigateToItem("Simple");
            }
            else
            {
                SelectMenuItem("Advanced");
                NavigateToItem("Advanced");
            }
        }