Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserDocumentCompletedEventHandler.cs / 1305376 / WebBrowserDocumentCompletedEventHandler.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System.Net;
namespace System.Windows.Forms {
///
///
///
/// Delegate to the WebBrowser DocumentCompleted event.
///
///
public delegate void WebBrowserDocumentCompletedEventHandler(object sender, WebBrowserDocumentCompletedEventArgs e);
///
///
///
/// Provides data for the event.
///
///
public class WebBrowserDocumentCompletedEventArgs : EventArgs {
private Uri url;
///
///
///
/// Creates an instance of the class.
///
///
public WebBrowserDocumentCompletedEventArgs(Uri url) {
this.url = url;
}
///
///
///
/// Url of the Document.
///
///
public Uri Url {
get {
WebBrowser.EnsureUrlConnectPermission(url);
return this.url;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowInteractionStateTracker.cs
- DataPointer.cs
- PageRanges.cs
- PropertyInfoSet.cs
- AccessViolationException.cs
- Guid.cs
- RenamedEventArgs.cs
- SqlFacetAttribute.cs
- OutputCacheSection.cs
- TextRangeEditLists.cs
- LookupBindingPropertiesAttribute.cs
- ZipIOLocalFileDataDescriptor.cs
- SharedPersonalizationStateInfo.cs
- HtmlInputHidden.cs
- WSIdentityFaultException.cs
- DesignerFrame.cs
- ParameterCollectionEditorForm.cs
- DeleteMemberBinder.cs
- InvalidEnumArgumentException.cs
- Component.cs
- DPCustomTypeDescriptor.cs
- FileSystemWatcher.cs
- WindowsListViewGroupHelper.cs
- HtmlTableRowCollection.cs
- SemanticBasicElement.cs
- TabPage.cs
- XmlHierarchyData.cs
- AnchoredBlock.cs
- ListViewDataItem.cs
- SmiSettersStream.cs
- XmlExpressionDumper.cs
- WindowVisualStateTracker.cs
- BasicViewGenerator.cs
- VerificationException.cs
- Operators.cs
- ProjectedSlot.cs
- EncodingNLS.cs
- InternalSafeNativeMethods.cs
- Encoding.cs
- DataView.cs
- TailCallAnalyzer.cs
- AspNetHostingPermission.cs
- VSWCFServiceContractGenerator.cs
- EntityDataSourceDesigner.cs
- RawStylusInputReport.cs
- StateWorkerRequest.cs
- LayoutEditorPart.cs
- MobileCapabilities.cs
- TextEndOfLine.cs
- SessionSwitchEventArgs.cs
- ConfigurationCollectionAttribute.cs
- ThreadExceptionDialog.cs
- _ChunkParse.cs
- PopupEventArgs.cs
- StringConcat.cs
- SqlLiftIndependentRowExpressions.cs
- NodeLabelEditEvent.cs
- OleDbException.cs
- storepermission.cs
- SqlDelegatedTransaction.cs
- DataGridViewColumnConverter.cs
- GroupBoxAutomationPeer.cs
- Variant.cs
- SecurityDocument.cs
- NotifyParentPropertyAttribute.cs
- CachedPathData.cs
- CodeMemberMethod.cs
- ExpressionList.cs
- EnumValidator.cs
- UnionExpr.cs
- Missing.cs
- DeploymentSectionCache.cs
- MessageFault.cs
- DataGridAutomationPeer.cs
- ConnectionPoint.cs
- EventBuilder.cs
- HtmlInputSubmit.cs
- Geometry.cs
- Size3DValueSerializer.cs
- _AutoWebProxyScriptEngine.cs
- ScriptRegistrationManager.cs
- DefaultWorkflowLoaderService.cs
- Internal.cs
- SByte.cs
- DocumentXPathNavigator.cs
- EventMemberCodeDomSerializer.cs
- EntityCommandCompilationException.cs
- ConfigXmlAttribute.cs
- WinInetCache.cs
- GridViewPageEventArgs.cs
- AppDomainProtocolHandler.cs
- VisualStyleElement.cs
- ExpressionBindingCollection.cs
- EmissiveMaterial.cs
- ImpersonateTokenRef.cs
- Evidence.cs
- BasicExpandProvider.cs
- EmptyImpersonationContext.cs
- AncillaryOps.cs
- ResolveInfo.cs