Esempio n. 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;
            FormWorksetDefineFaultLog formWorksetDefineFaultLog = new FormWorksetDefineFaultLog(m_WorksetCollection);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineFaultLog.CalledFrom = this;
            formWorksetDefineFaultLog.ShowDialog();
            Cursor = Cursors.Default;
        }
Esempio n. 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.
            FormWorksetDefineFaultLog formWorksetDefineFaultLog = new FormWorksetDefineFaultLog(m_WorksetCollection, selectedItem.Workset, false);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineFaultLog.CalledFrom = this;
            formWorksetDefineFaultLog.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;
            FormWorksetDefineFaultLog formWorksetDefineFaultLog = new FormWorksetDefineFaultLog(m_WorksetCollection);

            // Allow the shown form to re-highlight the selected configuration before it closes.
            formWorksetDefineFaultLog.CalledFrom = this;
            formWorksetDefineFaultLog.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.
            FormWorksetDefineFaultLog formWorksetDefineFaultLog = new FormWorksetDefineFaultLog(m_WorksetCollection, selectedItem.Workset, false);

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