Gary

Gary

  • NA
  • 1
  • 0

Floating and Position-controlled Dialog Box

Apr 22 2007 12:03 PM

I'm new to C# but I need to make a floating messagebox that I can position form the code.  My code so far pops up the message box and waits for user input.  But it does not float above other windows and it does not come up where I want it to.   So far I have:

DialogResult dir = MessageBox.Show("Keep Going?", "Coninue" ,MessageBoxButtons.YesNoCancel);
if (dir == DialogResult.No)
{
 
Console.Write(" We are NOT done " ) ;

}

Thanks for your help.


Answers (1)