Visual Basic (Declaration) | |
---|---|
Public Event ParameterUIClosed As SectionReport.ParameterUIClosedHandler |
C# | |
---|---|
public event SectionReport.ParameterUIClosedHandler ParameterUIClosed |
C# | Copy Code |
---|---|
private void SectionReport1_ParameterUIClosed(object sender, bool Cancelled) { System.Windows.Forms.MessageBox.Show ("Parameters sent."); } |
Visual Basic | Copy Code |
---|---|
Private Sub SectionReport1_ParameterUIClosed(ByVal sender As Object, ByVal cancelled As Boolean) Handles MyBase.ParameterUIClosed MessageBox.Show("Parameters set.") End Sub |