You've pretty much got it. You could improve your current example slightly (see below), but in most cases you will find yourself using a switch block.
private void bx_Click(object sender, EventArgs e)
{
Button btnHndr;
btnHndr = (Button)sender...
In Visual Basic 6.0, the PrintForm method of a form could be used to send an image of the form to a printer. The PrintForm method is no longer supported in Visual Basic .NET. The results of the PrintForm method varied greatly depending on the screen resolution and the resolution of the printer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.