MessageBox.Show appear over Remote Desktop Connection

前端 未结 1 1871
面向向阳花
面向向阳花 2021-01-28 13:17

So I am building a program at the minute where I need a MessageBox to show over an RDC (Remote Desktop Connection) but I can\'t seem to manage it. Any tips?

Here is the

相关标签:
1条回答
  • 2021-01-28 13:46

    Try this it will show your MessageBox at the top of every window currently open.

    MessageBox.Show(this,
                    "Your text",
                    "Settings Needed",
                    MessageBoxButtons.YesNo,
                    MessageBoxIcon.Question
                    MessageBoxDefaultButton.Button1,  // specify "Yes" as the default
                    (MessageBoxOptions)0x40000);
    
    0 讨论(0)
提交回复
热议问题