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
- ResetableIterator.cs
- WebPartZoneBase.cs
- GAC.cs
- EditCommandColumn.cs
- LinkUtilities.cs
- ThreadInterruptedException.cs
- PersistChildrenAttribute.cs
- ItemList.cs
- SmtpClient.cs
- VoiceSynthesis.cs
- LinqDataSourceContextEventArgs.cs
- SafeSecurityHandles.cs
- ToolStripItemGlyph.cs
- KeyedHashAlgorithm.cs
- UriTemplatePathSegment.cs
- TextEditorContextMenu.cs
- RefType.cs
- CqlParser.cs
- TextElementEnumerator.cs
- InternalsVisibleToAttribute.cs
- DurableDispatcherAddressingFault.cs
- ImageMapEventArgs.cs
- DataObjectAttribute.cs
- ByteStreamGeometryContext.cs
- DataGridColumnCollection.cs
- QueueProcessor.cs
- DynamicValueConverter.cs
- StructuredTypeEmitter.cs
- ColumnMapProcessor.cs
- SetStoryboardSpeedRatio.cs
- DbProviderSpecificTypePropertyAttribute.cs
- RecognizedPhrase.cs
- BulletedListEventArgs.cs
- WebServiceHandlerFactory.cs
- WebPartExportVerb.cs
- ListenerConnectionDemuxer.cs
- mactripleDES.cs
- ConnectionPointCookie.cs
- remotingproxy.cs
- CompiledRegexRunner.cs
- SkinBuilder.cs
- counter.cs
- PolyLineSegmentFigureLogic.cs
- FilteredSchemaElementLookUpTable.cs
- UrlPath.cs
- CommandTreeTypeHelper.cs
- SynchronizationLockException.cs
- DataGridHeaderBorder.cs
- XmlAttributeCollection.cs
- Sql8ExpressionRewriter.cs
- TwoPhaseCommit.cs
- AddToCollection.cs
- TypeSemantics.cs
- OptionalRstParameters.cs
- ServiceMoniker.cs
- Setter.cs
- QualificationDataAttribute.cs
- ConstraintEnumerator.cs
- CacheManager.cs
- EventSetter.cs
- UserNamePasswordServiceCredential.cs
- StreamingContext.cs
- MruCache.cs
- DataRecordObjectView.cs
- DataGridViewColumnHeaderCell.cs
- ASCIIEncoding.cs
- XhtmlBasicValidationSummaryAdapter.cs
- TransactionInterop.cs
- CompiledIdentityConstraint.cs
- FeatureSupport.cs
- DataGridViewLinkColumn.cs
- ApplicationContext.cs
- BinaryQueryOperator.cs
- TdsParserHelperClasses.cs
- StoryFragments.cs
- ConfigurationConverterBase.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ParagraphVisual.cs
- EdmTypeAttribute.cs
- LinkArea.cs
- FileLevelControlBuilderAttribute.cs
- FormattedTextSymbols.cs
- DetailsViewDeleteEventArgs.cs
- BaseUriHelper.cs
- DeferredReference.cs
- DetailsViewCommandEventArgs.cs
- DrawingVisual.cs
- NamespaceCollection.cs
- IgnorePropertiesAttribute.cs
- Camera.cs
- StronglyTypedResourceBuilder.cs
- BitConverter.cs
- ReaderWriterLock.cs
- XPathExpr.cs
- OverflowException.cs
- ConfigXmlSignificantWhitespace.cs
- SmiTypedGetterSetter.cs
- EventBookmark.cs
- Attachment.cs
- AssemblyName.cs