Invoking the click method of a button programmatically

前端 未结 2 1914
悲&欢浪女
悲&欢浪女 2021-01-21 22:32

Simple problem (I think): I want to be able to invoke a click method on a predefined object, specifically, the bindingNavigatorDeleteItem button on the standard c#

2条回答
  •  甜味超标
    2021-01-21 23:27

    To simply invoke the click - you should be able to use PerformClick().

    I was a little lost by the other things you mentioned - can you clarify?

提交回复
热议问题