我有这个代码
private void picturebox1_Paint(object sender, PaintEventArgs e)
{
if (Percent == 100)
{
e.Graphics.DrawString("Completed!", font, Brushes.Black, new Point(3, 2));
}
}
我想从这里导航:
public void Complete()
{
picRooms_Paint();//How can I reach picRooms_Paint from here and draw the string?
}
任何帮助,将不胜感激!