Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / AddingNewEventArgs.cs / 1305376 / AddingNewEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Security.Permissions; ////// Provides data for an event that signals the adding of a new object /// to a list, allowing any event handler to supply the new object. If /// no event handler supplies a new object to use, the list should create /// one itself. /// [HostProtection(SharedState = true)] public class AddingNewEventArgs : EventArgs { private object newObject = null; ////// Initializes a new instance of the public AddingNewEventArgs() : base() { } ///class, /// with no new object defined. /// /// Initializes a new instance of the public AddingNewEventArgs(object newObject) : base() { this.newObject = newObject; } ///class, /// with the specified object defined as the default new object. /// /// Gets or sets the new object that will be added to the list. /// public object NewObject { get { return newObject; } set { newObject = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RadioButtonPopupAdapter.cs
- SrgsRuleRef.cs
- PersonalizablePropertyEntry.cs
- TemplateXamlParser.cs
- ToolStripGripRenderEventArgs.cs
- PropertyMapper.cs
- ModelTreeManager.cs
- TextMetrics.cs
- BCLDebug.cs
- ServiceContractGenerationContext.cs
- Avt.cs
- SoundPlayer.cs
- DeflateStream.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SingleConverter.cs
- WsatProxy.cs
- WebPartVerbsEventArgs.cs
- ApplicationContext.cs
- ToolStripDropDown.cs
- InterleavedZipPartStream.cs
- XmlElementAttributes.cs
- LinqDataSourceDeleteEventArgs.cs
- Single.cs
- ResXResourceSet.cs
- XmlSchemaSimpleTypeList.cs
- InvalidContentTypeException.cs
- StrongNameKeyPair.cs
- TextDecoration.cs
- ByteAnimation.cs
- DependencyPropertyKind.cs
- PropertyItem.cs
- DiscoveryExceptionDictionary.cs
- rsa.cs
- Peer.cs
- QueueAccessMode.cs
- DataTableNewRowEvent.cs
- TabletDeviceInfo.cs
- Empty.cs
- PopupEventArgs.cs
- NativeMethods.cs
- SiteMapHierarchicalDataSourceView.cs
- ZipPackage.cs
- Int16Storage.cs
- DeviceContexts.cs
- EncoderParameter.cs
- ComUdtElementCollection.cs
- processwaithandle.cs
- UpdateCompiler.cs
- ColumnResult.cs
- KeyTimeConverter.cs
- MonthCalendar.cs
- Literal.cs
- ObjectDataSourceSelectingEventArgs.cs
- ItemTypeToolStripMenuItem.cs
- WebPartZoneDesigner.cs
- SoapIgnoreAttribute.cs
- WSHttpBindingElement.cs
- GetPageNumberCompletedEventArgs.cs
- RequiredFieldValidator.cs
- QueryOutputWriter.cs
- DurationConverter.cs
- SessionStateContainer.cs
- MULTI_QI.cs
- streamingZipPartStream.cs
- InternalConfigConfigurationFactory.cs
- SafeCoTaskMem.cs
- ServiceContractDetailViewControl.cs
- WorkingDirectoryEditor.cs
- SystemResourceKey.cs
- SiteMapNodeCollection.cs
- NullExtension.cs
- QilBinary.cs
- NullableConverter.cs
- TextEvent.cs
- HitTestParameters3D.cs
- DeviceContexts.cs
- ParameterModifier.cs
- DataListItem.cs
- GetWinFXPath.cs
- WindowsGraphics2.cs
- ConstructorExpr.cs
- ReadOnlyCollection.cs
- WorkflowMarkupSerializerMapping.cs
- OdbcEnvironmentHandle.cs
- KnowledgeBase.cs
- TextPointer.cs
- RegexCompiler.cs
- ToolStripControlHost.cs
- ResourceProperty.cs
- ExpressionVisitor.cs
- StringWriter.cs
- DataGridLinkButton.cs
- DEREncoding.cs
- ConnectionInterfaceCollection.cs
- ScriptMethodAttribute.cs
- BitmapEffect.cs
- RijndaelManaged.cs
- PenCursorManager.cs
- TrustVersion.cs