private void LinkLabelEditComponents_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { var form = new WpProviderForm(_currentWp); if (form.ShowDialog() == DialogResult.OK) { metroTextBox1.Text = $"{_currentWp.ProviderPrice.Count} Count"; } }
private void ToolStripMenuItemEditProviderClick(object sender, EventArgs e) { var form = new WpProviderForm(_directivesViewer.SelectedItem); if (form.ShowDialog() == DialogResult.OK) { GlobalObjects.NewKeeper.Save(_directivesViewer.SelectedItem); AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoWork; AnimatedThreadWorker.RunWorkerAsync(); } }