Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 internal static extern void desktop_set_icon_size(FolderViewMode mode, int size);
Esempio n. 3
0
 internal static extern void desktop_get_icon_size(ref FolderViewMode mode, ref int size);
Esempio n. 4
0
 public static void Icons(FolderViewMode mode, int size)
 {
     desktop_set_icon_size(mode, size);
 }
Esempio n. 5
0
 public static void Icons(ref FolderViewMode mode, ref int size)
 {
     desktop_get_icon_size(ref mode, ref size);
 }