How do I set the trackbar's anchor to start from a specifiec index? My trackbar goes from 0 - 10, and it's in Form1.. in Form1's constructor I want to set the anchor to the right place, which is determend by an object's property:
public EditRectangle(FormRectangle p)
{
InitializeComponent();
this.p = p;
textBox1.Text = p.GetMass().ToString();
textBox2.Text = p.GetHeight().ToString();
textBox3.Text = p.GetWidth().ToString();
// SET TRACKBAR'S INDEX TO THE RIGHT PLACE BY p.GetElasticity()
}
How do I do it?