C# Class Kadr.UI.Common.CalendarEditingControl

Inheritance: System.Windows.Forms.DateTimePicker, IDataGridViewEditingControl
显示文件 Open project: UGTU/UGTUKadrProject

Public Methods

Method Description
ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
CalendarEditingControl ( ) : System
EditingControlWantsInputKey ( Keys key, bool dataGridViewWantsInputKey ) : bool
GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object
PrepareEditingControlForEdit ( bool selectAll ) : void

Protected Methods

Method Description
OnValueChanged ( EventArgs eventargs ) : void

Private Methods

Method Description
CalendarEditingControl_KeyDown ( object sender, KeyEventArgs e ) : void

Method Details

ApplyCellStyleToEditingControl() public method

public ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
dataGridViewCellStyle System.Windows.Forms.DataGridViewCellStyle
return void

CalendarEditingControl() public method

public CalendarEditingControl ( ) : System
return System

EditingControlWantsInputKey() public method

public EditingControlWantsInputKey ( Keys key, bool dataGridViewWantsInputKey ) : bool
key Keys
dataGridViewWantsInputKey bool
return bool

GetEditingControlFormattedValue() public method

public GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object
context DataGridViewDataErrorContexts
return object

OnValueChanged() protected method

protected OnValueChanged ( EventArgs eventargs ) : void
eventargs System.EventArgs
return void

PrepareEditingControlForEdit() public method

public PrepareEditingControlForEdit ( bool selectAll ) : void
selectAll bool
return void