Introduction - If you have any usage issues, please Google them yourself
nt width = (int)((panelHanoi.Width/3- offset)*((float)hanoiData.diskList[key][j]/hanoiData.diskCount))+offset
int left=(int)(x-width/2)
int height=20
int top=panelHanoi.Height-(hanoiData.diskList[key].Count-j)*height
e.Graphics.FillRectangle(new SolidBrush(Color.Blue), new Rectangle(left, top, width, height-2))
e.Graphics.DrawString(hanoiData.diskList[key][j].ToString(), this.Font, new SolidBrush(Color.White), left, top)
}
}