MonthCalendar.Paint MonthCalendar.Paint MonthCalendar.Paint MonthCalendar.Paint Event

Definición

Se produce cuando vuelve a dibujarse el control.Occurs when the control is redrawn.

public:
 event System::Windows::Forms::PaintEventHandler ^ Paint;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.PaintEventHandler Paint;
member this.Paint : System.Windows.Forms.PaintEventHandler 
Public Custom Event Paint As PaintEventHandler 
Atributos

Comentarios

El MonthCalendar conjuntos de controles el UserPaint indicador de bits para false, por lo que MonthCalendar no provocará la Paint eventos.The MonthCalendar control sets the UserPaint bit flag to false, so the MonthCalendar will not raise the Paint event. Para proporcionar una apariencia personalizada a la MonthCalendar control, se debe reemplazar el OnPrint método, llame a la implementación base de OnPrinty, a continuación, realizar el dibujo personalizado.To provide a custom look to the MonthCalendar control, you should override the OnPrint method, call the base implementation of OnPrint, and then perform custom painting.

Se aplica a