Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / CalendarDesigner.cs / 1 / CalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Design; using System.Diagnostics; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; using System.Windows.Forms; using Calendar = System.Web.UI.WebControls.Calendar; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] [SupportsPreviewControl(true)] public class CalendarDesigner : ControlDesigner { private static DesignerAutoFormatCollection _autoFormats; public override DesignerAutoFormatCollection AutoFormats { get { if (_autoFormats == null) { _autoFormats = CreateAutoFormats(AutoFormatSchemes.CALENDAR_SCHEMES, delegate(DataRow schemeData) { return new CalendarAutoFormat(schemeData); }); } return _autoFormats; } } ////// Provides a designer for the ////// control. /// /// /// public override void Initialize(IComponent component) { VerifyInitializeArgument(component, typeof(Calendar)); base.Initialize(component); } ////// Initializes the designer with the component for design. /// ////// /// protected void OnAutoFormat(object sender, EventArgs e) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Delegate to handle the the AutoFormat verb by calling the AutoFormat dialog. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Vector3D.cs
- xsdvalidator.cs
- WindowsFormsLinkLabel.cs
- LocalValueEnumerator.cs
- GraphicsPath.cs
- AssociationSet.cs
- PointAnimationUsingKeyFrames.cs
- BinaryNode.cs
- hresults.cs
- CellCreator.cs
- XmlNodeList.cs
- OrderByBuilder.cs
- TableItemStyle.cs
- CheckBox.cs
- DataGridViewDataErrorEventArgs.cs
- MemoryPressure.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- EntitySqlQueryBuilder.cs
- FilteredDataSetHelper.cs
- DependencyProperty.cs
- DispatcherOperation.cs
- unsafeIndexingFilterStream.cs
- AuthenticationService.cs
- odbcmetadatafactory.cs
- UmAlQuraCalendar.cs
- AttachmentService.cs
- odbcmetadatafactory.cs
- DebugInfoGenerator.cs
- EntityType.cs
- XmlMembersMapping.cs
- UniqueID.cs
- AdPostCacheSubstitution.cs
- RotationValidation.cs
- Calendar.cs
- UpdatePanelTriggerCollection.cs
- DbException.cs
- _SSPISessionCache.cs
- HttpResponseHeader.cs
- SectionUpdates.cs
- DataControlFieldHeaderCell.cs
- UserPersonalizationStateInfo.cs
- LogSwitch.cs
- ReachDocumentReferenceCollectionSerializer.cs
- _UriSyntax.cs
- EventLogPermissionHolder.cs
- DictionaryItemsCollection.cs
- Page.cs
- AspNetPartialTrustHelpers.cs
- DoWorkEventArgs.cs
- CollectionBuilder.cs
- ReturnType.cs
- WebHttpSecurityElement.cs
- CompilerWrapper.cs
- XmlSerializationReader.cs
- DataRecord.cs
- _DomainName.cs
- IOThreadScheduler.cs
- TextRangeEditLists.cs
- UInt16Storage.cs
- ArcSegment.cs
- MachineKeyConverter.cs
- Visual3DCollection.cs
- ProtocolsConfigurationEntry.cs
- VisualStyleRenderer.cs
- CompensationDesigner.cs
- TimeSpan.cs
- Double.cs
- OdbcFactory.cs
- XmlText.cs
- NullableLongMinMaxAggregationOperator.cs
- CodeGenerator.cs
- ExpressionBindings.cs
- ServicePrincipalNameElement.cs
- EventLogPermissionEntry.cs
- ToggleProviderWrapper.cs
- InternalConfigEventArgs.cs
- CommandField.cs
- SocketInformation.cs
- KeyToListMap.cs
- RectAnimationBase.cs
- NumericUpDown.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- ProgressBar.cs
- DataObject.cs
- CollectionDataContract.cs
- DataContractSerializerFaultFormatter.cs
- CurrentChangingEventManager.cs
- DocumentApplicationJournalEntry.cs
- SqlBuilder.cs
- DbConnectionPool.cs
- GroupItem.cs
- DataServiceQueryProvider.cs
- Control.cs
- HwndMouseInputProvider.cs
- EnumerableCollectionView.cs
- OdbcStatementHandle.cs
- WindowsSysHeader.cs
- CommonObjectSecurity.cs
- BulletedListEventArgs.cs
- TypeSemantics.cs