📄 configwizard.h
字号:
/*
This file is part of KCeasy (http://www.kceasy.com)
Copyright (C) 2002-2004 Markus Kern <mkern@kceasy.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
//---------------------------------------------------------------------------
#ifndef ConfigWizardH
#define ConfigWizardH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
#include "KCeasy.h"
#include "istring.h"
#include "Engine.h"
//---------------------------------------------------------------------------
using namespace KCeasyEngine;
using std::list;
class TConfigWizardForm : public TForm
{
__published: // IDE-managed Components
TPageControl *PageCtrl;
TTabSheet *WelcomeSheet;
TTabSheet *ConnectionSheet;
TTabSheet *SharedFoldersSheet;
TImage *AppLogoImage;
TStaticText *WelcomeStatic;
TButton *CancelBtn;
TBevel *FooterBevel;
TBevel *HeaderBevel;
TButton *NextBtn;
TButton *BackBtn;
TPanel *HeaderPanel;
TPanel *FooterPanel;
TStaticText *WelcomeStatic1;
TStaticText *FewQuestionsStatic;
TListView *ConnectionListView;
TStaticText *ConnectionStatic2;
TStaticText *ConnectionStatic1;
TEdit *DownstreamEdit;
TUpDown *DownstreamUpDown;
TLabel *UpstreamLbl;
TLabel *DownstreamLbl;
TEdit *UpstreamEdit;
TUpDown *UpstreamUpDown;
TStaticText *SharedFolderStatic1;
TSpeedButton *ShareSelectBtn;
TStaticText *SharedFoldersStatic2;
TTabSheet *NetworksSheet;
TListView *NetworksListView;
TStaticText *NetworksStatic1;
TListView *SharedFoldersListView;
TStaticText *WelcomeStatic2;
TTabSheet *FinishedSheet;
TStaticText *FinishedStatic1;
TStaticText *FinishedStatic2;
TTabSheet *Win98PatchSheet;
TStaticText *Win98PatchStatic1;
TStaticText *Win98PatchStatic2;
TCheckBox *Win98PatchChk;
TStaticText *MustRebootStatic;
TStaticText *NodeFileUpdateStatic;
void __fastcall NextBtnClick(TObject *Sender);
void __fastcall BackBtnClick(TObject *Sender);
void __fastcall PageCtrlChange(TObject *Sender);
void __fastcall EditOnlyNumericKeyPress(TObject *Sender, char &Key);
void __fastcall ConnectionListViewSelectItem(TObject *Sender,
TListItem *Item, bool Selected);
void __fastcall ShareSelectBtnClick(TObject *Sender);
void __fastcall NetworksListViewClick(TObject *Sender);
private: // User declarations
TGiftLauncher *Launcher;
list<string> SharedFolders;
list<string> LoadedPlugins;
bool MustReboot;
bool NeedWin98Patch;
bool InitConnectionPage();
bool InitWin98PatchPage();
bool InitSharedFoldersPage();
bool InitNetworksPage();
bool FinishConnectionPage();
bool FinishWin98PatchPage();
bool FinishSharedFoldersPage();
bool FinishNetworksPage();
public: // User declarations
__fastcall TConfigWizardForm(TComponent* Owner, TGiftLauncher* NLauncher,
bool FirstInstall = false);
};
//---------------------------------------------------------------------------
extern PACKAGE TConfigWizardForm *ConfigWizardForm;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -