【发布时间】:2018-02-22 10:14:39
【问题描述】:
当我设计我的 dll 时,这就是我设计它的样子,Visual Design of one of my dll forms
但是当我将构建的 dll 引用到一个 deperate 程序并尝试运行它时。它看起来像这样。 Dll Form Now has boarders
有什么想法吗?
【问题讨论】:
当我设计我的 dll 时,这就是我设计它的样子,Visual Design of one of my dll forms
但是当我将构建的 dll 引用到一个 deperate 程序并尝试运行它时。它看起来像这样。 Dll Form Now has boarders
有什么想法吗?
【问题讨论】:
好吧,您在System.Windows.Forms.Form 中拥有名为FormBorderStyle 的财产。默认是相当大的。你可以在这里设置任何你想要的。
此外,您可以在该表单的构造函数中以编程方式设置边框:
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
【讨论】: