clear canvas if url is changed
This commit is contained in:
parent
e0958141f4
commit
7bf20c2a12
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ namespace networkPaint
|
|||
string tempURL = urlTextBox.Text;
|
||||
if (!tempURL.EndsWith("")) tempURL += "/";
|
||||
url = tempURL;
|
||||
bitmap = new Bitmap(640, 480);
|
||||
paintArea.Image = bitmap;
|
||||
graphics = Graphics.FromImage(bitmap);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue