Code:
/ FX-1434 / FX-1434 / 1.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
- TagMapInfo.cs
- WindowsFormsHostPropertyMap.cs
- ListenerServiceInstallComponent.cs
- CompiledELinqQueryState.cs
- UnmanagedMemoryStream.cs
- XmlWriterTraceListener.cs
- EventLogRecord.cs
- AttributeCollection.cs
- TreeNodeCollection.cs
- TemplatePagerField.cs
- VisualCollection.cs
- ByteRangeDownloader.cs
- MapPathBasedVirtualPathProvider.cs
- DragCompletedEventArgs.cs
- ScrollEvent.cs
- Reference.cs
- SafeRegistryHandle.cs
- DataBinder.cs
- QilTargetType.cs
- ListViewInsertionMark.cs
- COMException.cs
- FaultCode.cs
- Win32MouseDevice.cs
- ExceptionUtil.cs
- GridEntryCollection.cs
- HMACSHA512.cs
- WebResourceAttribute.cs
- DataBindingList.cs
- ApplicationServiceHelper.cs
- Window.cs
- CachedFontFace.cs
- WebPartEditorCancelVerb.cs
- XmlSchemaComplexType.cs
- EmptyCollection.cs
- TextUtf8RawTextWriter.cs
- RealizationContext.cs
- XmlILIndex.cs
- AttributeCollection.cs
- CharEnumerator.cs
- ToolStripItemEventArgs.cs
- MsmqIntegrationChannelListener.cs
- GroupBox.cs
- XhtmlStyleClass.cs
- CodeArgumentReferenceExpression.cs
- SessionStateContainer.cs
- processwaithandle.cs
- MobileFormsAuthentication.cs
- Solver.cs
- OdbcConnection.cs
- TextProperties.cs
- SchemaObjectWriter.cs
- TemplateControlCodeDomTreeGenerator.cs
- OrderToken.cs
- WebPartConnectionsConnectVerb.cs
- HotCommands.cs
- NetworkInformationPermission.cs
- BuildResultCache.cs
- Completion.cs
- QueryOperationResponseOfT.cs
- ListItemCollection.cs
- TypeBuilderInstantiation.cs
- Content.cs
- EmptyControlCollection.cs
- PackageStore.cs
- CalendarButtonAutomationPeer.cs
- Matrix3DStack.cs
- UnsafeNetInfoNativeMethods.cs
- SessionPageStateSection.cs
- QilPatternFactory.cs
- PriorityQueue.cs
- cookieexception.cs
- WindowsFormsHostAutomationPeer.cs
- SQLDoubleStorage.cs
- SqlBulkCopyColumnMappingCollection.cs
- DBPropSet.cs
- ConfigXmlDocument.cs
- FlowDocumentReaderAutomationPeer.cs
- DecimalConverter.cs
- XmlBindingWorker.cs
- PeerApplicationLaunchInfo.cs
- SafeNativeMethods.cs
- WindowsIdentity.cs
- COM2PictureConverter.cs
- NumericUpDownAccelerationCollection.cs
- CompiledRegexRunner.cs
- RotateTransform3D.cs
- _AutoWebProxyScriptHelper.cs
- ByteStack.cs
- DefaultValueTypeConverter.cs
- Duration.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- DesignerTransactionCloseEvent.cs
- DesignerActionItemCollection.cs
- __Filters.cs
- DependentList.cs
- PlanCompiler.cs
- LogStore.cs
- ProtectedProviderSettings.cs
- TransactionsSectionGroup.cs
- BoundsDrawingContextWalker.cs