Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserNavigatingEventHandler.cs / 1 / WebBrowserNavigatingEventHandler.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Net; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public delegate void WebBrowserNavigatingEventHandler(object sender, WebBrowserNavigatingEventArgs e); ////// Delegate to the WebBrowser Navigating event. /// ////// /// public class WebBrowserNavigatingEventArgs : CancelEventArgs { private Uri url; private string targetFrameName; ////// Provides data for the ///event. /// /// /// public WebBrowserNavigatingEventArgs(Uri url, string targetFrameName) { this.url = url; this.targetFrameName = targetFrameName; } ////// Creates an instance of the ///class. /// /// /// public Uri Url { get { WebBrowser.EnsureUrlConnectPermission(url); return this.url; } } ////// Url the browser is navigating to. /// ////// /// public string TargetFrameName { get { WebBrowser.EnsureUrlConnectPermission(url); return this.targetFrameName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// In case an individual frame is about to be navigated, this contains the frame name. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Net; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public delegate void WebBrowserNavigatingEventHandler(object sender, WebBrowserNavigatingEventArgs e); ////// Delegate to the WebBrowser Navigating event. /// ////// /// public class WebBrowserNavigatingEventArgs : CancelEventArgs { private Uri url; private string targetFrameName; ////// Provides data for the ///event. /// /// /// public WebBrowserNavigatingEventArgs(Uri url, string targetFrameName) { this.url = url; this.targetFrameName = targetFrameName; } ////// Creates an instance of the ///class. /// /// /// public Uri Url { get { WebBrowser.EnsureUrlConnectPermission(url); return this.url; } } ////// Url the browser is navigating to. /// ////// /// public string TargetFrameName { get { WebBrowser.EnsureUrlConnectPermission(url); return this.targetFrameName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// In case an individual frame is about to be navigated, this contains the frame name. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebBrowsableAttribute.cs
- SoapFormatExtensions.cs
- HebrewCalendar.cs
- ServiceRoute.cs
- Authorization.cs
- WCFBuildProvider.cs
- CompositeCollection.cs
- ImageClickEventArgs.cs
- WhereQueryOperator.cs
- RoleManagerSection.cs
- arclist.cs
- ConditionCollection.cs
- AssemblyCollection.cs
- LineServices.cs
- Padding.cs
- InternalEnumValidator.cs
- FrameSecurityDescriptor.cs
- WrappedIUnknown.cs
- XpsFilter.cs
- IdentityNotMappedException.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- ElementUtil.cs
- AsymmetricAlgorithm.cs
- RootNamespaceAttribute.cs
- precedingsibling.cs
- CodeComment.cs
- SocketException.cs
- ColumnHeader.cs
- ButtonBaseAutomationPeer.cs
- HasCopySemanticsAttribute.cs
- XmlSchemaExternal.cs
- CatalogPart.cs
- XXXInfos.cs
- DisableDpiAwarenessAttribute.cs
- FirstMatchCodeGroup.cs
- EditBehavior.cs
- AdRotator.cs
- DataMisalignedException.cs
- AffineTransform3D.cs
- ParameterCollectionEditorForm.cs
- Underline.cs
- PageOutputColor.cs
- BuildProviderCollection.cs
- SQLBinary.cs
- MimeMultiPart.cs
- ValuePattern.cs
- MsmqException.cs
- ExtendedPropertiesHandler.cs
- CoreSwitches.cs
- HttpListenerRequestUriBuilder.cs
- ImageClickEventArgs.cs
- SystemColors.cs
- AssemblyCache.cs
- SqlTransaction.cs
- BitmapEffect.cs
- EntityWithKeyStrategy.cs
- BezierSegment.cs
- InstanceValue.cs
- CompiledIdentityConstraint.cs
- RegisteredDisposeScript.cs
- SqlFileStream.cs
- OutputCacheSettings.cs
- WebBrowserPermission.cs
- SqlPersistenceProviderFactory.cs
- ManagedFilter.cs
- CurrencyManager.cs
- XmlSchemaSet.cs
- Publisher.cs
- ServiceContractViewControl.Designer.cs
- ScrollItemPatternIdentifiers.cs
- UrlMappingsModule.cs
- NotifyParentPropertyAttribute.cs
- Automation.cs
- TextUtf8RawTextWriter.cs
- BindingElementExtensionElement.cs
- Ray3DHitTestResult.cs
- LinearGradientBrush.cs
- MessageAction.cs
- TypeProvider.cs
- NonSerializedAttribute.cs
- TextRangeEditLists.cs
- ProfileService.cs
- ErrorHandler.cs
- WeakReferenceKey.cs
- CanonicalXml.cs
- FontInfo.cs
- StoreItemCollection.cs
- XmlSchemaIdentityConstraint.cs
- XPathNode.cs
- ObjectDataSourceChooseMethodsPanel.cs
- ServiceModelActivationSectionGroup.cs
- SqlTriggerContext.cs
- SqlTriggerContext.cs
- ConnectionManagementElement.cs
- Permission.cs
- SafeArrayTypeMismatchException.cs
- PrivilegeNotHeldException.cs
- QilFunction.cs
- Util.cs
- ColorBlend.cs