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
- AttributeProviderAttribute.cs
- XmlSchemaSimpleContent.cs
- FixedMaxHeap.cs
- Vector3dCollection.cs
- StorageEntitySetMapping.cs
- XmlDocumentSerializer.cs
- ParsedAttributeCollection.cs
- basenumberconverter.cs
- NativeCppClassAttribute.cs
- ProcessProtocolHandler.cs
- DrawingContextDrawingContextWalker.cs
- WMICapabilities.cs
- ChannelBinding.cs
- HMACMD5.cs
- _NetRes.cs
- ContainerFilterService.cs
- ContainerFilterService.cs
- ManagementOperationWatcher.cs
- DataColumn.cs
- MessageQueuePermissionEntryCollection.cs
- VirtualDirectoryMappingCollection.cs
- StrongNameMembershipCondition.cs
- FunctionQuery.cs
- ExpanderAutomationPeer.cs
- BindingRestrictions.cs
- EventOpcode.cs
- ServiceRoute.cs
- FileInfo.cs
- SecurityCriticalDataForSet.cs
- URLString.cs
- CodeDomSerializer.cs
- SocketCache.cs
- DataGridViewToolTip.cs
- ChangePassword.cs
- NumberSubstitution.cs
- EventData.cs
- PreservationFileReader.cs
- StreamWithDictionary.cs
- Normalization.cs
- Int16AnimationBase.cs
- NumberFunctions.cs
- XmlAtomicValue.cs
- KeyEventArgs.cs
- RuntimeHandles.cs
- ColumnCollection.cs
- PerformanceCountersElement.cs
- WindowsIPAddress.cs
- ParallelTimeline.cs
- ExpressionBuilder.cs
- MissingManifestResourceException.cs
- GetPageNumberCompletedEventArgs.cs
- SafeLocalMemHandle.cs
- GridViewEditEventArgs.cs
- ValidationHelper.cs
- SettingsSection.cs
- SqlUtils.cs
- DataGridRow.cs
- Ipv6Element.cs
- documentsequencetextview.cs
- ControlTemplate.cs
- SignatureToken.cs
- ArgumentException.cs
- Baml2006ReaderContext.cs
- GridViewSelectEventArgs.cs
- Content.cs
- ItemCollectionEditor.cs
- ImpersonationContext.cs
- RangeContentEnumerator.cs
- TransferMode.cs
- FontSizeConverter.cs
- TCPClient.cs
- DebuggerAttributes.cs
- Tuple.cs
- TypeContext.cs
- DrawToolTipEventArgs.cs
- ZoneButton.cs
- _ListenerResponseStream.cs
- TypedTableBaseExtensions.cs
- PagerSettings.cs
- CounterCreationData.cs
- RefreshPropertiesAttribute.cs
- SizeFConverter.cs
- WSHttpTransportSecurityElement.cs
- ScriptResourceHandler.cs
- PerformanceCounterLib.cs
- SQLChars.cs
- CodeStatementCollection.cs
- TableLayout.cs
- NameValuePair.cs
- RawStylusInputReport.cs
- AdRotator.cs
- FunctionDefinition.cs
- HtmlWindow.cs
- DateTimeUtil.cs
- Menu.cs
- Executor.cs
- CodeSubDirectory.cs
- AdornerPresentationContext.cs
- TimeoutException.cs
- AttributeEmitter.cs