Home Forums WinForms controls Xceed Grid for WinForms C# doubleclick event question – please help! Reply To: C# doubleclick event question – please help!

User (Old forums)
Member
Post count: 23064

First, you’re not a moron.
Second, maybe it’s better if you just do it in code.
The constructor of your form should look like this:

public myForm()
{
InitializeComponent();
}

You should add the DoubleClick-line after InitializeComponent, like this:

public myForm()
{
InitializeComponent();
<b>lvwDB.DataRowTemplate.DoubleClick += new EventHandler(row_DoubleClick);</b>
}

You should also add the method row_DoubleClick, that looks like this:

private void row_DoubleClick(object sender, EventArgs e)
{
}

Imported from legacy forums. Posted by Tommy (had 304 views)