Esempio n. 1
0
        private void LinkLabelEditComponents_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var form = new WpProviderForm(_currentWp);

            if (form.ShowDialog() == DialogResult.OK)
            {
                metroTextBox1.Text = $"{_currentWp.ProviderPrice.Count} Count";
            }
        }
Esempio n. 2
0
        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();
            }
        }