Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Designers / StateDesigner.LayoutSelectionGlyph.cs / 1305376 / StateDesigner.LayoutSelectionGlyph.cs
namespace System.Workflow.Activities { using System; using System.Text; using System.Reflection; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing.Design; using System.Drawing; using System.Drawing.Drawing2D; using System.Diagnostics; using System.IO; using System.Windows.Forms; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Runtime.Serialization; internal partial class StateDesigner : FreeformActivityDesigner { ////// Draws the selection retangle around the selected designer /// private class LayoutSelectionGlyph : SelectionGlyph { private Layout _layout; public LayoutSelectionGlyph(Layout layout) { if (layout == null) throw new ArgumentNullException("layout"); _layout = layout; } public override int Priority { get { return DesignerGlyph.HighestPriority; } } public override bool IsPrimarySelection { get { return true; } } public override Rectangle GetBounds(ActivityDesigner designer, bool activated) { if (designer == null) throw new ArgumentNullException("designer"); return _layout.Bounds; } } } } // 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
- XmlAttributes.cs
- WorkflowMarkupSerializationException.cs
- TextClipboardData.cs
- EntityDataSourceQueryBuilder.cs
- SecurityProtocol.cs
- LocalBuilder.cs
- PhysicalOps.cs
- DelayedRegex.cs
- AppDomainCompilerProxy.cs
- DirectoryInfo.cs
- ReadOnlyDictionary.cs
- LockedActivityGlyph.cs
- DataGridViewTextBoxColumn.cs
- GrammarBuilderDictation.cs
- PaperSize.cs
- SynchronizationFilter.cs
- FormatPage.cs
- TextSerializer.cs
- Utilities.cs
- HtmlLink.cs
- DataSpaceManager.cs
- RelationshipEntry.cs
- CodeArrayCreateExpression.cs
- BitmapData.cs
- AnnotationAuthorChangedEventArgs.cs
- StatusBarDesigner.cs
- DataControlPagerLinkButton.cs
- Stream.cs
- ItemMap.cs
- MetadataItemCollectionFactory.cs
- SystemSounds.cs
- Aggregates.cs
- SimpleApplicationHost.cs
- SQLCharsStorage.cs
- FormsAuthenticationTicket.cs
- DependencyObjectType.cs
- IPAddress.cs
- Point.cs
- ValueUtilsSmi.cs
- WindowsListViewSubItem.cs
- DataGridViewHitTestInfo.cs
- LogRecordSequence.cs
- SqlTriggerAttribute.cs
- EmbeddedObject.cs
- BezierSegment.cs
- Binding.cs
- RegexCompiler.cs
- DictionaryTraceRecord.cs
- GrammarBuilder.cs
- CodePageUtils.cs
- HtmlString.cs
- RegexCompilationInfo.cs
- KeyboardNavigation.cs
- WindowInteropHelper.cs
- ILGen.cs
- XmlSchemaAttribute.cs
- EpmContentSerializer.cs
- OdbcParameter.cs
- DataGridViewHeaderCell.cs
- CustomAttribute.cs
- ToolStripRenderEventArgs.cs
- EntityKey.cs
- IsolatedStorageSecurityState.cs
- ProcessInfo.cs
- InternalCache.cs
- RequestValidator.cs
- ToolStripDropDownMenu.cs
- HScrollProperties.cs
- XmlAutoDetectWriter.cs
- SettingsContext.cs
- RecognizerBase.cs
- ConcurrencyMode.cs
- WindowsUpDown.cs
- CompatibleIComparer.cs
- LinkDescriptor.cs
- GridViewCellAutomationPeer.cs
- EntityTemplateUserControl.cs
- StructuredTypeEmitter.cs
- FileLogRecordEnumerator.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- HighlightComponent.cs
- EventLogTraceListener.cs
- BreakRecordTable.cs
- Misc.cs
- SinglePageViewer.cs
- ToolZone.cs
- RuntimeIdentifierPropertyAttribute.cs
- SHA256.cs
- recordstatefactory.cs
- _ConnectionGroup.cs
- SelectionEditor.cs
- ObjectDataSourceMethodEventArgs.cs
- ComboBox.cs
- SevenBitStream.cs
- ClientScriptItemCollection.cs
- WmiInstallComponent.cs
- DrawingState.cs
- Int32CAMarshaler.cs
- followingquery.cs
- ReplyAdapterChannelListener.cs