Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserNavigatedEventHandler.cs / 1305376 / WebBrowserNavigatedEventHandler.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System.Net;
namespace System.Windows.Forms {
///
///
///
/// Delegate to the WebBrowser Navigated event.
///
///
public delegate void WebBrowserNavigatedEventHandler(object sender, WebBrowserNavigatedEventArgs e);
///
///
///
/// Provides data for the event.
///
///
public class WebBrowserNavigatedEventArgs : EventArgs {
private Uri url;
///
///
///
/// Creates an instance of the class.
///
///
public WebBrowserNavigatedEventArgs(Uri url) {
this.url = url;
}
///
///
///
/// Url the browser navigated to.
///
///
public Uri Url {
get {
WebBrowser.EnsureUrlConnectPermission(url);
return this.url;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System.Net;
namespace System.Windows.Forms {
///
///
///
/// Delegate to the WebBrowser Navigated event.
///
///
public delegate void WebBrowserNavigatedEventHandler(object sender, WebBrowserNavigatedEventArgs e);
///
///
///
/// Provides data for the event.
///
///
public class WebBrowserNavigatedEventArgs : EventArgs {
private Uri url;
///
///
///
/// Creates an instance of the class.
///
///
public WebBrowserNavigatedEventArgs(Uri url) {
this.url = url;
}
///
///
///
/// Url the browser navigated to.
///
///
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
- StylusPoint.cs
- TextViewDesigner.cs
- XmlSchemaSimpleType.cs
- securitycriticaldata.cs
- OperationAbortedException.cs
- AVElementHelper.cs
- MultipleViewPattern.cs
- MergeFilterQuery.cs
- CodeDomSerializerException.cs
- PeerCollaborationPermission.cs
- WebControlAdapter.cs
- AppearanceEditorPart.cs
- UniqueConstraint.cs
- XhtmlBasicTextViewAdapter.cs
- ScalarOps.cs
- SendActivityDesignerTheme.cs
- Trigger.cs
- SettingsProviderCollection.cs
- HashSetEqualityComparer.cs
- TypedTableGenerator.cs
- WindowsPen.cs
- EntityConnectionStringBuilder.cs
- TransactionTable.cs
- DetailsViewUpdatedEventArgs.cs
- SByteStorage.cs
- EventProxy.cs
- TextRunCacheImp.cs
- PropertyIDSet.cs
- ResourcePermissionBaseEntry.cs
- DBBindings.cs
- EventInfo.cs
- CryptoProvider.cs
- BamlLocalizabilityResolver.cs
- SchemaRegistration.cs
- SystemInfo.cs
- latinshape.cs
- DbException.cs
- VisualTarget.cs
- Link.cs
- ClientUriBehavior.cs
- AsymmetricKeyExchangeDeformatter.cs
- NameTable.cs
- ReadOnlyDataSource.cs
- FunctionUpdateCommand.cs
- XmlSchemaCompilationSettings.cs
- ItemCheckedEvent.cs
- ProtocolViolationException.cs
- CodeSnippetStatement.cs
- TextBoxDesigner.cs
- DocumentReferenceCollection.cs
- SqlReferenceCollection.cs
- KnownTypesHelper.cs
- DesignTimeParseData.cs
- CapabilitiesRule.cs
- VersionValidator.cs
- TextDecoration.cs
- RegexWorker.cs
- ValueOfAction.cs
- DataGridViewAutoSizeModeEventArgs.cs
- DigitalSignatureProvider.cs
- UnaryExpression.cs
- Regex.cs
- CombinedGeometry.cs
- SafeThreadHandle.cs
- PersonalizationStateInfoCollection.cs
- XhtmlBasicLabelAdapter.cs
- SystemIcons.cs
- AuthenticationService.cs
- ColorContext.cs
- Compiler.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- GridLength.cs
- GeneratedView.cs
- RtType.cs
- SafeFileHandle.cs
- MessageDecoder.cs
- HostVisual.cs
- ResXResourceWriter.cs
- WindowsStreamSecurityUpgradeProvider.cs
- StringOutput.cs
- Axis.cs
- XmlSignatureProperties.cs
- SemaphoreFullException.cs
- MappingMetadataHelper.cs
- WebPartDescription.cs
- ContentPresenter.cs
- UnsafeNativeMethodsTablet.cs
- TaskFactory.cs
- Label.cs
- ByteStreamBufferedMessageData.cs
- RotateTransform3D.cs
- UnionCodeGroup.cs
- GlobalizationAssembly.cs
- DesignerExtenders.cs
- SerializableAttribute.cs
- DiscreteKeyFrames.cs
- DefaultPropertyAttribute.cs
- GeneratedContractType.cs
- PathNode.cs
- ValidationSummary.cs