Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / MonthCalendarDesigner.cs / 1 / MonthCalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.Design.MonthCalendarDesigner..ctor()")] namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; ////// /// internal class MonthCalendarDesigner : ControlDesigner { public MonthCalendarDesigner() { AutoResizeHandles = true; } ////// Provides a designer that can design components /// that extend MonthCalendar. ////// /// Retrieves a set of rules concerning the movement capabilities of a component. /// This should be one or more flags from the SelectionRules class. If no designer /// provides rules for a component, the component will not get any UI services. /// public override SelectionRules SelectionRules { get { SelectionRules rules = base.SelectionRules; if ((Control.Parent == null) || (Control.Parent != null && !Control.Parent.IsMirrored)) { rules &= ~(SelectionRules.TopSizeable | SelectionRules.LeftSizeable); } else { Debug.Assert(Control.Parent != null && Control.Parent.IsMirrored); rules &= ~(SelectionRules.TopSizeable | SelectionRules.RightSizeable); } return rules; } } } } // 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
- documentsequencetextcontainer.cs
- BinaryFormatterWriter.cs
- RangeBaseAutomationPeer.cs
- GraphicsPathIterator.cs
- CreateUserErrorEventArgs.cs
- ValidatedMobileControlConverter.cs
- TagNameToTypeMapper.cs
- PropertyChangingEventArgs.cs
- NullRuntimeConfig.cs
- PreviousTrackingServiceAttribute.cs
- DataGridViewCellFormattingEventArgs.cs
- RelationshipEndMember.cs
- ExpandedProjectionNode.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- NeutralResourcesLanguageAttribute.cs
- ArraySubsetEnumerator.cs
- GlyphingCache.cs
- ConfigXmlText.cs
- Stopwatch.cs
- TemplateControl.cs
- MaskedTextBox.cs
- FrameworkContextData.cs
- GridViewColumnHeaderAutomationPeer.cs
- WinFormsSecurity.cs
- XmlSerializableReader.cs
- QilXmlWriter.cs
- OleDbEnumerator.cs
- StringHandle.cs
- Bold.cs
- FlowDocumentView.cs
- StorageComplexTypeMapping.cs
- Marshal.cs
- ReliableRequestSessionChannel.cs
- ContextProperty.cs
- LayoutTable.cs
- SqlNotificationEventArgs.cs
- TypeElement.cs
- WebSysDescriptionAttribute.cs
- BevelBitmapEffect.cs
- DrawingImage.cs
- TextSelectionHighlightLayer.cs
- MailSettingsSection.cs
- CodePrimitiveExpression.cs
- GradientStop.cs
- GridViewCellAutomationPeer.cs
- coordinatorfactory.cs
- PerspectiveCamera.cs
- IISUnsafeMethods.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- TrackBarRenderer.cs
- DesignerImageAdapter.cs
- Size.cs
- Query.cs
- StateDesignerConnector.cs
- SetterBaseCollection.cs
- SafeArrayTypeMismatchException.cs
- CodeCompiler.cs
- SafeFileHandle.cs
- DriveInfo.cs
- DuplicateWaitObjectException.cs
- StateRuntime.cs
- SoapMessage.cs
- SecurityContextCookieSerializer.cs
- CopyNamespacesAction.cs
- SelectionRange.cs
- URLString.cs
- SynchronousChannelMergeEnumerator.cs
- InternalTypeHelper.cs
- Baml2006KeyRecord.cs
- ReflectEventDescriptor.cs
- RealizationDrawingContextWalker.cs
- WebPartMinimizeVerb.cs
- SmiRecordBuffer.cs
- DaylightTime.cs
- CallbackValidator.cs
- EntityViewGenerator.cs
- controlskin.cs
- AuditLevel.cs
- WebPartVerb.cs
- PartialList.cs
- ToolStripPanelCell.cs
- PrintPreviewDialog.cs
- SecurityUtils.cs
- ReadOnlyHierarchicalDataSource.cs
- BaseComponentEditor.cs
- JsonWriterDelegator.cs
- TemplateControlBuildProvider.cs
- CheckedListBox.cs
- ConvertersCollection.cs
- ExtensionQuery.cs
- ZoneIdentityPermission.cs
- ProfileEventArgs.cs
- SQLMoneyStorage.cs
- WebEventTraceProvider.cs
- ArgumentDirectionHelper.cs
- ImageKeyConverter.cs
- Attribute.cs
- SelectManyQueryOperator.cs
- EventEntry.cs
- Marshal.cs