Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
23860 | Jan 21,2005 07:20 AM UTC | Jan 21,2005 12:12 PM UTC | WinForms | 2 |
![]() |
Tags: Grouping |
{
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 !
> This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.