How do I draw the same area with different sets of controls?

I am using Winforms / C # .NET.

As ToolStripI have different buttons, each of them should go to another page. (I do not know which term I should use for this.)

I cannot express it clearly. A close software that displays what I want is ccleaner see image here: http://i.imagehost.org/0569/cc.gif alt text http://i.imagehost.org/0569/cc. gif

by choice, each tab / button / (I don’t know what it really is) from the parameters on the left side of the ccleaner, registry, tasks, parameters. The content on the red frame changes.

This is exactly what I want. Also, how can I get this look?

+3
source share
4 answers

My solution is a little more complicated, but it creates a nice effect. Make every page you want to show out of UserControland put all your controls on it. My “tabs” were actually the owner drawn ListViewin Tile mode. With the owner’s drawing I got a nice mouse over the effect on ListView. When the selection ListViewdoes not change, show the corresponding page.

+1
source

To achieve a similar result, you can own the tab / tree structure management tool of the owner.

0
source

, , .

, , # , .

"", , Differential Execution, .

  • - .

  • "" , , .

  • , , , , .

  • , , .

?

  • . .

  • , , , , . ( , , .)

  • , , , , , , .

  • , , , .., , , , .

, . .

0

:

  • :
    ( ). . .

  • , .

0

Source: https://habr.com/ru/post/1731195/


All Articles