Example #1
0
        /// <summary>
        /// Call the form which allows the user to create a new workset.
        /// </summary>
        protected override void CreateNewWorkset()
        {
            // Skip, if the Dispose() method has been called.
            if (IsDisposed)
            {
                return;
            }

            Cursor = Cursors.WaitCursor;
            FormWorksetDefineChartRecorder formWorksetDefineChartRecorder = new FormWorksetDefineChartRecorder(m_WorksetCollection);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineChartRecorder.CalledFrom = this;
            formWorksetDefineChartRecorder.ShowDialog();
            Cursor = Cursors.Default;
        }
Example #2
0
        /// <summary>
        /// Call the form which allows the user to edit the selected workset.
        /// </summary>
        /// <param name="selectedItem">The selected workset item.</param>
        protected override void EditSelectedWorkset(WorksetItem selectedItem)
        {
            // Skip, if the Dispose() method has been called.
            if (IsDisposed)
            {
                return;
            }

            Cursor = Cursors.WaitCursor;

            // Show the form which allows the user to edit the workset.
            FormWorksetDefineChartRecorder formWorksetDefineChartRecorder = new FormWorksetDefineChartRecorder(m_WorksetCollection, selectedItem.Workset, false);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineChartRecorder.CalledFrom = this;
            formWorksetDefineChartRecorder.ShowDialog();
            Cursor = Cursors.Default;
        }
        /// <summary>
        /// Call the form which allows the user to create a new workset.
        /// </summary>
        protected override void CreateNewWorkset()
        {
            // Skip, if the Dispose() method has been called.
            if (IsDisposed)
            {
                return;
            }

            Cursor = Cursors.WaitCursor;
            FormWorksetDefineChartRecorder formWorksetDefineChartRecorder = new FormWorksetDefineChartRecorder(m_WorksetCollection);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineChartRecorder.CalledFrom = this;
            formWorksetDefineChartRecorder.ShowDialog();
            Cursor = Cursors.Default;
        }
        /// <summary>
        /// Call the form which allows the user to edit the selected workset.
        /// </summary>
        /// <param name="selectedItem">The selected workset item.</param>
        protected override void EditSelectedWorkset(WorksetItem selectedItem)
        {
            // Skip, if the Dispose() method has been called.
            if (IsDisposed)
            {
                return;
            }

            Cursor = Cursors.WaitCursor;

            // Show the form which allows the user to edit the workset.
            FormWorksetDefineChartRecorder formWorksetDefineChartRecorder = new FormWorksetDefineChartRecorder(m_WorksetCollection, selectedItem.Workset, false);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineChartRecorder.CalledFrom = this;
            formWorksetDefineChartRecorder.ShowDialog();
            Cursor = Cursors.Default;
        }