Visual Basic (Declaration) | |
---|---|
Public Event PrintProgress() As EventHandler |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public event EventHandler PrintProgress() |
This sample assumes that you have created a public property in the report and passed in a reference to the calling form. You can also use this technique to set the title bar text on the form window.
C# | Copy Code |
---|---|
private int x = 0; |
Visual Basic | Copy Code |
---|---|
Private x As Integer = 0 |