private void InitializeFields() { Logger.LogInfo("Initializing fields"); m_webServices = new WebServiceController(); LoadFolderImages(); m_manager = new FileIconManager(ilSmallImages, ilLargeImages); m_history = new Stack(); m_buttonsMouseState = new Hashtable(); m_knownSites = new SharePointSiteList(); m_favourites = new FavouritesList(); m_viewState = new ListViewState(); ListViewColumnSorter sorter = new ListViewColumnSorter(); this.lvBrowser.ListViewItemSorter = sorter; this.listViewVersions.ListViewItemSorter = sorter; Mode = DialogMode.Open; Filters = "All Files (*.*)|*.*"; DefaultExt = ""; this.splitContainerMain.Panel2Collapsed = true; this.panelDocumentProfiling.Controls.Add(this.profileControl); this.profileControl.Dock = DockStyle.Fill; breadcrumbBar = new ExplorerAddressNavigation(); AddressBar.PathConverter = new SPPathConverter(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BrowseDialog)); this.ilLargeImages = new System.Windows.Forms.ImageList(this.components); this.ilSmallImages = new System.Windows.Forms.ImageList(this.components); this.ilButtons = new System.Windows.Forms.ImageList(this.components); this.mnuViewStyle = new System.Windows.Forms.ContextMenu(); this.mnuLargeIcons = new System.Windows.Forms.MenuItem(); this.mnuDetailView = new System.Windows.Forms.MenuItem(); this.mnuListView = new System.Windows.Forms.MenuItem(); this.ilDropwDownBtns = new System.Windows.Forms.ImageList(this.components); this.mnuNewStuff = new System.Windows.Forms.ContextMenu(); this.mnuCreateWeb = new System.Windows.Forms.MenuItem(); this.mnuCreateDocLib = new System.Windows.Forms.MenuItem(); this.mnuCreateFolder = new System.Windows.Forms.MenuItem(); this.bnFavourites = new System.Windows.Forms.Button(); this.lblTarget = new System.Windows.Forms.Label(); this.bnOk = new System.Windows.Forms.Button(); this.bnCancel = new System.Windows.Forms.Button(); this.lvBrowser = new System.Windows.Forms.ListView(); this.edFileName = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.edFilter = new System.Windows.Forms.ComboBox(); this.pnFavourites = new System.Windows.Forms.Panel(); this.lvFavourites = new System.Windows.Forms.ListView(); this.bnRemoveFavourite = new System.Windows.Forms.Button(); this.ctrlToolTips = new System.Windows.Forms.ToolTip(this.components); this.splitContainerBrowse = new System.Windows.Forms.SplitContainer(); this.buttonToggleVersions = new System.Windows.Forms.Button(); this.labelVersions = new System.Windows.Forms.Label(); this.comboBoxContentType = new System.Windows.Forms.ComboBox(); this.labelContentType = new System.Windows.Forms.Label(); this.splitContainerMain = new System.Windows.Forms.SplitContainer(); this.panelDocumentProfiling = new System.Windows.Forms.Panel(); this.SearchButton = new System.Windows.Forms.Button(); this.SearchTimer = new System.Windows.Forms.Timer(this.components); this.glassTextBox1 = new WorksharePoint.BreadCrumbBar.GlassTextBox(); this.explorerAddressNavigation1 = new WorksharePoint.BreadCrumbBar.ExplorerAddressNavigation(); this.listViewVersions = new Workshare.Connect.SharePoint.Browser.VersionsListView(); this.columnHeaderTitle = ((System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader())); this.columnHeaderVersion = ((System.Windows.Forms.ColumnHeader) (new System.Windows.Forms.ColumnHeader())); this.pnFavourites.SuspendLayout(); ((System.ComponentModel.ISupportInitialize) (this.splitContainerBrowse)).BeginInit(); this.splitContainerBrowse.Panel1.SuspendLayout(); this.splitContainerBrowse.Panel2.SuspendLayout(); this.splitContainerBrowse.SuspendLayout(); ((System.ComponentModel.ISupportInitialize) (this.splitContainerMain)).BeginInit(); this.splitContainerMain.Panel1.SuspendLayout(); this.splitContainerMain.Panel2.SuspendLayout(); this.splitContainerMain.SuspendLayout(); this.SuspendLayout(); // // ilLargeImages // this.ilLargeImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.ilLargeImages.ImageSize = new System.Drawing.Size(32, 32); this.ilLargeImages.TransparentColor = System.Drawing.Color.Black; // // ilSmallImages // this.ilSmallImages.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.ilSmallImages.ImageSize = new System.Drawing.Size(16, 16); this.ilSmallImages.TransparentColor = System.Drawing.Color.Black; // // ilButtons // this.ilButtons.ImageStream = ((System.Windows.Forms.ImageListStreamer) (resources.GetObject("ilButtons.ImageStream"))); this.ilButtons.TransparentColor = System.Drawing.Color.Magenta; this.ilButtons.Images.SetKeyName(0, ""); this.ilButtons.Images.SetKeyName(1, ""); this.ilButtons.Images.SetKeyName(2, ""); this.ilButtons.Images.SetKeyName(3, ""); this.ilButtons.Images.SetKeyName(4, ""); this.ilButtons.Images.SetKeyName(5, ""); this.ilButtons.Images.SetKeyName(6, "find_icon_small.bmp"); this.ilButtons.Images.SetKeyName(7, "minimize_arrow.png"); this.ilButtons.Images.SetKeyName(8, "maximize_arrow.png"); this.ilButtons.Images.SetKeyName(9, "search_small.png"); // // mnuViewStyle // this.mnuViewStyle.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuLargeIcons, this.mnuDetailView, this.mnuListView}); // // mnuLargeIcons // this.mnuLargeIcons.Index = 0; this.mnuLargeIcons.Text = "Icons"; this.mnuLargeIcons.Click += new System.EventHandler(this.mnuLargeIcons_Click); // // mnuDetailView // this.mnuDetailView.Index = 1; this.mnuDetailView.Text = "Detail"; this.mnuDetailView.Click += new System.EventHandler(this.mnuDetailView_Click); // // mnuListView // this.mnuListView.Index = 2; this.mnuListView.Text = "List"; this.mnuListView.Click += new System.EventHandler(this.mnuListView_Click); // // ilDropwDownBtns // this.ilDropwDownBtns.ImageStream = ((System.Windows.Forms.ImageListStreamer) (resources.GetObject("ilDropwDownBtns.ImageStream"))); this.ilDropwDownBtns.TransparentColor = System.Drawing.Color.Black; this.ilDropwDownBtns.Images.SetKeyName(0, ""); this.ilDropwDownBtns.Images.SetKeyName(1, ""); // // mnuNewStuff // this.mnuNewStuff.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuCreateWeb, this.mnuCreateDocLib, this.mnuCreateFolder}); // // mnuCreateWeb // this.mnuCreateWeb.Index = 0; this.mnuCreateWeb.Text = "Create new Web Site..."; this.mnuCreateWeb.Click += new System.EventHandler(this.mnuCreateWeb_Click); // // mnuCreateDocLib // this.mnuCreateDocLib.Index = 1; this.mnuCreateDocLib.Text = "Create new Document Library..."; this.mnuCreateDocLib.Click += new System.EventHandler(this.mnuCreateDocLib_Click); // // mnuCreateFolder // this.mnuCreateFolder.Index = 2; this.mnuCreateFolder.Text = "Create new Folder..."; this.mnuCreateFolder.Click += new System.EventHandler(this.mnuCreateFolder_Click); // // bnFavourites // this.bnFavourites.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.bnFavourites.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.bnFavourites.ImageIndex = 4; this.bnFavourites.ImageList = this.ilButtons; this.bnFavourites.Location = new System.Drawing.Point(12, 382); this.bnFavourites.Name = "bnFavourites"; this.bnFavourites.Size = new System.Drawing.Size(24, 24); this.bnFavourites.TabIndex = 7; this.bnFavourites.Click += new System.EventHandler(this.bnFavourites_Click); this.bnFavourites.Paint += new System.Windows.Forms.PaintEventHandler(this.FlatButtonCustomPainter); this.bnFavourites.MouseEnter += new System.EventHandler(this.FlatButtonMouseEnter); this.bnFavourites.MouseLeave += new System.EventHandler(this.FlatButtonMouseLeave); // // lblTarget // this.lblTarget.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.lblTarget.AutoSize = true; this.lblTarget.Location = new System.Drawing.Point(102, 387); this.lblTarget.Name = "lblTarget"; this.lblTarget.Size = new System.Drawing.Size(55, 13); this.lblTarget.TabIndex = 9; this.lblTarget.Text = "File name:"; // // bnOk // this.bnOk.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bnOk.Location = new System.Drawing.Point(475, 427); this.bnOk.Name = "bnOk"; this.bnOk.Size = new System.Drawing.Size(75, 23); this.bnOk.TabIndex = 5; this.bnOk.Text = "OK"; this.bnOk.MouseClick += new System.Windows.Forms.MouseEventHandler(this.bnOk_Click); // // bnCancel // this.bnCancel.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.bnCancel.Location = new System.Drawing.Point(556, 427); this.bnCancel.Name = "bnCancel"; this.bnCancel.Size = new System.Drawing.Size(75, 23); this.bnCancel.TabIndex = 6; this.bnCancel.Text = "Cancel"; this.bnCancel.Click += new System.EventHandler(this.bnCancel_Click); // // lvBrowser // this.lvBrowser.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lvBrowser.Dock = System.Windows.Forms.DockStyle.Fill; this.lvBrowser.FullRowSelect = true; this.lvBrowser.HideSelection = false; this.lvBrowser.ImeMode = System.Windows.Forms.ImeMode.On; this.lvBrowser.LargeImageList = this.ilLargeImages; this.lvBrowser.Location = new System.Drawing.Point(0, 0); this.lvBrowser.MultiSelect = false; this.lvBrowser.Name = "lvBrowser"; this.lvBrowser.Size = new System.Drawing.Size(377, 237); this.lvBrowser.SmallImageList = this.ilSmallImages; this.lvBrowser.TabIndex = 2; this.lvBrowser.UseCompatibleStateImageBehavior = false; this.lvBrowser.View = System.Windows.Forms.View.Details; this.lvBrowser.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.ListView_ColumnClick); this.lvBrowser.SelectedIndexChanged += new System.EventHandler(this.lvBrowser_SelectedIndexChanged); this.lvBrowser.Click += new System.EventHandler(this.lvBrowser_Click); this.lvBrowser.DoubleClick += new System.EventHandler(this.lvBrowser_DoubleClick); // // edFileName // this.edFileName.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.edFileName.Location = new System.Drawing.Point(178, 382); this.edFileName.Name = "edFileName"; this.edFileName.Size = new System.Drawing.Size(265, 20); this.edFileName.TabIndex = 3; this.edFileName.TextChanged += new System.EventHandler(this.edFileName_TextChanged); // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(102, 409); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(66, 13); this.label2.TabIndex = 16; this.label2.Text = "Files of type:"; // // edFilter // this.edFilter.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.edFilter.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.edFilter.Location = new System.Drawing.Point(178, 405); this.edFilter.Name = "edFilter"; this.edFilter.Size = new System.Drawing.Size(265, 21); this.edFilter.TabIndex = 4; this.edFilter.SelectedIndexChanged += new System.EventHandler(this.edFilter_SelectedIndexChanged); // // pnFavourites // this.pnFavourites.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.pnFavourites.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pnFavourites.Controls.Add(this.lvFavourites); this.pnFavourites.Location = new System.Drawing.Point(12, 44); this.pnFavourites.Name = "pnFavourites"; this.pnFavourites.Size = new System.Drawing.Size(88, 332); this.pnFavourites.TabIndex = 1; // // lvFavourites // this.lvFavourites.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lvFavourites.BackColor = System.Drawing.SystemColors.Window; this.lvFavourites.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lvFavourites.LargeImageList = this.ilLargeImages; this.lvFavourites.Location = new System.Drawing.Point(3, 11); this.lvFavourites.MultiSelect = false; this.lvFavourites.Name = "lvFavourites"; this.lvFavourites.Size = new System.Drawing.Size(82, 320); this.lvFavourites.TabIndex = 0; this.lvFavourites.UseCompatibleStateImageBehavior = false; this.lvFavourites.SelectedIndexChanged += new System.EventHandler(this.lvFavourites_SelectedIndexChanged); this.lvFavourites.DoubleClick += new System.EventHandler(this.lvFavourites_DoubleClick); // // bnRemoveFavourite // this.bnRemoveFavourite.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.bnRemoveFavourite.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.bnRemoveFavourite.ImageIndex = 5; this.bnRemoveFavourite.ImageList = this.ilButtons; this.bnRemoveFavourite.Location = new System.Drawing.Point(42, 382); this.bnRemoveFavourite.Name = "bnRemoveFavourite"; this.bnRemoveFavourite.Size = new System.Drawing.Size(24, 24); this.bnRemoveFavourite.TabIndex = 8; this.bnRemoveFavourite.Click += new System.EventHandler(this.bnRemoveFavourite_Click); this.bnRemoveFavourite.Paint += new System.Windows.Forms.PaintEventHandler(this.FlatButtonCustomPainter); this.bnRemoveFavourite.MouseEnter += new System.EventHandler(this.FlatButtonMouseEnter); this.bnRemoveFavourite.MouseLeave += new System.EventHandler(this.FlatButtonMouseLeave); // // splitContainerBrowse // this.splitContainerBrowse.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerBrowse.Location = new System.Drawing.Point(0, 0); this.splitContainerBrowse.Name = "splitContainerBrowse"; this.splitContainerBrowse.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainerBrowse.Panel1 // this.splitContainerBrowse.Panel1.Controls.Add(this.lvBrowser); // // splitContainerBrowse.Panel2 // this.splitContainerBrowse.Panel2.BackColor = System.Drawing.SystemColors.GradientActiveCaption; this.splitContainerBrowse.Panel2.Controls.Add(this.buttonToggleVersions); this.splitContainerBrowse.Panel2.Controls.Add(this.listViewVersions); this.splitContainerBrowse.Panel2.Controls.Add(this.labelVersions); this.splitContainerBrowse.Size = new System.Drawing.Size(377, 332); this.splitContainerBrowse.SplitterDistance = 237; this.splitContainerBrowse.TabIndex = 25; this.splitContainerBrowse.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer_SplitterMoved); // // buttonToggleVersions // this.buttonToggleVersions.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonToggleVersions.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.buttonToggleVersions.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonToggleVersions.ForeColor = System.Drawing.SystemColors.ControlDark; this.buttonToggleVersions.ImageIndex = 7; this.buttonToggleVersions.ImageList = this.ilButtons; this.buttonToggleVersions.Location = new System.Drawing.Point(357, 1); this.buttonToggleVersions.Name = "buttonToggleVersions"; this.buttonToggleVersions.Size = new System.Drawing.Size(19, 19); this.buttonToggleVersions.TabIndex = 2; this.buttonToggleVersions.UseVisualStyleBackColor = true; this.buttonToggleVersions.Click += new System.EventHandler(this.buttonToggleVersions_Click); this.buttonToggleVersions.Paint += new System.Windows.Forms.PaintEventHandler(this.FlatButtonCustomPainter); this.buttonToggleVersions.MouseEnter += new System.EventHandler(this.FlatButtonMouseEnter); this.buttonToggleVersions.MouseLeave += new System.EventHandler(this.FlatButtonMouseLeave); // // labelVersions // this.labelVersions.AutoSize = true; this.labelVersions.Location = new System.Drawing.Point(1, 5); this.labelVersions.Name = "labelVersions"; this.labelVersions.Size = new System.Drawing.Size(47, 13); this.labelVersions.TabIndex = 1; this.labelVersions.Text = "Versions"; // // comboBoxContentType // this.comboBoxContentType.Anchor = ((System.Windows.Forms.AnchorStyles) (((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.comboBoxContentType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBoxContentType.Enabled = false; this.comboBoxContentType.FormattingEnabled = true; this.comboBoxContentType.Location = new System.Drawing.Point(178, 429); this.comboBoxContentType.Name = "comboBoxContentType"; this.comboBoxContentType.Size = new System.Drawing.Size(265, 21); this.comboBoxContentType.TabIndex = 28; this.comboBoxContentType.SelectedIndexChanged += new System.EventHandler(this.comboBoxContentType_SelectedIndexChanged); // // labelContentType // this.labelContentType.Anchor = ((System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.labelContentType.AutoSize = true; this.labelContentType.Enabled = false; this.labelContentType.Location = new System.Drawing.Point(102, 433); this.labelContentType.Name = "labelContentType"; this.labelContentType.Size = new System.Drawing.Size(70, 13); this.labelContentType.TabIndex = 29; this.labelContentType.Text = "Content type:"; // // splitContainerMain // this.splitContainerMain.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainerMain.Location = new System.Drawing.Point(104, 44); this.splitContainerMain.Name = "splitContainerMain"; // // splitContainerMain.Panel1 // this.splitContainerMain.Panel1.Controls.Add(this.splitContainerBrowse); // // splitContainerMain.Panel2 // this.splitContainerMain.Panel2.BackColor = System.Drawing.SystemColors.ActiveCaption; this.splitContainerMain.Panel2.Controls.Add(this.panelDocumentProfiling); this.splitContainerMain.Size = new System.Drawing.Size(527, 332); this.splitContainerMain.SplitterDistance = 377; this.splitContainerMain.TabIndex = 30; // // panelDocumentProfiling // this.panelDocumentProfiling.BackColor = System.Drawing.SystemColors.Window; this.panelDocumentProfiling.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelDocumentProfiling.Dock = System.Windows.Forms.DockStyle.Fill; this.panelDocumentProfiling.Location = new System.Drawing.Point(0, 0); this.panelDocumentProfiling.Name = "panelDocumentProfiling"; this.panelDocumentProfiling.Size = new System.Drawing.Size(146, 332); this.panelDocumentProfiling.TabIndex = 28; // // SearchButton // this.SearchButton.BackColor = System.Drawing.Color.Black; this.SearchButton.BackgroundImage = ((System.Drawing.Image) (resources.GetObject("SearchButton.BackgroundImage"))); this.SearchButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.SearchButton.Location = new System.Drawing.Point(610, 8); this.SearchButton.Name = "SearchButton"; this.SearchButton.Size = new System.Drawing.Size(21, 23); this.SearchButton.TabIndex = 33; this.SearchButton.UseVisualStyleBackColor = false; // // SearchTimer // this.SearchTimer.Interval = 500; this.SearchTimer.Tick += new System.EventHandler(this.SearchTimer_Tick); // // glassTextBox1 // this.glassTextBox1.Location = new System.Drawing.Point(483, 10); this.glassTextBox1.Name = "glassTextBox1"; this.glassTextBox1.Size = new System.Drawing.Size(119, 20); this.glassTextBox1.TabIndex = 32; this.glassTextBox1.Text = "Search SharePoint"; // // explorerAddressNavigation1 // this.explorerAddressNavigation1.BackColor = System.Drawing.Color.Transparent; this.explorerAddressNavigation1.DockOnGlass = false; this.explorerAddressNavigation1.ForeColor = System.Drawing.SystemColors.WindowText; this.explorerAddressNavigation1.Location = new System.Drawing.Point(9, 7); this.explorerAddressNavigation1.Name = "explorerAddressNavigation1"; this.explorerAddressNavigation1.Padding = new System.Windows.Forms.Padding(1, 3, 1, 3); this.explorerAddressNavigation1.ShowRefresh = true; this.explorerAddressNavigation1.Size = new System.Drawing.Size(470, 34); this.explorerAddressNavigation1.TabIndex = 31; this.explorerAddressNavigation1.Text = "explorerAddressNavigation1"; // // listViewVersions // this.listViewVersions.Anchor = ((System.Windows.Forms.AnchorStyles) ((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.listViewVersions.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.listViewVersions.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeaderTitle, this.columnHeaderVersion}); this.listViewVersions.FullRowSelect = true; this.listViewVersions.HideSelection = false; this.listViewVersions.LargeImageList = this.ilLargeImages; this.listViewVersions.Location = new System.Drawing.Point(0, 21); this.listViewVersions.MultiSelect = false; this.listViewVersions.Name = "listViewVersions"; this.listViewVersions.Size = new System.Drawing.Size(377, 70); this.listViewVersions.SmallImageList = this.ilSmallImages; this.listViewVersions.TabIndex = 0; this.listViewVersions.UseCompatibleStateImageBehavior = false; this.listViewVersions.View = System.Windows.Forms.View.Details; this.listViewVersions.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.ListView_ColumnClick); this.listViewVersions.SelectedIndexChanged += new System.EventHandler(this.listViewVersions_SelectedIndexChanged); // // columnHeaderTitle // this.columnHeaderTitle.Text = "Title"; this.columnHeaderTitle.Width = 157; // // columnHeaderVersion // this.columnHeaderVersion.Text = "Version"; // // BrowseDialog // //Controls for the breadCrumbAddress Bar and search glasstextbox AddressBar.NodeClicked += new EventHandler<BreadcrumbBarNodeClickedEventArgs>(AddressBar_NodeClicked); AddressBar.Navigate += new EventHandler<BreadcrumbBarNavigateEventArgs>(AddressBar_Navigate); AddressBar.Root.DropDownMenuOpening += new CancelEventHandler(Root_DropDownMenuOpening); BreadCrumDropDownItemClickEventHandler += new EventHandler(NewBaseFileDialog_BreadCrumDropDownItemClickEventHandler); BreadCrumHistoryClickEventHandler += new EventHandler(BaseFileDialog_BreadCrumHistoryClickEventHandler); ExpNaviHistoryItemClickEventHandler += new EventHandler(ExpNaviBar_HistoryItemClickEventHandler); this.explorerAddressNavigation1.RefreshClick += new EventHandler(RefreshEventHandler); glassTextBox1.KeyUp += new KeyEventHandler(TextBoxSearchHandler); glassTextBox1.MouseUp += new MouseEventHandler(glassTextBox1_MouseClickUp); glassTextBox1.GotFocus += new EventHandler(glassTextBox1_GotFocus); glassTextBox1.Leave += new EventHandler(glassTextBox1_Leave); SearchButton.Click += new EventHandler(SearchButtonEventHandler); //end this.AcceptButton = this.bnOk; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.CancelButton = this.bnCancel; this.ClientSize = new System.Drawing.Size(640, 462); this.Controls.Add(this.SearchButton); this.Controls.Add(this.glassTextBox1); this.Controls.Add(this.explorerAddressNavigation1); this.Controls.Add(this.splitContainerMain); this.Controls.Add(this.labelContentType); this.Controls.Add(this.comboBoxContentType); this.Controls.Add(this.label2); this.Controls.Add(this.edFileName); this.Controls.Add(this.lblTarget); this.Controls.Add(this.bnRemoveFavourite); this.Controls.Add(this.pnFavourites); this.Controls.Add(this.edFilter); this.Controls.Add(this.bnCancel); this.Controls.Add(this.bnOk); this.Controls.Add(this.bnFavourites); this.MaximizeBox = false; this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(656, 500); this.Name = "BrowseDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Closing += new System.ComponentModel.CancelEventHandler(this.BrowseDialog_Closing); this.Load += new System.EventHandler(this.BrowseDialog_Load); this.Resize += new System.EventHandler(this.BrowseDialog_Resize); this.pnFavourites.ResumeLayout(false); this.splitContainerBrowse.Panel1.ResumeLayout(false); this.splitContainerBrowse.Panel2.ResumeLayout(false); this.splitContainerBrowse.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize) (this.splitContainerBrowse)).EndInit(); this.splitContainerBrowse.ResumeLayout(false); this.splitContainerMain.Panel1.ResumeLayout(false); this.splitContainerMain.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize) (this.splitContainerMain)).EndInit(); this.splitContainerMain.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }