public OpenFileDialogEx() { this.InitializeComponent(); this.DefaultViewMode = FolderViewMode.Default; this.OpenDialog.AddExtension = false; this.OpenDialog.CheckFileExists = false; this.OpenDialog.ValidateNames = true; this.OpenDialog.ShowHelp = true; this.SizeChanged += new EventHandler(this.OpenFileDialogEx_SizeChanged); this.OpenDialog.HelpRequest += new EventHandler(this.OpenDialog_HelpRequest); this.Disposed += new EventHandler(this.OpenFileDialogEx_Disposed); this.OpenDialog.DereferenceLinks = true; }
internal static extern void desktop_set_icon_size(FolderViewMode mode, int size);
internal static extern void desktop_get_icon_size(ref FolderViewMode mode, ref int size);
public static void Icons(FolderViewMode mode, int size) { desktop_set_icon_size(mode, size); }
public static void Icons(ref FolderViewMode mode, ref int size) { desktop_get_icon_size(ref mode, ref size); }