iT邦幫忙

0

有關checkBox和Button的問題

我想在選擇後 按下按鈕就出現你好
if (checkBox1.Checked && (MessageBox.Show("你好")));
而我在網上不同的教學用了不同的方法
但都是出現"事件'togglebutton.checked'只可出現+=或-=的左側"
請問是出了那個問題 感謝

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

2
最佳解答

是這樣吧?

if (checkBox1.Checked)
    MessageBox.Show("你好");
小魚 iT邦大師 1 級 ‧ 2018-08-13 16:40:51 檢舉

我發現我看不懂題目...

我要發表回答

立即登入回答