private void BooksButton_Click(object sender, EventArgs e) { BodyTabControl.SelectTab(Books); //SidePanel.Top = BookIssueButton.Top; SlidePanel(SidePanel.Top, BooksButton.Top); SidePanel.Height = BooksButton.Height; }
private void DashboardButton_Click(object sender, EventArgs e) { BodyTabControl.SelectTab(Dashboard); //SidePanel.Top = DashboardButton.Top; SlidePanel(SidePanel.Top, DashboardButton.Top); SidePanel.Height = DashboardButton.Height; }