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
- OracleBinary.cs
- COM2PropertyPageUITypeConverter.cs
- DesignerPerfEventProvider.cs
- SwitchLevelAttribute.cs
- PackagePart.cs
- ProviderBase.cs
- SQLInt16.cs
- LinkUtilities.cs
- XsdSchemaFileEditor.cs
- ConvertersCollection.cs
- ZeroOpNode.cs
- PositiveTimeSpanValidatorAttribute.cs
- XmlElementCollection.cs
- Cursors.cs
- SystemColorTracker.cs
- CodeTypeMemberCollection.cs
- PostBackTrigger.cs
- XPathNodeList.cs
- XmlSchemaParticle.cs
- NamedObject.cs
- XamlTreeBuilder.cs
- ObjectDataSourceView.cs
- HttpChannelBindingToken.cs
- SQLChars.cs
- BufferedGraphics.cs
- WebPartPersonalization.cs
- Point4DValueSerializer.cs
- HandlerFactoryCache.cs
- SharedHttpTransportManager.cs
- CatalogZoneBase.cs
- ByteKeyFrameCollection.cs
- WebEventCodes.cs
- ValueQuery.cs
- ImageFormatConverter.cs
- ConfigurationSection.cs
- UnsafeNativeMethods.cs
- Collection.cs
- SR.cs
- RightNameExpirationInfoPair.cs
- HttpPostedFile.cs
- Underline.cs
- FreezableDefaultValueFactory.cs
- ClonableStack.cs
- SoapProtocolReflector.cs
- EventLogReader.cs
- PrintPreviewGraphics.cs
- InfoCardSymmetricCrypto.cs
- ArgIterator.cs
- SmiXetterAccessMap.cs
- TypeInfo.cs
- GetWorkflowTree.cs
- TrustLevelCollection.cs
- DeviceSpecificChoice.cs
- LightweightCodeGenerator.cs
- TypeUtil.cs
- Regex.cs
- DelayDesigner.cs
- WebPartZoneBase.cs
- PageContentAsyncResult.cs
- TaskSchedulerException.cs
- ByteRangeDownloader.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- WebPartZoneAutoFormat.cs
- DataErrorValidationRule.cs
- EndpointDiscoveryElement.cs
- EdmPropertyAttribute.cs
- Menu.cs
- SequentialActivityDesigner.cs
- DeploymentSectionCache.cs
- Hash.cs
- ComplexPropertyEntry.cs
- TextWriter.cs
- BuildProviderUtils.cs
- SizeConverter.cs
- InvalidProgramException.cs
- CachedFontFace.cs
- UnionCodeGroup.cs
- CachedPathData.cs
- MultipartContentParser.cs
- FormViewInsertedEventArgs.cs
- WorkBatch.cs
- ButtonStandardAdapter.cs
- FamilyTypeface.cs
- XmlSchema.cs
- MediaTimeline.cs
- CaseInsensitiveComparer.cs
- TargetConverter.cs
- ConfigurationPropertyCollection.cs
- SizeAnimationBase.cs
- WebRequestModulesSection.cs
- HtmlToClrEventProxy.cs
- MD5CryptoServiceProvider.cs
- EventMappingSettingsCollection.cs
- ObjectContext.cs
- XmlSortKey.cs
- DataServiceRequestOfT.cs
- Bold.cs
- MgmtResManager.cs
- OleDbCommandBuilder.cs
- FactoryGenerator.cs