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 / HtmlElementErrorEventArgs.cs / 1 / HtmlElementErrorEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public sealed class HtmlElementErrorEventArgs : EventArgs { private string description; private string urlString; private Uri url; private int lineNumber; private bool handled; internal HtmlElementErrorEventArgs(string description, string urlString, int lineNumber) { this.description = description; this.urlString = urlString; this.lineNumber = lineNumber; } ///EventArgs for onerror event of HtmlElement ////// /// public string Description { get { return description; } } ///Description of error ////// /// public bool Handled { get { return handled; } set { handled = value; } } ////// Gets or sets a value indicating whether the ////// event was handled. /// /// /// public int LineNumber { get { return lineNumber; } } ///Line number where error occurred ////// /// public Uri Url { get { if (url == null) { url = new Uri(urlString); } return url; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Url where error occurred ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; namespace System.Windows.Forms { ////// /// public sealed class HtmlElementErrorEventArgs : EventArgs { private string description; private string urlString; private Uri url; private int lineNumber; private bool handled; internal HtmlElementErrorEventArgs(string description, string urlString, int lineNumber) { this.description = description; this.urlString = urlString; this.lineNumber = lineNumber; } ///EventArgs for onerror event of HtmlElement ////// /// public string Description { get { return description; } } ///Description of error ////// /// public bool Handled { get { return handled; } set { handled = value; } } ////// Gets or sets a value indicating whether the ////// event was handled. /// /// /// public int LineNumber { get { return lineNumber; } } ///Line number where error occurred ////// /// public Uri Url { get { if (url == null) { url = new Uri(urlString); } return url; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Url where error occurred ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RadioButton.cs
- SHA256Cng.cs
- ClientSettingsSection.cs
- MetadataCollection.cs
- EntityDataSourceChangingEventArgs.cs
- ConsumerConnectionPointCollection.cs
- LineSegment.cs
- PixelShader.cs
- ColorConverter.cs
- TextRunCacheImp.cs
- RelationshipType.cs
- DataGridTextBoxColumn.cs
- WebScriptClientGenerator.cs
- BamlLocalizableResource.cs
- MailAddress.cs
- TableProviderWrapper.cs
- DomainUpDown.cs
- UniqueEventHelper.cs
- ModuleBuilder.cs
- GeneralTransform2DTo3DTo2D.cs
- smtpconnection.cs
- AtomServiceDocumentSerializer.cs
- Calendar.cs
- BitStream.cs
- ISAPIApplicationHost.cs
- DocumentViewerBase.cs
- WebPartUserCapability.cs
- ToolStripOverflowButton.cs
- ExtenderHelpers.cs
- InvalidComObjectException.cs
- FileRecordSequence.cs
- ThicknessAnimation.cs
- MatrixTransform3D.cs
- SmtpMail.cs
- Size3D.cs
- ModuleBuilder.cs
- HandlerBase.cs
- CompModSwitches.cs
- ObjectSecurity.cs
- HttpCapabilitiesEvaluator.cs
- ExpressionBuilderCollection.cs
- EdmFunction.cs
- XMLSchema.cs
- BindingCollectionElement.cs
- KeyConverter.cs
- FlowLayoutPanel.cs
- Utility.cs
- BitmapEncoder.cs
- DataGridViewColumnHeaderCell.cs
- OdbcDataAdapter.cs
- NoneExcludedImageIndexConverter.cs
- AxHost.cs
- SplitterCancelEvent.cs
- CryptoApi.cs
- HandleRef.cs
- CategoryState.cs
- ClientScriptManagerWrapper.cs
- Intellisense.cs
- XhtmlConformanceSection.cs
- HttpContextWrapper.cs
- HttpClientCertificate.cs
- SqlRowUpdatingEvent.cs
- WaitHandle.cs
- DebugHandleTracker.cs
- WebPartEditorApplyVerb.cs
- UnsafeNativeMethods.cs
- Pair.cs
- QualificationDataItem.cs
- AccessViolationException.cs
- CheckBoxBaseAdapter.cs
- ExpandCollapsePattern.cs
- BuildProvidersCompiler.cs
- ProcessHost.cs
- XmlBoundElement.cs
- PointAnimation.cs
- SoapWriter.cs
- CombinedGeometry.cs
- BinHexEncoder.cs
- LineMetrics.cs
- DataGridViewRowHeaderCell.cs
- ColumnBinding.cs
- TextDocumentView.cs
- CryptoSession.cs
- CatalogPartChrome.cs
- X509ChainPolicy.cs
- ControlLocalizer.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- XmlBoundElement.cs
- SecurityDescriptor.cs
- Sentence.cs
- SharedPersonalizationStateInfo.cs
- Decorator.cs
- RNGCryptoServiceProvider.cs
- GridItemProviderWrapper.cs
- AnnouncementInnerClient11.cs
- FixedTextSelectionProcessor.cs
- ControlValuePropertyAttribute.cs
- Floater.cs
- XPathDescendantIterator.cs
- webproxy.cs