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
- SplitterCancelEvent.cs
- SqlDataSourceSelectingEventArgs.cs
- PrintPreviewGraphics.cs
- BindingMAnagerBase.cs
- ImportFileRequest.cs
- ComPlusThreadInitializer.cs
- InfoCardRSACryptoProvider.cs
- OptimalTextSource.cs
- InkSerializer.cs
- RegexCharClass.cs
- WindowsGraphicsCacheManager.cs
- BindingBase.cs
- shaper.cs
- DataServiceHostFactory.cs
- PublisherMembershipCondition.cs
- DataListGeneralPage.cs
- ConfigurationValidatorAttribute.cs
- FileReservationCollection.cs
- LabelExpression.cs
- Rules.cs
- ResourceReferenceExpressionConverter.cs
- WindowsStartMenu.cs
- UpdatableGenericsFeature.cs
- SizeConverter.cs
- updatecommandorderer.cs
- PropertyInfo.cs
- UDPClient.cs
- TreeNodeCollection.cs
- ThreadNeutralSemaphore.cs
- CompoundFileReference.cs
- WmlCalendarAdapter.cs
- SqlBulkCopyColumnMappingCollection.cs
- OdbcCommandBuilder.cs
- Vector3DAnimationUsingKeyFrames.cs
- WebPartConnectVerb.cs
- Restrictions.cs
- ByteConverter.cs
- DateTimeStorage.cs
- TraceData.cs
- ThreadExceptionDialog.cs
- Parsers.cs
- EdmMember.cs
- URLAttribute.cs
- PTUtility.cs
- DashStyles.cs
- Misc.cs
- RegistryConfigurationProvider.cs
- FormsAuthenticationConfiguration.cs
- DisposableCollectionWrapper.cs
- CompoundFileStorageReference.cs
- ObjectFullSpanRewriter.cs
- FontStyles.cs
- SchemaTypeEmitter.cs
- ConsumerConnectionPointCollection.cs
- Compiler.cs
- RegexGroup.cs
- adornercollection.cs
- LayoutUtils.cs
- MoveSizeWinEventHandler.cs
- OleDbCommand.cs
- DataGridViewCellValidatingEventArgs.cs
- RegistryPermission.cs
- InputScopeNameConverter.cs
- DataKey.cs
- DataGridViewCellLinkedList.cs
- MostlySingletonList.cs
- PrivilegedConfigurationManager.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Encoder.cs
- CodeTypeMemberCollection.cs
- cookie.cs
- CatalogPartCollection.cs
- CollectionTypeElement.cs
- RTLAwareMessageBox.cs
- TimelineClockCollection.cs
- OpCodes.cs
- Win32KeyboardDevice.cs
- MatrixCamera.cs
- SecurityTokenException.cs
- BoolExpressionVisitors.cs
- SamlAttribute.cs
- StrokeDescriptor.cs
- WindowsListViewGroupSubsetLink.cs
- RichTextBox.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- AssemblyHash.cs
- QueryStringHandler.cs
- DataGridItem.cs
- FrameDimension.cs
- ToggleButtonAutomationPeer.cs
- WebConfigurationManager.cs
- CompModSwitches.cs
- ListControlDesigner.cs
- OracleConnectionStringBuilder.cs
- CodeMemberEvent.cs
- ObjectTypeMapping.cs
- EpmTargetPathSegment.cs
- IsolatedStorageFilePermission.cs
- RecipientInfo.cs
- HwndSource.cs