I used a .png in my test to avoid drawing the line.
By drawing the line, you can do something like this with a Timer :
At beginning (Form1_Load) :
var timer1 = new System.Windows.Forms.Timer();
timer1.Tick += new EventHandler(TimerEventProcessor);
timer1.Interval = 10;
timer1.Start();
then :
private void TimerEventProcessor(Object myObject, EventArgs myEventArgs)
{
pictureBox1.Invalidate();
}
float m_nAngle = 0;
private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
var g = e.Graphics;
g.SmoothingMode = SmoothingMode.HighQuality;
g.Clear(Color.Yellow);
var rect = this.pictureBox1.ClientRectangle;
g.TranslateTransform(rect.Left + rect.Width / 2, rect.Top + rect.Height / 2);
g.RotateTransform(m_nAngle);
m_nAngle += 1;
if (m_nAngle >= 360) m_nAngle = 0;
using (var penLine = new Pen(Color.Red, 2))
g.DrawLine(penLine, 0, 0, 0, -rect.Height / 2);
}