Example #1
0
        void SetupImageOption()
        {
            if (ImageOption.SelectedIndex == 1)
            {
                SecondImagePanel.Hide();
                YYCHARMODEPAgeUp.Show();
                YYCHARMODEPAgeDown.Show();
            }
            else if (ImageOption.SelectedIndex == 2)
            {
                YYCHARMODEPAgeUp.Hide();
                YYCHARMODEPAgeDown.Hide();
                SecondImagePanel.Show();
            }
            else
            {
                YYCHARMODEPAgeUp.Hide();
                YYCHARMODEPAgeDown.Hide();
                SecondImagePanel.Hide();
            }

            if (TSAOption.SelectedIndex == 0)
            {
                KeepTSAComboBox.Hide();
            }
            else
            {
                KeepTSAComboBox.Show();
            }
        }
Example #2
0
        private void ImageOption_SelectedIndexChanged(object sender, EventArgs e)
        {
            Draw();

            if (ImageOption.SelectedIndex == 1)
            {
                SecondImagePanel.Hide();
                YYCHARMODEPAgeUp.Show();
                YYCHARMODEPAgeDown.Show();
            }
            else if (ImageOption.SelectedIndex == 2)
            {
                YYCHARMODEPAgeUp.Hide();
                YYCHARMODEPAgeDown.Hide();
                SecondImagePanel.Show();
            }
            else
            {
                YYCHARMODEPAgeUp.Hide();
                YYCHARMODEPAgeDown.Hide();
                SecondImagePanel.Hide();
            }

            if (TSAOption.SelectedIndex == 0)
            {
                KeepTSAComboBox.Hide();
            }
            else
            {
                KeepTSAComboBox.Show();
            }
        }