Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- StyleModeStack.cs
- NativeMsmqMessage.cs
- RequestCachingSection.cs
- ObjectMaterializedEventArgs.cs
- BamlRecords.cs
- AxHost.cs
- RelationshipWrapper.cs
- AssociationTypeEmitter.cs
- DataGrid.cs
- DataGridParentRows.cs
- OracleBFile.cs
- SupportsEventValidationAttribute.cs
- SapiAttributeParser.cs
- RenderData.cs
- ElementFactory.cs
- XmlEntity.cs
- ParagraphResult.cs
- DataListItemCollection.cs
- PropertyTabChangedEvent.cs
- KeyboardDevice.cs
- EllipseGeometry.cs
- PermissionListSet.cs
- HtmlSelect.cs
- WinEventWrap.cs
- CustomLineCap.cs
- CodeExporter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- RawStylusInput.cs
- BindingRestrictions.cs
- RawKeyboardInputReport.cs
- PointAnimation.cs
- XmlIlGenerator.cs
- _LocalDataStoreMgr.cs
- Transform3DCollection.cs
- Attributes.cs
- AmbientValueAttribute.cs
- Exception.cs
- TreeViewTemplateSelector.cs
- AxHost.cs
- MouseGestureValueSerializer.cs
- PolyLineSegment.cs
- AddInIpcChannel.cs
- DataGridColumnReorderingEventArgs.cs
- DataGridViewHeaderCell.cs
- DataGridViewRowHeaderCell.cs
- TraceInternal.cs
- CustomErrorCollection.cs
- EntityDesignerBuildProvider.cs
- Expression.DebuggerProxy.cs
- ImpersonateTokenRef.cs
- StyleCollectionEditor.cs
- PriorityChain.cs
- Exception.cs
- UshortList2.cs
- SQLDecimalStorage.cs
- DoubleAnimation.cs
- XMLSyntaxException.cs
- XamlFigureLengthSerializer.cs
- PrintingPermission.cs
- UnsafeNativeMethodsMilCoreApi.cs
- mil_commands.cs
- NumberFunctions.cs
- DocumentCollection.cs
- IsolatedStorageException.cs
- MailMessage.cs
- XmlSchemaCollection.cs
- ConstructorBuilder.cs
- IERequestCache.cs
- AmbientLight.cs
- TypedElement.cs
- IntegerValidator.cs
- SafeNativeMethods.cs
- TreeView.cs
- OdbcParameterCollection.cs
- cookiecollection.cs
- DesignerActionList.cs
- LambdaValue.cs
- MetadataResolver.cs
- DeviceContext.cs
- figurelength.cs
- RepeaterItemCollection.cs
- SynchronizedChannelCollection.cs
- Site.cs
- DataGridViewAccessibleObject.cs
- TextDecoration.cs
- HuffCodec.cs
- CanonicalFormWriter.cs
- TreeViewImageGenerator.cs
- HttpRequest.cs
- SqlMetaData.cs
- FlowPosition.cs
- NativeDirectoryServicesQueryAPIs.cs
- ObjectStateFormatter.cs
- PartialCachingAttribute.cs
- XmlAttributeAttribute.cs
- RequestNavigateEventArgs.cs
- EditCommandColumn.cs
- SafeRightsManagementHandle.cs
- HandoffBehavior.cs
- SessionPageStatePersister.cs