private void Form1_Load(object sender, EventArgs e) { Views.Home hm = new Views.Home(); this.panelDisplay.Controls.Add(hm); hm.Location = new Point(0, 0); this.Refresh(); }
private void guna2GradientButton1_Click(object sender, EventArgs e) { Views.Home hm = new Views.Home(); this.panelDisplay.Controls.Clear(); this.panelDisplay.Controls.Add(hm); hm.Location = new Point(0, 0); this.Refresh(); }