[]
Initializes a new instance of the SpreadMonthCalendar class.
public SpreadMonthCalendar()
Public Sub New()
Initializes a new instance of the SpreadMonthCalendar class.
public SpreadMonthCalendar(string okText, string cancelText, DateTimeFormatInfo info, string calFormat, DateTime dateDefault)
Public Sub New(okText As String, cancelText As String, info As DateTimeFormatInfo, calFormat As String, dateDefault As Date)
Type | Name | Description |
---|---|---|
string | okText | A caption for the OK button |
string | cancelText | A caption for the Cancel button |
DateTimeFormatInfo | info | A DateTimeFormatInfo object for formatting and displaying DateTime values, depending on culture. |
string | calFormat | |
DateTime | dateDefault | A default value |
Creates a new copy from the specified cell type.
public SpreadMonthCalendar(SpreadMonthCalendar g)
Public Sub New(g As SpreadMonthCalendar)
Type | Name | Description |
---|---|---|
SpreadMonthCalendar | g | Specified button cell type from which to copy |
Creates a SpreadMonthCalendar from serialization.
public SpreadMonthCalendar(SerializationInfo info, StreamingContext context)
Public Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | Object that holds the serialized object data |
StreamingContext | context | Contexual information about the source or destination of the serialization |