Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Host / ActiveDesignSurfaceEvent.cs / 1 / ActiveDesignSurfaceEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { ////// An event handler for the ActiveDesignSurfaceChanged event. /// public delegate void ActiveDesignSurfaceChangedEventHandler(object sender, ActiveDesignSurfaceChangedEventArgs e); ////// The event args for the ActiveDesignSurface event. /// public class ActiveDesignSurfaceChangedEventArgs : EventArgs { private DesignSurface _oldSurface; private DesignSurface _newSurface; ////// Creates a new ActiveDesignSurfaceChangedEventArgs instance. /// public ActiveDesignSurfaceChangedEventArgs(DesignSurface oldSurface, DesignSurface newSurface) { _oldSurface = oldSurface; _newSurface = newSurface; } ////// Gets the design surface that is losing activation. /// public DesignSurface OldSurface { get { return _oldSurface; } } ////// Gets the design surface that is gaining activation. /// public DesignSurface NewSurface { get { return _newSurface; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewCellConverter.cs
- SamlAudienceRestrictionCondition.cs
- XslVisitor.cs
- Context.cs
- ActivityExecutionContext.cs
- SafeNativeMethods.cs
- FamilyTypefaceCollection.cs
- PermissionAttributes.cs
- LicenseException.cs
- GridViewSelectEventArgs.cs
- FieldToken.cs
- ConnectionStringSettingsCollection.cs
- Variant.cs
- HwndHostAutomationPeer.cs
- ProfessionalColorTable.cs
- cache.cs
- CodeTypeMember.cs
- PageEventArgs.cs
- PropertyItemInternal.cs
- FastEncoder.cs
- PagerSettings.cs
- TextDecorationLocationValidation.cs
- DataControlFieldHeaderCell.cs
- DtrList.cs
- SetState.cs
- MappingItemCollection.cs
- ExitEventArgs.cs
- WebPartMinimizeVerb.cs
- BackgroundFormatInfo.cs
- UserPreferenceChangedEventArgs.cs
- TextEditorLists.cs
- ProxyAttribute.cs
- PtsHelper.cs
- ToolStripSplitStackLayout.cs
- SqlDataReaderSmi.cs
- ByteAnimationUsingKeyFrames.cs
- CompilerScopeManager.cs
- DataBoundControlHelper.cs
- CounterSample.cs
- TypeValidationEventArgs.cs
- LambdaCompiler.Address.cs
- WebSysDescriptionAttribute.cs
- DragCompletedEventArgs.cs
- LineBreak.cs
- TextFormatterImp.cs
- StorageMappingFragment.cs
- BindValidationContext.cs
- ProgressBarHighlightConverter.cs
- ListBase.cs
- XmlSortKey.cs
- EntityTypeBase.cs
- URLIdentityPermission.cs
- UpdateManifestForBrowserApplication.cs
- xdrvalidator.cs
- SqlDataSourceView.cs
- SelectionRange.cs
- Point3DAnimationBase.cs
- DataGridViewCellMouseEventArgs.cs
- AsyncPostBackErrorEventArgs.cs
- DateRangeEvent.cs
- DurableEnlistmentState.cs
- CollaborationHelperFunctions.cs
- BoolLiteral.cs
- OptimalTextSource.cs
- ExpressionBuilderContext.cs
- SignedXml.cs
- MorphHelper.cs
- CoTaskMemUnicodeSafeHandle.cs
- SqlBulkCopyColumnMappingCollection.cs
- DynamicScriptObject.cs
- Nullable.cs
- SchemaTableColumn.cs
- DefaultCompensation.cs
- ImageListStreamer.cs
- CardSpaceException.cs
- PolygonHotSpot.cs
- CompositeFontFamily.cs
- XamlSerializerUtil.cs
- ChannelPoolSettingsElement.cs
- UserControlFileEditor.cs
- DesignerOptionService.cs
- MaskedTextBox.cs
- Matrix.cs
- WebWorkflowRole.cs
- IntPtr.cs
- OutputScopeManager.cs
- LogWriteRestartAreaAsyncResult.cs
- RegistrySecurity.cs
- RuntimeConfig.cs
- mediaeventshelper.cs
- WmpBitmapDecoder.cs
- Wizard.cs
- XmlCDATASection.cs
- LinqDataSourceSelectEventArgs.cs
- CommonDialog.cs
- Select.cs
- Button.cs
- RoutedEventHandlerInfo.cs
- StateMachineWorkflowInstance.cs
- AtomContentProperty.cs