Exemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     SidePanel.Height = CollectionButton.Height;
     CollectionPage.BringToFront();
     SidePanel.Height = EatInButton.Height;
     EatInPage1.BringToFront();
     SidePanel.Height = HomeButton.Height;
     FrontPage1.BringToFront();
 }
Exemplo n.º 2
0
 private void HomeButton_Click(object sender, EventArgs e)
 {
     SidePanel.Height = HomeButton.Height;
     SidePanel.Top    = HomeButton.Top;
     FrontPage1.BringToFront();
 }