如果组合框选择然后直接取消选中vb.net中的复选框,如何

how to if combobox selection then directly checkbox unchecked in vb.net

ComboBox选中然后直接CheckBox取消选中怎么办?

Private Sub ComboBox1_SelectionChangeCommitted(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectionChangeCommitted
    Me.TextBox1.Text = ""
    Me.PopulateDataGridView()
End Sub
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
    clearfiltercombobox()
    PopulateDataGridView()
End Sub

Me.CheckBox1.Checked = False 放入您的 ComboBox 处理程序中

Private Sub ComboBox1_SelectionChangeCommitted(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectionChangeCommitted
    Me.TextBox1.Text = ""
    Me.CheckBox1.Checked = False
    Me.PopulateDataGridView()
End Sub