掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
WithEvents で配列やハッシュを使うには? (ID:125483)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
こういうのを書きました Friend Button(1000) As System.Windows.Forms.Button Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click MsgBox("新しいボタン") Me.Button(0) = New System.Windows.Forms.Button Me.SuspendLayout() Me.Button(0).Location = New System.Drawing.Point(0, 0) Me.Button(0).Name = "Button0" Me.Button(0).Size = New System.Drawing.Size(64, 32) Me.Button(0).TabIndex = 0 Me.Button(0).Text = "New" Me.Controls.Add(Me.Button(0)) AddHandler Button(ii).Click, AddressOf BTN_CLICK End Sub Private Sub BTN_CLICK(ByVal sender As System.Object, ByVal e As System.EventArgs) MsgBox("hello, word!") End Sub 本当にありがとうございました
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.