private void MainMenu_Click(object sender, EventArgs e) { LittleTaskPane.MainMenuVisible = null; LittleTaskPane.MainMenuVisible += new LittleTaskPane.HeadMenuOperations(LittleTaskPane.ShowMainHead); LittleTaskPane.MainMenuVisible(sender, e); userControl.Visible = false; }
private void buildFlapBtn_Click(object sender, EventArgs e) { MessageObserver.Instance.ReceivedMessage += Instance_ReceivedMessage; LittleTaskPane.footer.Controls.Clear(); userControl = new FlapBuilderControl(); userControl.Dock = DockStyle.Fill; LittleTaskPane.footer.Controls.Add(userControl); LittleTaskPane.MainMenuVisible = null; LittleTaskPane.MainMenuVisible += new LittleTaskPane.HeadMenuOperations(LittleTaskPane.HideMainHead); LittleTaskPane.MainMenuVisible(sender, e); }