private void addClientToolStripMenuItem_Click(object sender, EventArgs e) { UCAddClient addClient = new UCAddClient(); panel3.Controls.Add(addClient); addClient.BringToFront(); addClient.Dock = DockStyle.Fill; }
private void pictureBox1_Click(object sender, EventArgs e) { UCAddClient AddClient = new UCAddClient(); panel4.Controls.Add(AddClient); AddClient.BringToFront(); AddClient.Dock = DockStyle.Fill; }
private void clientToolStripMenuItem_Click(object sender, EventArgs e) { UCClient client = new UCClient(); this.panel3.Controls.Add(client); client.BringToFront(); client.Dock = DockStyle.Fill; UCAddClient AddReport = new UCAddClient(); client.panel4.Controls.Add(AddReport); AddReport.BringToFront(); AddReport.Dock = DockStyle.Fill; }