Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have Folder Browser Dialogue but when I run It I get Dialogue view on screen but I am not able to get its Icon On system Tray.
I want to make it work like c# form to achieve this I want add it into Form.


How can i achieve this behavior.

Regards,
Bhushan Lahane

What I have tried:

C#
Form dummyForm = new Form() { ShowInTaskbar = true, ShowIcon = true, WindowState = FormWindowState.Minimized, TopMost = true };

FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog()
DialogResult.OK == folderBrowserDialog.ShowDialog(dummyForm)
Here I added one form inside Folder browser but i want to add this folder browser inside c# form
Posted
Updated 17-Jul-17 23:34pm
v2

1 solution

That's because FolderBrowserDialog is not part of your program, but a Windows function.
You might use the custom dialogs from here: Ookii.Dialogs - Ookii.org[^]
Otherwise you could write your own version of FolderBrowserDialog :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900