Ejemplo n.º 1
0
        private void ToolStripMenuItemOpenClick(object sender, EventArgs e)
        {
            var form = new FindingLevelsForm(_directivesViewer.SelectedItem);

            if (form.ShowDialog() == DialogResult.OK)
            {
                AnimatedThreadWorker.RunWorkerAsync();
            }
        }
Ejemplo n.º 2
0
        protected override void FillDisplayerRequestedParams(ReferenceEventArgs e)
        {
            var form = new FindingLevelsForm(SelectedItem);

            if (form.ShowDialog() == DialogResult.OK)
            {
                _animatedThreadWorker.RunWorkerAsync();
            }

            e.Cancel = true;
        }
Ejemplo n.º 3
0
        private void ButtonAddDisplayerRequested(object sender, ReferenceEventArgs e)
        {
            var form = new FindingLevelsForm(new FindingLevels()
            {
                OperatorId = _operatorId
            });

            if (form.ShowDialog() == DialogResult.OK)
            {
                AnimatedThreadWorker.RunWorkerAsync();
            }
        }