在关联的类中写了如下代码,目的是在propertygrid中可以出现“...”的按钮打开文件 [Description("This is the new top1m file"), Category("Global")]
[Editor(typeof(System.Windows.Forms.Design.FileNameEditor), typeof(System.Drawing.Design.UITypeEditor))]
public string NewTop1m
{
get { return strFileTop1m; } }我的问题是:如何设定默认的打开目录?
[Editor(typeof(System.Windows.Forms.Design.FileNameEditor), typeof(System.Drawing.Design.UITypeEditor))]
public string NewTop1m
{
get { return strFileTop1m; } }我的问题是:如何设定默认的打开目录?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货