Ejemplo n.º 1
0
        //Retrieve the data from a socialstat combobox
        private void GetSocialStatCombobox(ComboBox combobox, Addresses.SocialStats socialStat)
        {
            int value = Addresses.GetSocialStat(socialStat);

            combobox.Text = Addresses.SocialStatName(socialStat, value);
            SetInformationBar(socialStat.ToString() + " retrieved as: " + combobox.Text);
        }
Ejemplo n.º 2
0
        //Quickly change a socialstat combobox data
        private void SetSocialStatCombobox(ComboBox combobox, Addresses.SocialStats socialStat, int[] socialStatValues)
        {
            int value = socialStatValues[combobox.SelectedIndex];

            Addresses.SetSocialStat(socialStat, value);
            SetInformationBar(socialStat.ToString() + " set to: " + combobox.Text);
        }