Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / WebBrowserNavigatingEventHandler.cs / 1305376 / 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
- UInt16Storage.cs
- DependencyProperty.cs
- GacUtil.cs
- HuffCodec.cs
- DeploymentSection.cs
- Permission.cs
- RegionInfo.cs
- IList.cs
- WorkflowIdleBehavior.cs
- PropertyOverridesTypeEditor.cs
- BaseHashHelper.cs
- QueryAsyncResult.cs
- SafeNativeMethods.cs
- ObjectStateEntry.cs
- Model3DCollection.cs
- RsaKeyIdentifierClause.cs
- D3DImage.cs
- ServerIdentity.cs
- ServiceParser.cs
- ConcurrencyMode.cs
- wgx_exports.cs
- WebBrowserNavigatingEventHandler.cs
- InfiniteIntConverter.cs
- XPathAxisIterator.cs
- Cursors.cs
- FormClosingEvent.cs
- HttpPostProtocolReflector.cs
- SqlUtils.cs
- RankException.cs
- TraceSwitch.cs
- ConfigXmlComment.cs
- ReadOnlyCollection.cs
- AttachmentService.cs
- MetafileHeader.cs
- NameValuePair.cs
- SettingsProperty.cs
- EastAsianLunisolarCalendar.cs
- ResourceDescriptionAttribute.cs
- EntityContainerRelationshipSetEnd.cs
- ToolStripMenuItemDesigner.cs
- DockProviderWrapper.cs
- DataGridViewCellValueEventArgs.cs
- RuleSetDialog.Designer.cs
- SqlGenerator.cs
- NetworkCredential.cs
- SmtpNegotiateAuthenticationModule.cs
- ProxyWebPartManager.cs
- GridViewRowEventArgs.cs
- OverlappedAsyncResult.cs
- ZipIOBlockManager.cs
- ReadOnlyKeyedCollection.cs
- CachedCompositeFamily.cs
- ExpressionDumper.cs
- UInt64.cs
- StylusEditingBehavior.cs
- StringUtil.cs
- SecurityElement.cs
- BasicCellRelation.cs
- DeflateInput.cs
- AuthenticationService.cs
- PropertyNames.cs
- OledbConnectionStringbuilder.cs
- HttpProfileBase.cs
- MemberPath.cs
- ObjectDataSourceFilteringEventArgs.cs
- TabletDevice.cs
- ConnectionPoolManager.cs
- StringPropertyBuilder.cs
- RuntimeEnvironment.cs
- RequestQueryParser.cs
- ImageCodecInfoPrivate.cs
- EncryptedKey.cs
- HttpValueCollection.cs
- PropertyGridEditorPart.cs
- KeyboardNavigation.cs
- EditingMode.cs
- MouseGestureConverter.cs
- SolidBrush.cs
- SoapTypeAttribute.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- HotCommands.cs
- CodeDomComponentSerializationService.cs
- InternalResources.cs
- XmlnsPrefixAttribute.cs
- AssemblyAssociatedContentFileAttribute.cs
- TextAutomationPeer.cs
- PropertyToken.cs
- XPathPatternBuilder.cs
- XmlSchemaInclude.cs
- SectionInput.cs
- XamlSerializationHelper.cs
- BmpBitmapEncoder.cs
- TemplateBaseAction.cs
- AmbientEnvironment.cs
- Pkcs7Recipient.cs
- EntityCollection.cs
- VirtualizingStackPanel.cs
- DataGridViewCellEventArgs.cs
- ToolStripButton.cs
- ResourceBinder.cs