我正在使用 Visual Basic 2010,在显示的子表单中,我需要按下两个按钮,但是在继续按下下一个按钮之前,我需要完成第一个按钮的代码。有没有办法让这种情况发生?谢谢 :)
Private Sub Form1_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
BindingNavigatorMoveLastItem.PerformClick()))
'I need this next button click to be carried out after the one above has completely finished
BindingNavigatorMovePreviousItem.PerformClick()))
End Sub