C# Force Form Focus

前端 未结 8 1939
不思量自难忘°
不思量自难忘° 2020-12-02 14:46

So, I did search google and SO prior to asking this question. Basically I have a DLL that has a form compiled into it. The form will be used to display information to the sc

8条回答
  •  春和景丽
    2020-12-02 15:21

    Don't you just want the dialog to be a child of the calling form?

    To do that you'll need the pass in the calling window and use the ShowDialog( IWin32Window owner ) method.

提交回复
热议问题