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

📄 ttaskform.h

📁 我写的SQL Server网络备份工具。(服务器端用VC开发
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef TTaskFormH
#define TTaskFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CSPIN.h"
#include <ExtCtrls.hpp>
#include <ComCtrls.hpp>
//---------------------------------------------------------------------------
class TTaskForm : public TForm
{
__published:	// IDE-managed Components
    TRadioButton *rbWeek;
    TRadioButton *rbDay;
    TGroupBox *GroupBox1;
    TGroupBox *GroupBox2;
    TPanel *MonthBox;
    TPanel *WeekBox;
    TPanel *DayBox;
    TCSpinEdit *txtMonthNum;
    TLabel *Label1;
    TLabel *Label2;
    TCSpinEdit *txtMonthDayNum;
    TLabel *Label3;
    TLabel *Label4;
    TCSpinEdit *txtDayNum;
    TLabel *Label5;
    TLabel *Label6;
    TCSpinEdit *txtWeekNum;
    TLabel *Label7;
    TRadioButton *rbMonth;
    TGroupBox *GroupBox3;
    TCheckBox *chkBackupNow;
    TButton *btnOk;
    TButton *btnCancel;
    TRadioButton *rbMonday;
    TRadioButton *rbTuesday;
    TRadioButton *rbWednesday;
    TRadioButton *rbThursday;
    TRadioButton *rbFriday;
    TRadioButton *rbSaturday;
    TRadioButton *rbSunday;
    TListBox *DatabaseList;
    TLabel *txtDatabase;
    TDateTimePicker *ActiveTime;
    TLabel *Label8;
    TLabel *Label9;
    TDateTimePicker *BeginDate;
    TLabel *Label10;
    void __fastcall OnCycleClick(TObject *Sender);
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall OnDayClick(TObject *Sender);
    void __fastcall DatabaseListClick(TObject *Sender);
    void __fastcall btnOkClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
    __fastcall TTaskForm(TComponent* Owner);
    int GetCycleType();
    int GetCycleCount();
    int GetDayCount();
    AnsiString GetDatabase();
    void SetCycle(int nType , int nCycleCount , int nDayCount);
    TDateTime GetBackupTime();
    void SetBackupTime(TDateTime &value);
    void SetDatabase(AnsiString & strDatabase);
    TDateTime GetBeginDate();
    void SetBeginDate(TDateTime & datBegin);
protected:
    void ChangeBox(int nPage);
    TRadioButton *m_pSelectDay;
};

//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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