The Way to Programming
The Way to Programming
Not 100% sure what you mean. Do you want to show the same image on each tabpage in the control? Please explain.
To add something to each page at the same time you would just do this given your TabControl is called tabControl1
TabControl.TabPageCollection pages = tabControl1.TabPages; foreach (TabPage page in pages) { page.UseVisualStyleBackColor = false; page.BackColor = Color.FromArgb(235, 235, 235); page.ForeColor = Color.FromArgb(35, 96, 147); page.Font = new Font("Tahoma", 9, FontStyle.Regular); }
Sign in to your account