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; }
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(); }