Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Designers / TaskDesigner.cs / 1305376 / TaskDesigner.cs
namespace System.Workflow.Activities { using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.CodeDom; using System.Collections.ObjectModel; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Diagnostics; using System.Runtime.Serialization; using System.Drawing.Design; using System.Drawing.Drawing2D; using System.Windows.Forms; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Windows.Forms.Design; #region Class ReplicatorDesigner internal sealed class ReplicatorDesigner : System.Workflow.Activities.SequenceDesigner { public override bool CanInsertActivities(HitTestInfo insertLocation, ReadOnlyCollectionactivitiesToInsert) { CompositeActivity compositeActivity = Activity as CompositeActivity; if (compositeActivity != null && compositeActivity.EnabledActivities.Count > 0) return false; if (activitiesToInsert.Count > 1) return false; return base.CanInsertActivities(insertLocation, activitiesToInsert); } } #endregion } // 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
- MethodExpression.cs
- ECDsa.cs
- DataRecordInternal.cs
- MenuStrip.cs
- XmlAttributeOverrides.cs
- XmlSerializerFactory.cs
- RemotingAttributes.cs
- EdmType.cs
- MdiWindowListStrip.cs
- XsltOutput.cs
- SystemThemeKey.cs
- ComboBoxDesigner.cs
- ReadWriteSpinLock.cs
- XmlSchemaSubstitutionGroup.cs
- SqlTypeSystemProvider.cs
- Bitmap.cs
- AccessControlEntry.cs
- PersonalizationEntry.cs
- DictionaryBase.cs
- NonParentingControl.cs
- HtmlWindowCollection.cs
- DataGridViewRow.cs
- QueryGeneratorBase.cs
- FastEncoderStatics.cs
- mil_sdk_version.cs
- DriveNotFoundException.cs
- SiteMapDataSourceView.cs
- WindowAutomationPeer.cs
- EntityDataSource.cs
- HotCommands.cs
- CrossSiteScriptingValidation.cs
- GridViewRowPresenterBase.cs
- EpmContentDeSerializerBase.cs
- PointKeyFrameCollection.cs
- AdPostCacheSubstitution.cs
- CompositionCommandSet.cs
- DescendantBaseQuery.cs
- documentsequencetextview.cs
- TreeBuilder.cs
- Queue.cs
- EntityClassGenerator.cs
- ConfigDefinitionUpdates.cs
- MediaElement.cs
- AssemblyHash.cs
- XamlSerializerUtil.cs
- Registry.cs
- XMLSchema.cs
- BitmapEffectCollection.cs
- CroppedBitmap.cs
- RegexGroupCollection.cs
- CompoundFileDeflateTransform.cs
- WindowsSlider.cs
- MetadataElement.cs
- DiscreteKeyFrames.cs
- EditorZone.cs
- login.cs
- Inflater.cs
- LingerOption.cs
- SqlRecordBuffer.cs
- TabRenderer.cs
- AsnEncodedData.cs
- BaseCAMarshaler.cs
- BinaryParser.cs
- DocumentAutomationPeer.cs
- UrlPath.cs
- TokenFactoryCredential.cs
- shaperfactoryquerycacheentry.cs
- WebHeaderCollection.cs
- SafeRightsManagementHandle.cs
- SetIterators.cs
- cookiecontainer.cs
- BackStopAuthenticationModule.cs
- WeakEventTable.cs
- COAUTHINFO.cs
- COAUTHIDENTITY.cs
- XmlRawWriter.cs
- DataPager.cs
- CrossAppDomainChannel.cs
- ListViewSortEventArgs.cs
- PointAnimationUsingPath.cs
- AtomicFile.cs
- WindowsFormsHostPropertyMap.cs
- XmlUTF8TextWriter.cs
- WorkflowItemPresenter.cs
- IntegerCollectionEditor.cs
- BatchWriter.cs
- InputMethodStateChangeEventArgs.cs
- DoubleCollectionValueSerializer.cs
- HostVisual.cs
- NGCSerializerAsync.cs
- InkCanvasAutomationPeer.cs
- PropertyChangedEventManager.cs
- DeviceOverridableAttribute.cs
- DoWorkEventArgs.cs
- CommandPlan.cs
- TextHintingModeValidation.cs
- DataBoundLiteralControl.cs
- InheritablePropertyChangeInfo.cs
- ControlEvent.cs
- Freezable.cs