Members Login.
 

Please register HERE to be part of our Community
Contest of the Day.
 
Participate and Earn $$$.
Looking to Hire.
 
Earn By Posting
 
Participate in forum and Earn $$$.
  • Referrer Credit - BRL$ 100
  • Positive Rep Cr. - BRL$ 3
  • New Thread Cr.- BRL$ 3
  • Posting Cr. - BRL$ 3
  • Post size Credit
Full List of BRL$ Earnings
Sponsors.
 


C / C++ / C # Programming discussions related to C / C++ / C#

Reply
  #1 (permalink)  
Old 03-15-2008
Peon
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
somamnp is on a distinguished road
BRL$: 147.43
Default Creating a DockablePanel-Controlmanager Using C#,

The design is similar to the C# IDE, where you are able to dock the toolbox and various other panes, where you can see a preview rectangle and some icons while dragging the DockableForm around. These icons and the preview rectangle show you the different ways to drop your panel. To get the whole picture of what I'm doing to create a fully dockable panel, I have included a lot of pictures to demonstrate the whole logic behind the particular topic I'm covering. If this is your first visit to this series, I would really recommend to go through all the previous parts first. Why? Because each of the different parts include the full source code (up to that point), as well as some retrospective short explanations about the different topics covered already.

As mentioned earlier in former lessons, these articles are aimed at programmers who are relatively new to C# (currently reading a C# book, or did some small examples in C#), but also have an existing basic knowledge of programming, (for example, former Visual Basic programmers), and at those who want to learn about how to build your own usercontrols.

Docking to Center by inserting into a TabControl instead of adding to a SplitContainer.
As you remember, when docking the first DockablePanel, you always dock to the SplitControler. So, to dock the second one on a TabControl, you will need to perform the following steps:
  1. Remove the already docked DockablePanel from the SplitControler.
  2. Remove the SplitControler itself.
  3. Add a TabControl on the DockingControler.
  4. Add the original primordial DockablePanel to the TabControl.
  5. Add the new DockablePanel to the TabControl.
But, if you already have docked two DockablePanels to the DockingControler and will add an additional one, the same Docking method has to do the following.
  • Add the new DockablePanel to the TabControl.
  • Nothing else.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
4 Steps to Creating A Website Specifically to Earn AdSense Revenue Jason Adsense 0 09-30-2007 01:16 AM
Help creating a simple form like this please? Rss_Feeds PHP 0 09-15-2007 12:31 AM
Creating a news script Rss_Feeds PHP 0 07-24-2007 09:40 PM
Creating a Cache mr_atom PostGRE SQL 0 07-09-2007 06:13 AM
Creating a contact form with date/calendar entries Rss_Feeds PHP 0 07-09-2007 04:47 AM


 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91