Hambi
December 17th, 2002, 03:48 AM
Hi all!
I'm a begginer in C#.
I want to know how add events on control, for exaple:
I have DataGrid and i want add event OnDoubleClick().
Is there wizard like in Visual Studio 6.
I add on hands
this.datagrid.DoubleClick+= new System.EventHandler(this.OnDoubleClickDG);
...
protected void OnDoubleClickDG(EventArgs e)
{}
But i get an error
TNX for help
Marry Christmas
I'm a begginer in C#.
I want to know how add events on control, for exaple:
I have DataGrid and i want add event OnDoubleClick().
Is there wizard like in Visual Studio 6.
I add on hands
this.datagrid.DoubleClick+= new System.EventHandler(this.OnDoubleClickDG);
...
protected void OnDoubleClickDG(EventArgs e)
{}
But i get an error
TNX for help
Marry Christmas