Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SweepDirectionValidation.cs
- TraceUtils.cs
- ThreadAttributes.cs
- ValueConversionAttribute.cs
- MetadataSerializer.cs
- PageThemeBuildProvider.cs
- WinEventTracker.cs
- Metadata.cs
- GlobalProxySelection.cs
- HttpDebugHandler.cs
- WmpBitmapEncoder.cs
- ElementAction.cs
- QuerySetOp.cs
- Attributes.cs
- CookielessHelper.cs
- Debug.cs
- UIPropertyMetadata.cs
- DesigntimeLicenseContext.cs
- EdgeProfileValidation.cs
- DetailsViewInsertedEventArgs.cs
- ViewCellRelation.cs
- UInt16Storage.cs
- Header.cs
- CallbackWrapper.cs
- COM2ExtendedUITypeEditor.cs
- PointAnimationClockResource.cs
- thaishape.cs
- DbSourceParameterCollection.cs
- PasswordDeriveBytes.cs
- RelativeSource.cs
- FixedSOMSemanticBox.cs
- Matrix.cs
- HyperLinkStyle.cs
- NetworkInformationPermission.cs
- LoadGrammarCompletedEventArgs.cs
- PinnedBufferMemoryStream.cs
- NativeMethods.cs
- FilteredXmlReader.cs
- ListItemParagraph.cs
- CodeNamespaceImportCollection.cs
- Hash.cs
- TextBoxRenderer.cs
- XamlClipboardData.cs
- MetadataArtifactLoaderCompositeResource.cs
- SearchForVirtualItemEventArgs.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Int32CAMarshaler.cs
- Vars.cs
- ToolStripSettings.cs
- ImageMapEventArgs.cs
- TraceEventCache.cs
- CoTaskMemHandle.cs
- TextCompositionEventArgs.cs
- EntityDataSourceDesigner.cs
- Vector3DAnimationBase.cs
- SuspendDesigner.cs
- ServiceChannelFactory.cs
- UpdatePanel.cs
- CryptoApi.cs
- DataConnectionHelper.cs
- Merger.cs
- SqlInternalConnectionSmi.cs
- HeaderedContentControl.cs
- HtmlTextBoxAdapter.cs
- SkinBuilder.cs
- COAUTHINFO.cs
- IntegerCollectionEditor.cs
- SerializationEventsCache.cs
- UnmanagedMarshal.cs
- SliderAutomationPeer.cs
- ISFTagAndGuidCache.cs
- TextUtf8RawTextWriter.cs
- PrintController.cs
- SelectionRange.cs
- ExtentKey.cs
- FormViewAutoFormat.cs
- DateTimePicker.cs
- DirectionalLight.cs
- LexicalChunk.cs
- DbCommandDefinition.cs
- PathTooLongException.cs
- LinkedList.cs
- XmlCharacterData.cs
- PathData.cs
- xmlsaver.cs
- FileUpload.cs
- CookieParameter.cs
- _IPv4Address.cs
- WinInetCache.cs
- PriorityQueue.cs
- WebContext.cs
- SwitchAttribute.cs
- SizeLimitedCache.cs
- HttpCapabilitiesBase.cs
- BrowserCapabilitiesFactory.cs
- RectConverter.cs
- SystemNetHelpers.cs
- MarshalByValueComponent.cs
- rsa.cs
- AnnotationMap.cs