1
Answer

Floating and Position-controlled Dialog Box

Ask a question
Gary

Gary

17y
2.1k
1

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)