>Concorsi
>Forum
>Bandi/G.U.
 
 
 
 
  Login |  Registrati 
Elenco in ordine alfabetico delle domande di 70-316: Developing and implementing Windows-based applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET

Seleziona l'iniziale:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

> Clicca qui per scaricare l'elenco completo delle domande di questo argomento in formato Word!


The following code handles the Click event of Button1:

private void Button1_Click(object sender, _
System.EventArgs e)
{
Int32 i, j;
try
{
i = 0;
j = 5 / i;
Debug.WriteLine(
"Result = " + j.ToString());
}
catch (ArithmeticException aex)
{
Debug.WriteLine(
"Arithmetic Exception");
goto EndIt;
}
catch (Exception ex)
{
Debug.WriteLine(
"Unknown Exception");
goto EndIt;
}
finally
{
Debug.WriteLine("Cleaning up");
i = 0;
j = 0;
}
EndIt:
}

What is the output that appears when Button1 is clicked?   

ArithmeticException
CleaningUp
The main menu form of your application uses the System.Drawing objects to draw your company's logo on the background of the form. You want to redraw the logo whenever the form is resized, so that it always fills the entire form. What should you do?   Set the form's ResizeRedraw property to true.