Visual Basic (Declaration) | |
---|---|
Public Property Text As System.String |
C# | |
---|---|
public System.string Text {get; set;} |
C# | Copy Code |
---|---|
private void detail_Format(object sender, System.EventArgs eArgs) { this.label1.Text = "Label"; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format Me.Label1.Text = "Label" End Sub |