Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserNavigatingEventHandler.cs / 1305376 / 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
- ThreadStateException.cs
- ErrorLog.cs
- MetadataArtifactLoaderComposite.cs
- AnnotationDocumentPaginator.cs
- BitmapCodecInfo.cs
- SizeValueSerializer.cs
- ArrayTypeMismatchException.cs
- DataFormats.cs
- MimeTypePropertyAttribute.cs
- MenuItemBindingCollection.cs
- GridViewColumnCollection.cs
- SBCSCodePageEncoding.cs
- RightNameExpirationInfoPair.cs
- TextStore.cs
- FileVersionInfo.cs
- CodeCatchClause.cs
- StringKeyFrameCollection.cs
- HostedHttpTransportManager.cs
- RoleGroup.cs
- BaseParagraph.cs
- CustomExpression.cs
- ProfileService.cs
- CodeDelegateCreateExpression.cs
- CodeCommentStatementCollection.cs
- OLEDB_Enum.cs
- ThreadStateException.cs
- CmsInterop.cs
- Baml6Assembly.cs
- TreeNodeClickEventArgs.cs
- BatchWriter.cs
- DecimalConverter.cs
- DataContract.cs
- Rules.cs
- sqlser.cs
- GenericIdentity.cs
- ChooseAction.cs
- DataGridViewAdvancedBorderStyle.cs
- Point3DCollectionValueSerializer.cs
- DispatcherObject.cs
- RtfFormatStack.cs
- ReadOnlyCollectionBase.cs
- DynamicFilter.cs
- XPathMessageFilterElementComparer.cs
- TextRange.cs
- TypeDescriptionProviderAttribute.cs
- RuleRefElement.cs
- ComUdtElementCollection.cs
- CancellationHandler.cs
- EndPoint.cs
- Pointer.cs
- PaperSource.cs
- BasicHttpBindingElement.cs
- HttpFileCollection.cs
- mediapermission.cs
- Metadata.cs
- AddInPipelineAttributes.cs
- StringUtil.cs
- MessageHeaderAttribute.cs
- OracleConnectionString.cs
- CaseInsensitiveHashCodeProvider.cs
- Normalization.cs
- TableLayoutStyle.cs
- FeatureManager.cs
- ProxyWebPartConnectionCollection.cs
- Paragraph.cs
- StringResourceManager.cs
- ColorConverter.cs
- XPathNodeIterator.cs
- SiteMap.cs
- XmlSchemaGroup.cs
- ListItemCollection.cs
- FormsAuthenticationCredentials.cs
- NotifyParentPropertyAttribute.cs
- ReadOnlyHierarchicalDataSource.cs
- Application.cs
- FloaterParagraph.cs
- NameValueSectionHandler.cs
- BitmapImage.cs
- UnknownWrapper.cs
- SafeNativeMethods.cs
- LogicalExpressionEditor.cs
- SqlClientPermission.cs
- TemplateEditingFrame.cs
- TextPointerBase.cs
- RoutingBehavior.cs
- Calendar.cs
- MatrixTransform3D.cs
- ServiceDeploymentInfo.cs
- OutputCacheProfileCollection.cs
- UserMapPath.cs
- ProtocolsSection.cs
- ColumnTypeConverter.cs
- CodeAttributeArgumentCollection.cs
- BitmapScalingModeValidation.cs
- ToolStripDropTargetManager.cs
- HttpAsyncResult.cs
- FixedPage.cs
- DispatchOperationRuntime.cs
- CompositeClientFormatter.cs
- DataRowCollection.cs