'宣言 Public Property Text As String
public string Text {get; set;}
private void detail_Format(object sender, System.EventArgs eArgs) { this.label1.Text = "Label"; }
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format Me.Label1.Text = "Label" End Sub
Label クラス Label メンバ