|
Re: Message box border
|
|
|
|
|
|
|
|
|
|
Hi,
Add a new form with below properties. May be named Form2
- StartPosition - CenterScreen
- TopMost - True
- BackColor - <<Any color to differentiate from calling Form>>
- Form Border Style - None
More over add a close button too with form closing code.
Now you can use this from in side any other form to dislay as a dialog like below
private void button1_Click_2(object sender, EventArgs e)
{
Form2 dialog = new Form2();
dialog.ShowDialog();
}
|
|
|
|