diff --git a/UnitTests/ExplorerBrowser/ExplorerBrowserDemo.csproj b/UnitTests/ExplorerBrowser/ExplorerBrowserDemo.csproj index c2ae87a3..ccba4d5e 100644 --- a/UnitTests/ExplorerBrowser/ExplorerBrowserDemo.csproj +++ b/UnitTests/ExplorerBrowser/ExplorerBrowserDemo.csproj @@ -60,6 +60,9 @@ SimpleForm.cs + + + diff --git a/UnitTests/ExplorerBrowser/SimpleForm.Designer.cs b/UnitTests/ExplorerBrowser/SimpleForm.Designer.cs index 1ed181db..8e6ee095 100644 --- a/UnitTests/ExplorerBrowser/SimpleForm.Designer.cs +++ b/UnitTests/ExplorerBrowser/SimpleForm.Designer.cs @@ -28,27 +28,13 @@ /// private void InitializeComponent() { - this.explorerBrowser1 = new Vanara.Windows.Forms.ExplorerBrowser(); this.SuspendLayout(); // - // explorerBrowser1 - // - this.explorerBrowser1.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.explorerBrowser1.ContentFlags = ((Vanara.Windows.Forms.ExplorerBrowserContentSectionOptions)((Vanara.Windows.Forms.ExplorerBrowserContentSectionOptions.NoWebView | Vanara.Windows.Forms.ExplorerBrowserContentSectionOptions.UseSearchFolder))); - this.explorerBrowser1.Location = new System.Drawing.Point(124, 48); - this.explorerBrowser1.Name = "explorerBrowser1"; - this.explorerBrowser1.NavigationFlags = Vanara.Windows.Forms.ExplorerBrowserNavigateOptions.ShowFrames; - this.explorerBrowser1.Size = new System.Drawing.Size(541, 335); - this.explorerBrowser1.TabIndex = 0; - // // SimpleForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); - this.Controls.Add(this.explorerBrowser1); this.Name = "SimpleForm"; this.Text = "SimpleForm"; this.Load += new System.EventHandler(this.SimpleForm_Load); @@ -58,6 +44,5 @@ #endregion - private Vanara.Windows.Forms.ExplorerBrowser explorerBrowser1; } } \ No newline at end of file diff --git a/UnitTests/ExplorerBrowser/SimpleForm.cs b/UnitTests/ExplorerBrowser/SimpleForm.cs index 22e28220..387de6b0 100644 --- a/UnitTests/ExplorerBrowser/SimpleForm.cs +++ b/UnitTests/ExplorerBrowser/SimpleForm.cs @@ -20,7 +20,7 @@ namespace Microsoft.WindowsAPICodePack.Samples private void SimpleForm_Load(object sender, EventArgs e) { - explorerBrowser1.Navigate(ShellFolder.Desktop); + //explorerBrowser1.Navigate(ShellFolder.Desktop); } } }