L
L
libera2015-11-16 10:37:17
C++ / C#
libera, 2015-11-16 10:37:17

Working with Pages or other C# options?

It needs to be done, like several pages (roughly speaking)
It will display on 1, an example of "about the program", then I select "Author" in the navigation, it goes to this page and displays what I need. At the same time, it hides everything that was in the "about" tab . At the
beginning I tried stupidly to hide the elements and display something else, but it looks wretched, and not an option if there are several
tabs
. , but is it possible to display or show something differently?
For example, I have more than 5 such panels, but how to navigate through them. It turns out that it overlays them. From above and the previous one I can’t see where the elements were there.
I tried to move it to the background. But some elements in the end remain in front.
Is there any other way to do this, or what is the correct way?
Example.
In forms, a calculator program (a couple of buttons and a label)
In Panel1 about the program (a couple of labels 3-5)
In Panel2 Authors (a couple of labels 6-8)
As a result, I click on the background pantl 1-2 but not all the labels hide behind them, but remain in forms

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Danilov, 2015-11-16
@Danand

If we are talking about WinForms, then TabControl may well be suitable. But it looks rather archaic (however, like WinForms in general).

M
MonkAlex, 2015-11-16
@MonkAlex

I already wrote how to do this in WPF.
I'm too lazy to throw an example, because a beautiful solution should be with mvvm.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question