I am currently trying to make a fading transition when changing the background image of a tab during a ComboBox
SelectedIndexChanged
event. However, I couldn't find the opacity properties in a tab's background image. Any advice for me how to do this?
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
if (comboBox1.SelectedIndex == 1)
{
// Some opacity value changing at here
string pathDesktop = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
string imagePath1 = pathDesktop + "\\App Background\\";
tabPage1.BackgroundImage = Image.FromFile(imagePath1 + "saadsda.jpg");
}
}