Exemplo n.º 1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            UC_Clients allClients = new UC_Clients();

            this.Controls.Clear();
            this.Controls.Add(allClients);
        }
Exemplo n.º 2
0
        private void btnKlient_Click(object sender, EventArgs e)
        {
            UC_Clients clients = new UC_Clients();

            mainPanel.Controls.Clear();
            mainPanel.Controls.Add(clients);
        }
Exemplo n.º 3
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Controls.Clear();
            UC_Clients client = new UC_Clients();

            this.Controls.Add(client);
        }
Exemplo n.º 4
0
        private void CallPanel(int number)
        {
            switch (number)
            {
            case 1:
                UC_Clients c1 = new UC_Clients();
                this.Controls.Clear();
                this.Controls.Add(c1);
                break;

            case 2:
                UC_PrivateClient pc = new UC_PrivateClient();
                this.Controls.Clear();
                this.Controls.Add(pc);
                break;
            }
        }