110,571
社区成员
发帖
与我相关
我的任务
分享
[DllImport("Comdlg32.dll", SetLastError = true, ThrowOnUnmappableChar = true, CharSet = CharSet.Auto)]
public static extern bool GetOpenFileName([In, Out] OpenFileName ofn);
customize.EnableOpenDropDown(0);
customize.AddControlItem(0, 0, "Open as XXX");
customize.AddControlItem(0, 1, "Open in YYY");
this.customize.GetSelectedControlItem(0, out openindex);