Ejemplo n.º 1
0
        private void HeaderControlOnEditButtonClick(object sender, EventArgs e)
        {
            var form = new WorkPackageEditorForm(_wp);

            if (form.ShowDialog() == DialogResult.OK)
            {
                AnimatedThreadWorker.RunWorkerAsync();
            }
        }
Ejemplo n.º 2
0
        private void ButtonAddDisplayerRequested(object sender, ReferenceEventArgs e)
        {
            var form = new WorkPackageEditorForm(new SmartCore.CAA.CAAWP.CoursePackage()
            {
                OperatorId = _operatorId
            });

            if (form.ShowDialog() == DialogResult.OK)
            {
                AnimatedThreadWorker.RunWorkerAsync();
            }
        }
Ejemplo n.º 3
0
        private void ToolStripMenuItemEditClick(object sender, EventArgs e)
        {
            if (_directivesViewer.SelectedItem == null)
            {
                return;
            }

            var form = new WorkPackageEditorForm(_directivesViewer.SelectedItem);

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