private void pictureBox6_Click(object sender, EventArgs e) { agregarelementoaplaylist aa = new agregarelementoaplaylist(); aa.nombreelemento = titulo; aa.Location = this.Location; aa.linkelemento = linkLabel1.Text; this.Close(); aa.ShowDialog(); }
private void pictureBox6_Click(object sender, EventArgs e) { if (metroProgressSpinner1.Value == 100 && sepuede) { agregarelementoaplaylist aa = new agregarelementoaplaylist(); aa.nombreelemento = titulo; aa.Location = this.Location; aa.linkelemento = linkLabel1.Text; this.Close(); aa.ShowDialog(); } else { notificarerror("Por espere a que cargue la informacion del video"); } }