I am trying to get the background image fot the trackbar only. I used following snippet but the image is not visible.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}[enter image description here][1]
private void trackBar1_Scroll(object sender, EventArgs e)
{
//this.trackBar1.
this.trackBar1.BackgroundImage =
Image.FromFile(@"C:\Users\310276521\Documents\Aftab\Untitled.jpg");
}
}
I want to implement this kind of layout: