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
- ComboBoxItem.cs
- FunctionUpdateCommand.cs
- HtmlInputImage.cs
- KeyGestureValueSerializer.cs
- Animatable.cs
- CompatibleComparer.cs
- NativeMethods.cs
- XslException.cs
- DecimalConstantAttribute.cs
- PenCursorManager.cs
- ReadOnlyDataSource.cs
- OleDbMetaDataFactory.cs
- EmptyControlCollection.cs
- Decimal.cs
- AuthenticatedStream.cs
- XmlTextAttribute.cs
- TemplatedMailWebEventProvider.cs
- RuntimeCompatibilityAttribute.cs
- FileDialog_Vista_Interop.cs
- ClientCultureInfo.cs
- SqlRewriteScalarSubqueries.cs
- PointKeyFrameCollection.cs
- TabControlEvent.cs
- SoapAttributeOverrides.cs
- XhtmlBasicSelectionListAdapter.cs
- WebBrowserPermission.cs
- EllipticalNodeOperations.cs
- EntityAdapter.cs
- ServiceHost.cs
- Convert.cs
- Timer.cs
- DesignTimeXamlWriter.cs
- AttachmentCollection.cs
- ContentValidator.cs
- ThreadPoolTaskScheduler.cs
- HttpPostedFile.cs
- ProtectedConfiguration.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ProxyHwnd.cs
- ResourceDescriptionAttribute.cs
- StreamGeometry.cs
- EventLogPermissionAttribute.cs
- WindowsRichEdit.cs
- ObjectQueryProvider.cs
- QuaternionAnimation.cs
- SHA256.cs
- XPathSelfQuery.cs
- CompilerErrorCollection.cs
- Debug.cs
- HiddenFieldPageStatePersister.cs
- CodeTypeReferenceExpression.cs
- _ScatterGatherBuffers.cs
- EntityDataSourceChangedEventArgs.cs
- ListSourceHelper.cs
- PolicyValidationException.cs
- ApplicationManager.cs
- InstanceDescriptor.cs
- BypassElement.cs
- HMACSHA384.cs
- FileRegion.cs
- PropertyGroupDescription.cs
- ResourceDictionary.cs
- FileVersion.cs
- __Error.cs
- ServerValidateEventArgs.cs
- ConfigXmlAttribute.cs
- QueueAccessMode.cs
- MsmqInputMessagePool.cs
- MenuEventArgs.cs
- IDQuery.cs
- ResourceManagerWrapper.cs
- IncrementalHitTester.cs
- TextServicesLoader.cs
- FlowDocumentReaderAutomationPeer.cs
- TextEndOfSegment.cs
- RoleBoolean.cs
- XmlHierarchyData.cs
- Bold.cs
- OutputCache.cs
- ButtonBase.cs
- TdsParserStateObject.cs
- ThreadPool.cs
- QuadraticEase.cs
- DisableDpiAwarenessAttribute.cs
- ValidationRule.cs
- ProfilePropertyMetadata.cs
- ExecutionEngineException.cs
- SmtpFailedRecipientsException.cs
- EntityViewContainer.cs
- CompatibleComparer.cs
- SimpleApplicationHost.cs
- SafeHandles.cs
- TextBoxAutomationPeer.cs
- PageContentCollection.cs
- X509ChainPolicy.cs
- TextEditorMouse.cs
- ParenExpr.cs
- ExpandSegmentCollection.cs
- XmlSchemaFacet.cs
- CodeDomLocalizationProvider.cs