Link to home
Start Free TrialLog in
Avatar of CipherIS
CipherISFlag for United States of America

asked on

C# Infragistics - Delete Row - Add to Initialize Component

So, I want to add the below code to my winform.  However in order for it to fire I need to add it to the Initialize component.  Anyone know how to add it?
public void ultraGrid1_BeforeRowsDeleted(object sender, Infragistics.Win.UltraWinGrid.BeforeRowsDeletedEventArgs e)
{
}

Open in new window

I've tried below but getting an error on ultraGrid1_BeforeRowsDeleted().  Says its missing BeforeRowsDeletedEventArgs.
this.ultraGrid1.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.ultraGrid1_BeforeRowsDeleted(this, ????));

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial