T
Tony Johansson
Is it just a matter of taste which one of methods 1 and 2 I use when I want
to draw something.
I mean doeas any of them give any advantage compared to the other.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
1 private void Form1_Paint(object sender, PaintEventArgs e)
{
}
2 protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
}
}
//Tony
to draw something.
I mean doeas any of them give any advantage compared to the other.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
1 private void Form1_Paint(object sender, PaintEventArgs e)
{
}
2 protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
}
}
//Tony