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
- RectConverter.cs
- ReadOnlyDataSourceView.cs
- PathSegment.cs
- BinaryFormatterWriter.cs
- ServiceReference.cs
- XamlBuildTaskServices.cs
- StorageMappingItemLoader.cs
- PerformanceCounterPermissionAttribute.cs
- IRCollection.cs
- WriteableBitmap.cs
- AppDomainManager.cs
- safemediahandle.cs
- HandleCollector.cs
- XmlILIndex.cs
- DocumentXmlWriter.cs
- TypeSemantics.cs
- XmlSerializerAssemblyAttribute.cs
- ServiceHostFactory.cs
- Configuration.cs
- ExtractedStateEntry.cs
- MembershipPasswordException.cs
- BindingOperations.cs
- SyncMethodInvoker.cs
- SmiEventSink.cs
- BitmapInitialize.cs
- CultureSpecificStringDictionary.cs
- GroupPartitionExpr.cs
- FixedSOMTable.cs
- BufferAllocator.cs
- WsdlImporterElement.cs
- OptimalBreakSession.cs
- BoundingRectTracker.cs
- FloaterBaseParagraph.cs
- _LoggingObject.cs
- DefaultPropertiesToSend.cs
- pingexception.cs
- AlphabetConverter.cs
- ExpressionLexer.cs
- EntityCollection.cs
- DrawingContextDrawingContextWalker.cs
- SmiConnection.cs
- AttributeCollection.cs
- PerfCounters.cs
- ObjectStateFormatter.cs
- DrawingGroupDrawingContext.cs
- DoWorkEventArgs.cs
- UnsupportedPolicyOptionsException.cs
- XmlEncoding.cs
- SqlStatistics.cs
- PopupControlService.cs
- Console.cs
- XmlChildEnumerator.cs
- latinshape.cs
- Barrier.cs
- Serializer.cs
- TabControlEvent.cs
- PropertyNames.cs
- XsltSettings.cs
- HWStack.cs
- ToolStripItemImageRenderEventArgs.cs
- CompilerResults.cs
- LinqDataSourceInsertEventArgs.cs
- Point3DAnimation.cs
- HtmlTableCell.cs
- EdmType.cs
- MessagingDescriptionAttribute.cs
- AnimationClock.cs
- Transform3DGroup.cs
- CompleteWizardStep.cs
- FixedSOMTableCell.cs
- FontCacheUtil.cs
- CellNormalizer.cs
- IFlowDocumentViewer.cs
- DataGridViewSelectedCellCollection.cs
- XmlException.cs
- Transform.cs
- XslCompiledTransform.cs
- CodeFieldReferenceExpression.cs
- CheckBoxList.cs
- SqlInternalConnectionSmi.cs
- IPCCacheManager.cs
- SByteStorage.cs
- SignedXml.cs
- MSG.cs
- ExternalCalls.cs
- SignatureDescription.cs
- XmlDomTextWriter.cs
- UnicodeEncoding.cs
- TransformerInfoCollection.cs
- ScriptServiceAttribute.cs
- AbstractSvcMapFileLoader.cs
- BuilderPropertyEntry.cs
- StringCollectionEditor.cs
- CalendarDateChangedEventArgs.cs
- DefaultValueTypeConverter.cs
- EntityContainerAssociationSet.cs
- FullTextBreakpoint.cs
- CompilerResults.cs
- WindowsAuthenticationEventArgs.cs
- XmlAttributeCache.cs