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
- MarkupExtensionSerializer.cs
- ExtensionSimplifierMarkupObject.cs
- NavigationService.cs
- DataGridRow.cs
- ImmutableObjectAttribute.cs
- InvokeGenerator.cs
- ByteKeyFrameCollection.cs
- HTMLTextWriter.cs
- ListViewSelectEventArgs.cs
- WorkflowWebService.cs
- ApplicationFileCodeDomTreeGenerator.cs
- BStrWrapper.cs
- CompilerScopeManager.cs
- WindowsAuthenticationEventArgs.cs
- DefaultWorkflowTransactionService.cs
- StateMachineExecutionState.cs
- InternalException.cs
- Error.cs
- DataGridViewRowCancelEventArgs.cs
- ClientTargetSection.cs
- ListInitExpression.cs
- IisTraceListener.cs
- AuthorizationRuleCollection.cs
- mactripleDES.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SchemaTableColumn.cs
- PackagingUtilities.cs
- WhitespaceRuleReader.cs
- BitmapEffect.cs
- Constraint.cs
- DoubleAnimation.cs
- EventLogger.cs
- ListViewInsertedEventArgs.cs
- ChannelManagerHelpers.cs
- HtmlForm.cs
- HostingEnvironmentException.cs
- HandleCollector.cs
- CheckBox.cs
- _ProxyRegBlob.cs
- Mappings.cs
- OuterGlowBitmapEffect.cs
- FixedLineResult.cs
- EnumerableRowCollection.cs
- StackSpiller.cs
- PLINQETWProvider.cs
- ArithmeticException.cs
- BasicHttpSecurityElement.cs
- SystemInfo.cs
- Oid.cs
- OracleDateTime.cs
- SslStream.cs
- ListBoxAutomationPeer.cs
- FontUnitConverter.cs
- UnsafeNativeMethods.cs
- BufferedReceiveElement.cs
- HtmlInputFile.cs
- _OSSOCK.cs
- FormsAuthenticationModule.cs
- BitmapDownload.cs
- SoapFaultCodes.cs
- Utils.cs
- TextOutput.cs
- DataTablePropertyDescriptor.cs
- RegexTree.cs
- EventBuilder.cs
- InternalConfigRoot.cs
- ClusterRegistryConfigurationProvider.cs
- HwndStylusInputProvider.cs
- RegexWriter.cs
- ComponentTray.cs
- SqlBulkCopyColumnMapping.cs
- UInt16Converter.cs
- ArrayWithOffset.cs
- MinimizableAttributeTypeConverter.cs
- InfiniteTimeSpanConverter.cs
- InputMethod.cs
- ListBase.cs
- FilterQuery.cs
- TemplateKey.cs
- OleDbMetaDataFactory.cs
- TypeForwardedToAttribute.cs
- TemplateField.cs
- CodeTryCatchFinallyStatement.cs
- ImageAnimator.cs
- CheckBoxList.cs
- AnonymousIdentificationSection.cs
- TraceListener.cs
- ZipPackagePart.cs
- EmbeddedMailObject.cs
- ScaleTransform.cs
- ControlIdConverter.cs
- RuntimeIdentifierPropertyAttribute.cs
- SharedDp.cs
- XamlDesignerSerializationManager.cs
- ToolboxItemLoader.cs
- FlowPosition.cs
- Vector.cs
- MSG.cs
- Stream.cs
- WriteableOnDemandPackagePart.cs