⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit8.cpp

📁 sdf
💻 CPP
字号:
#include <vcl.h>
#pragma hdrstop

#include "Unit8.h"
#pragma package(smart_init)
#pragma link "CCALENDR"
#pragma resource "*.dfm"
TForm8 *Form8;
//---------------------------------------------------------------------------
__fastcall TForm8::TForm8(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------
void TForm8::(TDateTime Date)
{
Calendar1->CalendarDate=Date;
}
//-----------------------------------------------------------------------------
TDateTime TForm8::GetDate()
{
TDateTime Date=Calendar1->CalendarDate;
return Date;
}
//------------------------------------------------------------------------------


void __fastcall TForm8::SpeedButton1Click(TObject *Sender)
{
Cakebdar1->PrevMonth();
}
//---------------------------------------------------------------------------

void __fastcall TForm8::SpeedButton2Click(TObject *Sender)
{
Cakebdar1->NextMonth();
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -