1

I need to open the dialog which appears after I click the Plus sign in data grid view. Which means, When i press my button, i need it to appear as if i clicked + button. But now i need to open the grid view and then click on the + button.

4

1 回答 1

2

假设您的屏幕集合称为“发票”,在您的方法代码中,您只需调用

VB:

Me.Invoices.AddAndEditNew

C#:

this.Invoices.AddAndEditNew();
于 2013-02-11T10:11:11.170 回答