ClearCanvas.Desktop.View.WinForms.WorkspaceDialogBoxView.Dispose C# (CSharp) Method

Dispose() protected method

Disposes of this object.
protected Dispose ( bool disposing ) : void
disposing bool
return void
		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);
		}