Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- OverloadGroupAttribute.cs
- FlowchartSizeFeature.cs
- TransportSecurityProtocolFactory.cs
- ProviderCollection.cs
- TextAnchor.cs
- PhysicalAddress.cs
- ServicesUtilities.cs
- TextBoxBase.cs
- Vector3DCollectionConverter.cs
- DataGridViewBindingCompleteEventArgs.cs
- EdmValidator.cs
- ScrollableControl.cs
- TextEffect.cs
- PartialCachingControl.cs
- EventlogProvider.cs
- Int32Animation.cs
- DefaultAutoFieldGenerator.cs
- Model3D.cs
- IdnElement.cs
- CharacterHit.cs
- NonVisualControlAttribute.cs
- _NegotiateClient.cs
- InputLanguage.cs
- HandlerWithFactory.cs
- XmlWriter.cs
- UserValidatedEventArgs.cs
- SqlIdentifier.cs
- TextReader.cs
- LicenseException.cs
- CodeTypeOfExpression.cs
- PageCatalogPartDesigner.cs
- CLSCompliantAttribute.cs
- VisualBrush.cs
- GacUtil.cs
- NumberSubstitution.cs
- PrimitiveSchema.cs
- WaitHandle.cs
- TraceSection.cs
- DataExpression.cs
- PackageController.cs
- FormViewModeEventArgs.cs
- SQLDateTimeStorage.cs
- DoubleAnimationUsingKeyFrames.cs
- HttpAsyncResult.cs
- ZipIORawDataFileBlock.cs
- DeferredReference.cs
- FormViewInsertEventArgs.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- safesecurityhelperavalon.cs
- XmlName.cs
- CompilationLock.cs
- BaseHashHelper.cs
- CompoundFileStorageReference.cs
- AdRotator.cs
- ComponentRenameEvent.cs
- MD5CryptoServiceProvider.cs
- HtmlControlDesigner.cs
- SerializationSectionGroup.cs
- ThrowOnMultipleAssignment.cs
- CodeCommentStatement.cs
- SqlCommandBuilder.cs
- ConstraintCollection.cs
- RuntimeResourceSet.cs
- SystemParameters.cs
- EntityDataSourceDataSelectionPanel.cs
- _BaseOverlappedAsyncResult.cs
- DisableDpiAwarenessAttribute.cs
- Mouse.cs
- Drawing.cs
- SiteMap.cs
- XPathPatternParser.cs
- TokenBasedSetEnumerator.cs
- SQlBooleanStorage.cs
- OleDbParameterCollection.cs
- BasicCommandTreeVisitor.cs
- Selection.cs
- BuildProviderCollection.cs
- CustomError.cs
- JavaScriptObjectDeserializer.cs
- SQLRoleProvider.cs
- COM2IProvidePropertyBuilderHandler.cs
- SpecialNameAttribute.cs
- BooleanFunctions.cs
- IdentityModelDictionary.cs
- querybuilder.cs
- SByteConverter.cs
- SortDescription.cs
- SelectedCellsChangedEventArgs.cs
- ListManagerBindingsCollection.cs
- ArraySegment.cs
- StorageScalarPropertyMapping.cs
- ComponentEditorForm.cs
- EUCJPEncoding.cs
- RequestResizeEvent.cs
- DockAndAnchorLayout.cs
- RootAction.cs
- QuotedPrintableStream.cs
- _NestedSingleAsyncResult.cs
- AppDomain.cs
- GrammarBuilderPhrase.cs