討論串[問題] click問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓7(7推 0噓 12→)留言19則,0人參與, 4年前最新作者GooLoo (平凡)時間4年前 (2019/09/13 21:15), 編輯資訊
1
0
0
內容預覽:
請問一下,. button1內要做 按button2動作,可以如下這樣寫.. 問題來了. 如果button1要做 button2~10動作,甚至20,30...個. 一個一個打要很久. button2_Click(null, null);. button3_Click(null, null);. b
(還有202個字)

推噓1(1推 0噓 5→)留言6則,0人參與, 4年前最新作者Naz130 (Naz130)時間4年前 (2019/09/15 16:04), 編輯資訊
0
0
0
內容預覽:
用Find & PerformClick:. private void Button1_Click(object sender, EventArgs e). {. var parent = ((Buttn)sender).Parent;. for (int i = 2; i<= 30; i++).
(還有366個字)
首頁
上一頁
1
下一頁
尾頁