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
- ConditionalAttribute.cs
- DataSourceBooleanViewSchemaConverter.cs
- XmlReflectionImporter.cs
- TextBoxRenderer.cs
- DBBindings.cs
- Exceptions.cs
- CommandField.cs
- Baml2006Reader.cs
- Menu.cs
- ListDictionary.cs
- WindowInteractionStateTracker.cs
- SimpleLine.cs
- Point4DConverter.cs
- XamlRtfConverter.cs
- OleServicesContext.cs
- LOSFormatter.cs
- DeadCharTextComposition.cs
- SqlPersistenceProviderFactory.cs
- AppDomainAttributes.cs
- PersonalizationDictionary.cs
- ToolStripEditorManager.cs
- ItemsPresenter.cs
- CopyOfAction.cs
- HtmlInputHidden.cs
- BinaryFormatterWriter.cs
- MembershipPasswordException.cs
- ResourceDescriptionAttribute.cs
- UserMapPath.cs
- AssemblyAttributes.cs
- Domain.cs
- DiagnosticTrace.cs
- DataGridRowHeaderAutomationPeer.cs
- CodeMemberEvent.cs
- Merger.cs
- TreeBuilderBamlTranslator.cs
- Attributes.cs
- Polyline.cs
- CompiledIdentityConstraint.cs
- WebPartsPersonalization.cs
- EventPrivateKey.cs
- ServerValidateEventArgs.cs
- ConfigurationElementCollection.cs
- ComplexTypeEmitter.cs
- VersionValidator.cs
- EditorZone.cs
- DeflateStream.cs
- ProfileSettings.cs
- Crypto.cs
- URLAttribute.cs
- BlockUIContainer.cs
- InternalTypeHelper.cs
- BaseCAMarshaler.cs
- smtpconnection.cs
- KeyedHashAlgorithm.cs
- IPPacketInformation.cs
- SynchronizedInputPattern.cs
- TrustManager.cs
- PriorityItem.cs
- ServiceManager.cs
- BaseDataList.cs
- SecurityResources.cs
- WebServiceAttribute.cs
- Int16KeyFrameCollection.cs
- AssociationSetMetadata.cs
- VectorCollectionConverter.cs
- FileSystemInfo.cs
- HttpListenerRequestUriBuilder.cs
- UpdatePanelTriggerCollection.cs
- DecoderReplacementFallback.cs
- XmlSchemaComplexContentExtension.cs
- ExpressionConverter.cs
- SimpleWorkerRequest.cs
- APCustomTypeDescriptor.cs
- BooleanStorage.cs
- CapabilitiesPattern.cs
- CallbackCorrelationInitializer.cs
- LogEntryHeaderDeserializer.cs
- ZipIORawDataFileBlock.cs
- NativeMethods.cs
- LinkLabel.cs
- ProfileSettings.cs
- LogExtent.cs
- TrackingProfileSerializer.cs
- KeyGesture.cs
- HttpConfigurationContext.cs
- EntityDataSourceEntitySetNameItem.cs
- StandardOleMarshalObject.cs
- WindowsScrollBarBits.cs
- BitmapEffect.cs
- MessagePropertyVariants.cs
- RtType.cs
- UTF8Encoding.cs
- DataGridItem.cs
- InheritedPropertyDescriptor.cs
- Merger.cs
- ManualResetEvent.cs
- RuleDefinitions.cs
- XmlSchemaSimpleTypeUnion.cs
- InputLanguageCollection.cs
- ToolStripComboBox.cs