BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
{
System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();
t.Tick += new EventHandler(t_Tick);
t.Interval = 20;
t.Start();
}
private void t_Tick(object sender, EventArgs e)
{
System.Windows.Forms.Timer t = (System.Windows.Forms.Timer) sender;
t.Tick -= new EventHandler(t_Tick);
t.Dispose();
myform.Close();
}
Stefan
>(damn message textbox)
>
>Hi,
>
>I use the gridgroupingcontrol as a datalist where use can select, sort, order records. After doubleclicking the record the app opens a new window.
>the events I use or:
>- TableControlCurrentCellActivating
>=> show full selection line ( e.Inner.ColIndex = 0)
>- TableControlCellClick
>=> grab the current displayed datarow
>- TableControlCellDoubleClick
>=> open other window and close current
>
>I keep getting NullReference exception(s) when the code exits the TableControlCellDoubleClick handler. I think the refresh method is called by the control itself and doesn''t know that is doesn''t exist anymore.
>
>Any solution or work around would be great !
>