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
- RoleGroup.cs
- Privilege.cs
- CodeExporter.cs
- ButtonField.cs
- ColorConverter.cs
- TTSEvent.cs
- ImageSourceConverter.cs
- SafeFileMappingHandle.cs
- ZipIOBlockManager.cs
- PermissionAttributes.cs
- HttpCookiesSection.cs
- MailWebEventProvider.cs
- MorphHelper.cs
- TemplatePartAttribute.cs
- PermissionListSet.cs
- HttpServerProtocol.cs
- HebrewNumber.cs
- BuilderElements.cs
- Triangle.cs
- UrlMappingCollection.cs
- ClassicBorderDecorator.cs
- IssuedTokenServiceCredential.cs
- ApplicationTrust.cs
- HtmlInputFile.cs
- ConfigXmlText.cs
- CopyOfAction.cs
- SiteMapNodeItemEventArgs.cs
- TypeHelper.cs
- XmlArrayItemAttributes.cs
- ThousandthOfEmRealDoubles.cs
- OutputScopeManager.cs
- TextReader.cs
- NodeFunctions.cs
- InternalResources.cs
- Line.cs
- Journaling.cs
- OleCmdHelper.cs
- XmlSchemaCompilationSettings.cs
- CodeAttachEventStatement.cs
- SocketManager.cs
- DBCSCodePageEncoding.cs
- SerializationInfoEnumerator.cs
- NotificationContext.cs
- TypefaceCollection.cs
- TextBlock.cs
- _SingleItemRequestCache.cs
- AssemblyEvidenceFactory.cs
- BitmapScalingModeValidation.cs
- ComponentSerializationService.cs
- DataBindingExpressionBuilder.cs
- BlobPersonalizationState.cs
- ChannelCredentials.cs
- CompModSwitches.cs
- EnumConverter.cs
- FontStyles.cs
- ProcessManager.cs
- GZipUtils.cs
- WebPermission.cs
- SourceFilter.cs
- FreezableDefaultValueFactory.cs
- CommandHelper.cs
- SimpleBitVector32.cs
- PropertyInformationCollection.cs
- NamespaceExpr.cs
- AsyncOperationContext.cs
- DBPropSet.cs
- ClientApiGenerator.cs
- StringCollectionEditor.cs
- Int32EqualityComparer.cs
- webeventbuffer.cs
- SqlGenerator.cs
- dbenumerator.cs
- XamlTreeBuilderBamlRecordWriter.cs
- VectorKeyFrameCollection.cs
- FixedSOMImage.cs
- CapacityStreamGeometryContext.cs
- UnsignedPublishLicense.cs
- ButtonStandardAdapter.cs
- DataProtection.cs
- RTLAwareMessageBox.cs
- SplashScreenNativeMethods.cs
- GridViewHeaderRowPresenter.cs
- XamlWriter.cs
- AssociatedControlConverter.cs
- Internal.cs
- MonitoringDescriptionAttribute.cs
- FixedHyperLink.cs
- XmlWhitespace.cs
- QueryableDataSourceView.cs
- DateTimeUtil.cs
- _KerberosClient.cs
- StreamReader.cs
- TextRangeEdit.cs
- Point3DConverter.cs
- HtmlInputFile.cs
- Number.cs
- XmlnsPrefixAttribute.cs
- HttpApplicationFactory.cs
- RestHandler.cs
- ListItemCollection.cs