Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've read Cristinel Mazarine's article in C#:

Visual Studio IDE like Dock Container - Second Version[^]

and i would like to add following option: the ability to move a form from docking container to out of docking, for example in a second monitor.

Can you tell me how to do?

Thanks

FP

What I have tried:

I've tried to modify Cristinel Mazarine's code but I did not succeed.
Posted
Updated 7-Nov-16 5:30am
v2

1 solution

The user should be able to unpin the form and then drag it to the 2nd monitor. Have you tried that?

EDIT =====================

If the library doesn't do what you want/need, there are several others available. One such alternative is Dock Panel Suite. It's claim to fame is that it mim9ics the Visual Studio window docking interface, and it's available with NuGet. Try that and see how it works for you. Another alternative is Avalon Dock on CodePlex (and maybe also available in NuGet).

The problem with using someone else's (free) code is that it is quite possibly in a state that is best described as "abandoned" (for example, the code you're trying to use - the author hasn't responded to any messages since January 2010). That means you're on your own if you run into problems. To get a resolution for said problem, google is your friend.

With the two alternatives I mentioned, you have a larger existing user base to draw from rather than an obviously unsupported code set.
 
Share this answer
 
v3
Comments
Frank Pez 7-Nov-16 11:41am    
Yes .... i've tried this ... i see that mouse cursor goes on second monitor but form disappears in the dock container when i move it.
#realJSOP 7-Nov-16 12:27pm    
I updated my answer.
Frank Pez 9-Nov-16 8:31am    
Thank you!

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