Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- IdnElement.cs
- DataServiceHost.cs
- PrivateFontCollection.cs
- ExceptionValidationRule.cs
- GeneralTransform3DTo2DTo3D.cs
- AnimatedTypeHelpers.cs
- AlgoModule.cs
- HierarchicalDataSourceConverter.cs
- DropSource.cs
- TextFormatterContext.cs
- SessionParameter.cs
- Directory.cs
- PointCollection.cs
- DiscreteKeyFrames.cs
- FillBehavior.cs
- StatusBarAutomationPeer.cs
- UriScheme.cs
- ComponentEditorForm.cs
- EntityDataSourceWizardForm.cs
- QilParameter.cs
- TripleDESCryptoServiceProvider.cs
- RemoteHelper.cs
- DataBindingHandlerAttribute.cs
- XamlGridLengthSerializer.cs
- SqlRowUpdatingEvent.cs
- Identifier.cs
- FilterEventArgs.cs
- HttpRuntimeSection.cs
- OleDbStruct.cs
- Bold.cs
- DataSourceBooleanViewSchemaConverter.cs
- CredentialCache.cs
- WebPartDisplayModeCollection.cs
- CategoryNameCollection.cs
- DataDocumentXPathNavigator.cs
- ComponentResourceKey.cs
- SiteMapDataSourceView.cs
- NodeFunctions.cs
- IChannel.cs
- ButtonStandardAdapter.cs
- AnonymousIdentificationSection.cs
- TreeViewImageKeyConverter.cs
- MultiView.cs
- PageSettings.cs
- EasingKeyFrames.cs
- SafeArrayTypeMismatchException.cs
- InProcStateClientManager.cs
- ReachUIElementCollectionSerializer.cs
- TypeNameParser.cs
- Visitors.cs
- TreeNodeBindingCollection.cs
- MarkupCompilePass1.cs
- SqlUnionizer.cs
- BulletDecorator.cs
- WebHttpBindingElement.cs
- FieldToken.cs
- CodeNamespaceImportCollection.cs
- LinqDataSource.cs
- Util.cs
- HeaderFilter.cs
- SoapSchemaImporter.cs
- TextDecorationCollection.cs
- DataObjectAttribute.cs
- EnumDataContract.cs
- SecurityElement.cs
- ComAdminInterfaces.cs
- PreservationFileReader.cs
- AttributeSetAction.cs
- EventLogHandle.cs
- Html32TextWriter.cs
- HttpApplication.cs
- FileSecurity.cs
- DocumentAutomationPeer.cs
- XXXInfos.cs
- PointLightBase.cs
- WindowsStatusBar.cs
- TraceSource.cs
- __FastResourceComparer.cs
- PrintingPermissionAttribute.cs
- SpecialNameAttribute.cs
- EventLogTraceListener.cs
- HtmlInputImage.cs
- PasswordTextNavigator.cs
- PropertyChangedEventArgs.cs
- DynamicArgumentDialog.cs
- sitestring.cs
- PolyLineSegment.cs
- ReflectionUtil.cs
- xamlnodes.cs
- SqlProviderServices.cs
- _DomainName.cs
- WpfKnownMember.cs
- ErrorLog.cs
- AuthorizationSection.cs
- FileAuthorizationModule.cs
- DecimalKeyFrameCollection.cs
- TextWriter.cs
- StateMachineExecutionState.cs
- XmlAttributeAttribute.cs
- WCFBuildProvider.cs