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
- RegexStringValidator.cs
- _HelperAsyncResults.cs
- ProcessInfo.cs
- WebBrowsableAttribute.cs
- TextEditorTyping.cs
- HuffmanTree.cs
- CaseKeyBox.xaml.cs
- WebPartUserCapability.cs
- SparseMemoryStream.cs
- RangeBaseAutomationPeer.cs
- SqlDataSourceSummaryPanel.cs
- ApplicationManager.cs
- FocusTracker.cs
- IsolatedStoragePermission.cs
- GenericIdentity.cs
- PartialTrustVisibleAssembliesSection.cs
- MouseButtonEventArgs.cs
- UnauthorizedWebPart.cs
- GlyphingCache.cs
- KeyedCollection.cs
- TrackBarRenderer.cs
- SqlVersion.cs
- WindowsFormsHost.cs
- ScriptDescriptor.cs
- ValidationHelper.cs
- EndSelectCardRequest.cs
- DictionaryContent.cs
- SelectionPattern.cs
- LinqDataSourceStatusEventArgs.cs
- DocumentViewerBase.cs
- SamlSubjectStatement.cs
- TextServicesDisplayAttributePropertyRanges.cs
- DataContext.cs
- CodeMemberField.cs
- MouseButton.cs
- PointIndependentAnimationStorage.cs
- SQLDouble.cs
- ProfileModule.cs
- ImportContext.cs
- FreeFormDragDropManager.cs
- JsonClassDataContract.cs
- UserControlParser.cs
- LinkedList.cs
- HttpConfigurationSystem.cs
- TransactionException.cs
- TextTreeTextNode.cs
- TokenDescriptor.cs
- GridViewRow.cs
- CodeGeneratorAttribute.cs
- ConnectionManagementElement.cs
- DelayedRegex.cs
- Margins.cs
- ModelUIElement3D.cs
- IRCollection.cs
- HtmlWindowCollection.cs
- basevalidator.cs
- CodeBlockBuilder.cs
- MessageQueueInstaller.cs
- _OverlappedAsyncResult.cs
- DataGridPreparingCellForEditEventArgs.cs
- RoleManagerModule.cs
- OverlappedContext.cs
- EntityDataSourceMemberPath.cs
- HttpMethodConstraint.cs
- ContentHostHelper.cs
- NamespaceInfo.cs
- DiagnosticStrings.cs
- DynamicILGenerator.cs
- ActiveDocumentEvent.cs
- Size3D.cs
- SplitterCancelEvent.cs
- PerformanceCountersBase.cs
- PageClientProxyGenerator.cs
- _ConnectionGroup.cs
- VectorValueSerializer.cs
- X509Certificate2.cs
- IssuedTokenServiceCredential.cs
- CreationContext.cs
- ViewManager.cs
- DrawingAttributes.cs
- PersonalizationProviderHelper.cs
- InkCanvasSelectionAdorner.cs
- LiteralControl.cs
- QuaternionKeyFrameCollection.cs
- ImageResources.Designer.cs
- LogSwitch.cs
- EmptyStringExpandableObjectConverter.cs
- PrinterResolution.cs
- TextEditor.cs
- StateDesigner.LayoutSelectionGlyph.cs
- ChtmlLinkAdapter.cs
- ViewEvent.cs
- InputMethodStateChangeEventArgs.cs
- SessionSwitchEventArgs.cs
- TraceLog.cs
- ExtendLockAsyncResult.cs
- DataControlFieldCell.cs
- IPipelineRuntime.cs
- cookiecollection.cs
- ClonableStack.cs