/// <summary> /// Evento al pulsar el boton Ciclos /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ButtonCycles_Click(object sender, EventArgs e) { this.SetCursorPosition((Button)sender); this.cyclesWindowControl = new CyclesWindowControl(); this.PanelContainer.Controls.Clear(); this.PanelContainer.Controls.Add(this.cyclesWindowControl); }
public MainAppForm() { InitializeComponent(); //Abre el menú de ciclos por defecto this.cyclesWindowControl = new CyclesWindowControl(); this.PanelContainer.Controls.Add(this.cyclesWindowControl); }