Exemplo n.º 1
0
 private void SaveConfigProfileForm_Load(object sender, EventArgs e)
 {
     Utility.SetPositionToMouse(this);
     //this.TopMost = true;
     c_ddlConfigProfiles.Items.AddRange(ConfigProfiles.GetProfileNames().ToArray());
     c_ddlConfigProfiles.Text = m_DefaultProfile;
 }
Exemplo n.º 2
0
        private void ConfigSettingsForm_Load(object sender, EventArgs e)
        {
            Utility.SetPositionToMouse(this);
            //this.TopMost = true;
            c_ddlConfigProfile.Items.Clear();
            c_ddlConfigProfile.Items.Add("Active Wow Config");
            c_ddlConfigProfile.Items.AddRange(ConfigProfiles.GetProfileNames().ToArray());
            if (m_ConfigWTF == null)
            {
                m_ConfigWTF = ConfigWTF.LoadWTFConfigFile(WowVersionEnum.Vanilla);
            }
            if (c_ddlConfigProfile.Items.Contains(m_ProfileName) == false)
            {
                c_ddlConfigProfile.Items.Add(m_ProfileName);
            }

            c_ddlConfigProfile.SelectedItem = m_ProfileName;
            ConfigureConfigWTF();
        }