public PluginUI(PluginMain pluginMain) { this.pluginMain = pluginMain; this.listViewSorter = new ListViewSorter(); this.InitializeComponent(); this.InitializeGraphics(); this.InitializeContextMenu(); this.InitializeLayout(); this.InitializeTexts(); }
public PluginUI(PluginMain pluginMain) { this.pluginMain = pluginMain; this.listViewSorter = new ListViewSorter(); this.InitializeComponent(); this.InitializeGraphics(); this.InitializeContextMenu(); this.InitializeLayout(); this.InitializeTexts(); }
public PluginUI(PluginMain pluginMain) { this.AutoKeyHandling = true; this.pluginMain = pluginMain; this.listViewSorter = new ListViewSorter(); this.InitializeComponent(); this.InitializeGraphics(); this.InitializeContextMenu(); this.InitializeLayout(); this.InitializeTexts(); ScrollBarEx.Attach(fileView); }
public PluginUI(PluginMain pluginMain) { this.extensionIcons = new Hashtable(); this.listViewSorter = new ListViewSorter(); this.plugin = pluginMain; this.InitializeComponent(); this.fileView.ListViewItemSorter = this.listViewSorter; // load resource icons try { this.imageList.Images.Clear(); System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly(); this.imageList.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("FolderUp.png"))); this.imageList.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Folder.png"))); this.browseButton.Image = new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Folder.png")); } catch (Exception ex) { ErrorHandler.ShowError("Error while loading resources in FileExplorer.DLL", ex); } // update UI this.Initialize(null, null); }
public PluginUI(PluginMain pluginMain) { this.extensionIcons = new Hashtable(); this.listViewSorter = new ListViewSorter(); this.plugin = pluginMain; this.InitializeComponent(); this.fileView.ListViewItemSorter = this.listViewSorter; // load resource icons try { this.imageList.Images.Clear(); System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly(); this.imageList.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("FolderUp.png"))); this.imageList.Images.Add(new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Folder.png"))); this.browseButton.Image = new System.Drawing.Bitmap(assembly.GetManifestResourceStream("Folder.png")); } catch (Exception ex) { ErrorHandler.ShowError("Error while loading resources in FileExplorer.DLL", ex); } // update UI this.Initialize(null, null); }