private void buttonDash_Click(object sender, EventArgs e) { panel3.Controls.Clear(); dashboard dash = new dashboard(); panel3.Controls.Add(dash); AddBtn.Hide(); labelTitle.Text = "Overblik"; }
public Form1() { //SPLASH //END SPLASH InitializeComponent(); this.FormBorderStyle = FormBorderStyle.None; Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 15, 15)); dashboard dash = new dashboard(); panel3.Controls.Add(dash); AddBtn.Hide(); }