ClearCanvas.Desktop.View.WinForms.WorkspaceView.RemoveDialogBoxView C# (CSharp) Method

RemoveDialogBoxView() private method

private RemoveDialogBoxView ( WorkspaceDialogBoxView view ) : void
view WorkspaceDialogBoxView
return void
		internal void RemoveDialogBoxView(WorkspaceDialogBoxView view)
		{
			_dialogBoxManager.RemoveDialogBoxView(view);
		}

Usage Example

Example #1
0
        /// <summary>
        /// Disposes of this object.
        /// </summary>
        /// <param name="disposing"></param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_form != null)
                {
                    _reallyClose = true;

                    // Remove the dialog box
                    _owner.RemoveDialogBoxView(this);

                    _content.Dispose();
                    _content = null;
                    _form.Dispose();
                    _form = null;
                }
            }

            base.Dispose(disposing);
        }