Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / DateBoldEvent.cs / 1 / DateBoldEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// The month calendar control fires this event to request information
/// about how the days within the visible months should be displayed.
///
//
//
public class DateBoldEventArgs : EventArgs {
readonly DateTime startDate; //the starting date
readonly int size; // requested length of array
int[] daysToBold = null;
internal DateBoldEventArgs(DateTime start, int size) {
startDate = start;
this.size = size;
}
///
///
/// [To be supplied.]
///
public DateTime StartDate {
get { return startDate; }
}
///
///
/// [To be supplied.]
///
public int Size {
get { return size; }
}
///
///
/// [To be supplied.]
///
public int[] DaysToBold {
get { return daysToBold; }
set { daysToBold = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms {
using System.Diagnostics;
using System;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using Microsoft.Win32;
///
///
///
/// The month calendar control fires this event to request information
/// about how the days within the visible months should be displayed.
///
//
//
public class DateBoldEventArgs : EventArgs {
readonly DateTime startDate; //the starting date
readonly int size; // requested length of array
int[] daysToBold = null;
internal DateBoldEventArgs(DateTime start, int size) {
startDate = start;
this.size = size;
}
///
///
/// [To be supplied.]
///
public DateTime StartDate {
get { return startDate; }
}
///
///
/// [To be supplied.]
///
public int Size {
get { return size; }
}
///
///
/// [To be supplied.]
///
public int[] DaysToBold {
get { return daysToBold; }
set { daysToBold = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- listitem.cs
- SqlReferenceCollection.cs
- HtmlImage.cs
- HierarchicalDataBoundControlAdapter.cs
- ThrowOnMultipleAssignment.cs
- LongValidator.cs
- DataFieldEditor.cs
- MimePart.cs
- IOThreadScheduler.cs
- ValueUtilsSmi.cs
- SecurityUniqueId.cs
- StateChangeEvent.cs
- AmbientLight.cs
- RsaKeyGen.cs
- PaperSize.cs
- Border.cs
- QueryOptionExpression.cs
- XmlSortKey.cs
- AndCondition.cs
- SqlCacheDependency.cs
- ClientRoleProvider.cs
- Pair.cs
- SqlNodeAnnotations.cs
- InputScopeAttribute.cs
- WebServiceEnumData.cs
- SortExpressionBuilder.cs
- XmlBinaryReader.cs
- ExtendedTransformFactory.cs
- ListViewEditEventArgs.cs
- Model3DCollection.cs
- TextServicesDisplayAttribute.cs
- DataGridViewTextBoxColumn.cs
- WebPartZoneCollection.cs
- BindingBase.cs
- counter.cs
- EncodingDataItem.cs
- ProcessHostConfigUtils.cs
- SourceFileBuildProvider.cs
- CurrentChangedEventManager.cs
- TextTreeNode.cs
- SpecularMaterial.cs
- DictionaryKeyPropertyAttribute.cs
- NumberSubstitution.cs
- RadioButtonList.cs
- SerializableAttribute.cs
- NullReferenceException.cs
- VirtualPath.cs
- SafeLibraryHandle.cs
- HttpResponseMessageProperty.cs
- XmlDictionaryReaderQuotas.cs
- StringToken.cs
- HttpHandlerActionCollection.cs
- TextBox.cs
- XmlDataSourceNodeDescriptor.cs
- HashJoinQueryOperatorEnumerator.cs
- BridgeDataReader.cs
- TailCallAnalyzer.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Int32CollectionConverter.cs
- StylusButtonCollection.cs
- MemberAssignmentAnalysis.cs
- QueryGeneratorBase.cs
- SecurityResources.cs
- CodeDOMUtility.cs
- BadImageFormatException.cs
- SoapObjectWriter.cs
- ErrorProvider.cs
- NavigationProperty.cs
- UserPreference.cs
- TextContainerChangedEventArgs.cs
- SafeFileHandle.cs
- RoutedEventArgs.cs
- ConnectionManagementElementCollection.cs
- HttpApplication.cs
- Point3DAnimationUsingKeyFrames.cs
- DataControlField.cs
- XNodeNavigator.cs
- FamilyMap.cs
- SettingsPropertyWrongTypeException.cs
- RuleSettings.cs
- ParameterReplacerVisitor.cs
- OuterGlowBitmapEffect.cs
- FormsAuthentication.cs
- ToolStripOverflow.cs
- DataGridViewImageColumn.cs
- Helpers.cs
- XmlCountingReader.cs
- ErrorTableItemStyle.cs
- SettingsPropertyNotFoundException.cs
- SettingsContext.cs
- FlagsAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- QueryResults.cs
- DynamicDiscoveryDocument.cs
- SqlCharStream.cs
- ItemCheckedEvent.cs
- ConsoleTraceListener.cs
- ScriptRef.cs
- Material.cs
- WebPartMenu.cs