zantesu 发表于 2015-1-19 09:15
关于SkinTextBox的问题, 经验证, 发现高度在28时内置SkinText自动单行模式, 高于此高度就强制为多行模式了
...
乔克斯 发表于 2015-1-19 13:12
SkinTextbox实际上是panel嵌套textbox。。你可以- -自己弄个panel嵌套。这样一切都可以掌控之中了。 ...
zantesu 发表于 2015-1-19 15:45
已经在这么做了....
另外就是CSkin貌似要设置一下Com可见性, 这是导致Webbrowser中的页面无法回调窗体方 ...
namespace WindowsFormsApplication2 {
[ComVisible(true)]
public partial class Form1 : CCSkinMain {
public Form1() {
InitializeComponent();
webBrowser1.ObjectForScripting = this;
}
public void openQuest(string id) {
MessageBox.Show("done");
}
}
}
Managed Debugging Assistant 'NonComVisibleBaseClass' has detected a problem in 'D:\Documents\Visual Studio 2013\Projects\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe'.
Additional information: A QueryInterface call was made requesting the default IDispatch interface of COM visible managed class 'WindowsFormsApplication2.Form1'. However since this class does not have an explicit default interface and derives from non COM visible class 'CCWin.CCSkinMain', the QueryInterface call will fail. This is done to prevent the non COM visible base class from being constrained by the COM versioning rules.
zantesu 发表于 2015-1-20 10:14
[mw_shl_code=csharp,true]namespace WindowsFormsApplication2 {
[ComVisible(true)]
public part ...
zantesu 发表于 2015-1-20 10:14
[mw_shl_code=csharp,true]namespace WindowsFormsApplication2 {
[ComVisible(true)]
public part ...
欢迎光临 CSkin博客 (http://bbs.cskin.net/) | Powered by Discuz! X3.2 |