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
- TagPrefixCollection.cs
- HtmlValidatorAdapter.cs
- IndexedEnumerable.cs
- Wizard.cs
- NativeMethods.cs
- ComAwareEventInfo.cs
- DataGridViewButtonColumn.cs
- ServiceReference.cs
- ParameterCollection.cs
- AsymmetricSecurityProtocol.cs
- ProtocolsConfigurationHandler.cs
- processwaithandle.cs
- BamlBinaryReader.cs
- StrokeNode.cs
- __TransparentProxy.cs
- DecoderBestFitFallback.cs
- GAC.cs
- FilterableAttribute.cs
- MarkedHighlightComponent.cs
- StorageSetMapping.cs
- PropertiesTab.cs
- GlyphTypeface.cs
- CqlWriter.cs
- LambdaCompiler.Logical.cs
- Ray3DHitTestResult.cs
- SessionEndingEventArgs.cs
- HtmlHead.cs
- EntityDesignerBuildProvider.cs
- ScrollProperties.cs
- SafeEventLogReadHandle.cs
- GridItemPattern.cs
- RangeValidator.cs
- XamlLoadErrorInfo.cs
- VirtualPathProvider.cs
- DataGridViewBand.cs
- ReadingWritingEntityEventArgs.cs
- SoapReflectionImporter.cs
- DeflateStreamAsyncResult.cs
- TranslateTransform.cs
- StringUtil.cs
- TimeStampChecker.cs
- DNS.cs
- ToolStripControlHost.cs
- HyperLinkField.cs
- UrlAuthFailedErrorFormatter.cs
- DataContractAttribute.cs
- ProcessDesigner.cs
- ContentValidator.cs
- RectangleGeometry.cs
- RootContext.cs
- SimplePropertyEntry.cs
- XPathSingletonIterator.cs
- HttpCachePolicy.cs
- TimeoutValidationAttribute.cs
- CodeTypeDeclarationCollection.cs
- HandledMouseEvent.cs
- MsmqInputSessionChannelListener.cs
- LookupBindingPropertiesAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- FileSystemEnumerable.cs
- TemplateField.cs
- BufferAllocator.cs
- Form.cs
- RadioButtonBaseAdapter.cs
- SymmetricAlgorithm.cs
- MissingSatelliteAssemblyException.cs
- LinkButton.cs
- ResourceContainer.cs
- TransformCollection.cs
- QuaternionKeyFrameCollection.cs
- DataServices.cs
- ObjectDataSourceDisposingEventArgs.cs
- MetadataUtilsSmi.cs
- HierarchicalDataBoundControlAdapter.cs
- UnsafeNativeMethods.cs
- ComPlusInstanceProvider.cs
- WindowsListView.cs
- ToolboxItemFilterAttribute.cs
- ContractBase.cs
- BooleanAnimationUsingKeyFrames.cs
- PathFigure.cs
- DataGridViewCellStyleChangedEventArgs.cs
- HtmlHead.cs
- DataGridColumnDropSeparator.cs
- NetworkAddressChange.cs
- PointCollection.cs
- AttachmentCollection.cs
- EntityDataReader.cs
- MimeBasePart.cs
- WebPartConnectionCollection.cs
- SqlTriggerAttribute.cs
- TraceSwitch.cs
- ResXBuildProvider.cs
- _Semaphore.cs
- ShaderEffect.cs
- DemultiplexingDispatchMessageFormatter.cs
- CharEnumerator.cs
- ComplexBindingPropertiesAttribute.cs
- SqlRowUpdatingEvent.cs
- SystemGatewayIPAddressInformation.cs