private void linkLblAlgorithms_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { FrmAlgorithm frmAlgorithm = new FrmAlgorithm(); frmAlgorithm.CurrentAlgorithms = this.stockSelectionAlgorithms; frmAlgorithm.ShowDialog(); if (frmAlgorithm.DialogResult == System.Windows.Forms.DialogResult.OK) { this.stockSelectionAlgorithms.Clear(); this.stockSelectionAlgorithms.AddRange(frmAlgorithm.ReturnedAlgorithms); setStockAlgorithmsLabel(); } }