Click here to Skip to main content
15,905,877 members
Home / Discussions / C#
   

C#

 
QuestionRunning Multiple Versions of Crystal Reports in WinApp. Pin
DotNetMan12-Mar-10 17:07
DotNetMan12-Mar-10 17:07 
AnswerRe: Running Multiple Versions of Crystal Reports in WinApp. Pin
DotNetMan13-Mar-10 1:53
DotNetMan13-Mar-10 1:53 
QuestionResponding to Web Browser generated MessageBox Pin
Lilith.C12-Mar-10 14:47
Lilith.C12-Mar-10 14:47 
AnswerRe: Responding to Web Browser generated MessageBox Pin
#realJSOP13-Mar-10 0:59
professional#realJSOP13-Mar-10 0:59 
GeneralRe: Responding to Web Browser generated MessageBox Pin
Lilith.C13-Mar-10 6:30
Lilith.C13-Mar-10 6:30 
GeneralRe: Responding to Web Browser generated MessageBox Pin
#realJSOP13-Mar-10 7:10
professional#realJSOP13-Mar-10 7:10 
QuestionDatabase not updating values - nullreference exception keeps getting thrown [modified] Pin
Eagle3212-Mar-10 13:13
Eagle3212-Mar-10 13:13 
AnswerRe: Database not updating values - nullreference exception keeps getting thrown Pin
Dan Mos12-Mar-10 13:36
Dan Mos12-Mar-10 13:36 
GeneralRe: Database not updating values - nullreference exception keeps getting thrown Pin
Eagle3212-Mar-10 13:56
Eagle3212-Mar-10 13:56 
GeneralRe: Database not updating values - nullreference exception keeps getting thrown[modified] Pin
Dan Mos12-Mar-10 14:01
Dan Mos12-Mar-10 14:01 
GeneralRe: Database not updating values - nullreference exception keeps getting throw Pin
Eagle3213-Mar-10 2:23
Eagle3213-Mar-10 2:23 
GeneralRe: Database not updating values - nullreference exception keeps getting throw Pin
Dan Mos13-Mar-10 13:06
Dan Mos13-Mar-10 13:06 
QuestionSpeed difference between two functions with unknown reason Pin
SimpleData12-Mar-10 10:10
SimpleData12-Mar-10 10:10 
AnswerMessage Closed Pin
12-Mar-10 10:17
stancrm12-Mar-10 10:17 
GeneralRe: Speed difference between two functions with unknown reason Pin
SimpleData12-Mar-10 10:18
SimpleData12-Mar-10 10:18 
AnswerRe: Speed difference between two functions with unknown reason Pin
Luc Pattyn12-Mar-10 11:00
sitebuilderLuc Pattyn12-Mar-10 11:00 
GeneralRe: Speed difference between two functions with unknown reason Pin
SimpleData12-Mar-10 11:06
SimpleData12-Mar-10 11:06 
GeneralRe: Speed difference between two functions with unknown reason Pin
harold aptroot12-Mar-10 11:31
harold aptroot12-Mar-10 11:31 
GeneralRe: Speed difference between two functions with unknown reason Pin
Luc Pattyn12-Mar-10 11:41
sitebuilderLuc Pattyn12-Mar-10 11:41 
GeneralRe: Speed difference between two functions with unknown reason Pin
harold aptroot12-Mar-10 12:06
harold aptroot12-Mar-10 12:06 
GeneralRe: Speed difference between two functions with unknown reason Pin
Luc Pattyn12-Mar-10 12:29
sitebuilderLuc Pattyn12-Mar-10 12:29 
GeneralRe: Speed difference between two functions with unknown reason Pin
SimpleData12-Mar-10 22:35
SimpleData12-Mar-10 22:35 
GeneralRe: Speed difference between two functions with unknown reason Pin
SimpleData12-Mar-10 22:32
SimpleData12-Mar-10 22:32 
GeneralRe: Speed difference between two functions with unknown reason Pin
Pete O'Hanlon12-Mar-10 11:36
mvePete O'Hanlon12-Mar-10 11:36 
QuestionFloating child form linked to Treemap nodes Pin
boreland12-Mar-10 10:08
boreland12-Mar-10 10:08 
I'm quite new to c# and dot.net. I've been scratching my head on this one for quite a while. I'm trying to build functionality similar to that shown here:

http://finviz.com/forex.ashx

I'm using the treemap code. I'm using the the text from the e.node.tooltip to disquish when the mouse hovers over a different node. I want to create a new child form that tracks the cursor like that shown in the above example. When the cursor passes over a new nodes I want to close the currently displayed form and display a new form associated with the node the mouse cursor is now hovering over. Here is were I capture the mouseover event:

void tmcMap_NodeMouseHover(object sender, NodeEventArgs e)
{
Form2 frmForm2 = new Form2();
if (e.Node.ToolTip != lastValue && frmForm2.Created != true)
{
lastValue = e.Node.ToolTip;

frmForm2.Text = "Child " + e.Node.ToolTip;
frmForm2.SetDesktopLocation(Cursor.Position.X, Cursor.Position.Y);
frmForm2.Show();
}

)

My problem is how to close frmForm2 prior to creating a new frmForm2 when the cursor hovers over a different node?

Any help would be appreciated!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.