Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserNavigatedEventHandler.cs / 1 / 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
- ApplicationSecurityInfo.cs
- ContextProperty.cs
- TypedDatasetGenerator.cs
- TextRunTypographyProperties.cs
- XmlTextWriter.cs
- ProcessProtocolHandler.cs
- ExclusiveCanonicalizationTransform.cs
- MetadataItemCollectionFactory.cs
- ResourceWriter.cs
- TextServicesCompartmentEventSink.cs
- FieldDescriptor.cs
- FSWPathEditor.cs
- _Events.cs
- ArrayTypeMismatchException.cs
- ListControlConvertEventArgs.cs
- UniqueIdentifierService.cs
- coordinator.cs
- OdbcConnectionStringbuilder.cs
- XmlCountingReader.cs
- DesignTimeType.cs
- NameValuePair.cs
- xmlNames.cs
- XLinq.cs
- CacheHelper.cs
- Crypto.cs
- GradientBrush.cs
- ToolStripSeparatorRenderEventArgs.cs
- Point4DValueSerializer.cs
- WebConfigurationHostFileChange.cs
- TreeNodeSelectionProcessor.cs
- BinaryKeyIdentifierClause.cs
- ISAPIApplicationHost.cs
- AmbientEnvironment.cs
- WindowInteropHelper.cs
- DataObjectMethodAttribute.cs
- FixedMaxHeap.cs
- IUnknownConstantAttribute.cs
- XmlTextAttribute.cs
- ScriptModule.cs
- GetWinFXPath.cs
- DecimalFormatter.cs
- MailBnfHelper.cs
- MetaData.cs
- SpellCheck.cs
- BorderGapMaskConverter.cs
- EntityDataSourceDesigner.cs
- SendMailErrorEventArgs.cs
- ReferenceService.cs
- PackagePartCollection.cs
- X509ChainPolicy.cs
- XmlWrappingReader.cs
- ShortcutKeysEditor.cs
- wgx_commands.cs
- SafeCryptContextHandle.cs
- GrammarBuilderPhrase.cs
- KeyValuePairs.cs
- SchemaObjectWriter.cs
- WsatConfiguration.cs
- SiteMapPathDesigner.cs
- ComponentChangedEvent.cs
- MsmqBindingMonitor.cs
- XmlDataSourceView.cs
- MarkupObject.cs
- WindowsListBox.cs
- PackageStore.cs
- FrameworkElement.cs
- Light.cs
- NotImplementedException.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ExtensionFile.cs
- HeaderCollection.cs
- InstanceCreationEditor.cs
- Comparer.cs
- PersonalizationProviderCollection.cs
- Viewport2DVisual3D.cs
- FloaterParagraph.cs
- FileCodeGroup.cs
- EventToken.cs
- OdbcPermission.cs
- SimpleType.cs
- CallbackDebugBehavior.cs
- FrameworkReadOnlyPropertyMetadata.cs
- OutKeywords.cs
- WebPartDescriptionCollection.cs
- WindowsRegion.cs
- DataSet.cs
- XmlAttribute.cs
- Brush.cs
- ProviderConnectionPointCollection.cs
- TcpConnectionPool.cs
- TableChangeProcessor.cs
- HttpHeaderCollection.cs
- XmlSchemaImporter.cs
- ColorMap.cs
- ScalarOps.cs
- COM2PropertyDescriptor.cs
- MarkupCompilePass2.cs
- AttributeCollection.cs
- ContractType.cs
- Match.cs