private void Button_Reset_Click(object sender, EventArgs e) { Panel_Configuration.Hide(); Panel_Simulation.Hide(); ModifyPanelForPrey(); HideItemDetailComponents(); SetInitialStatus(); PictureBox_Graph.Image = new Bitmap(1300, 1000); }
private void Button_Next_Click(object sender, EventArgs e) { if (ConfigurePhase == "Prey") { this.ConfigurePhase = "Predator"; ModifyPanelForPredator(); } else if (ConfigurePhase == "Predator") { this.ConfigurePhase = "Prey"; ModifyPanelForPrey(); HideItemDetailComponents(); Panel_Configuration.Hide(); Panel_Simulation.Hide(); Notification msg = new Notification("Presas y depredadores definidos correctamente."); msg.ShowDialog(); this.ItemsConfigurated = true; } }