Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 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();
 }