-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUnit2.h
More file actions
62 lines (61 loc) · 1.85 KB
/
Copy pathUnit2.h
File metadata and controls
62 lines (61 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//---------------------------------------------------------------------------
#ifndef Unit2H
#define Unit2H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Menus.hpp>
#include <Vcl.Dialogs.hpp>
#include <Vcl.ExtDlgs.hpp>
#include <Vcl.ComCtrls.hpp>
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published: // IDE-managed Components
TMainMenu *MainMenu;
TMenuItem *N1;
TMenuItem *N2;
TButton *btFile;
TLabel *lbTask;
TOpenTextFileDialog *OpenTextFileDialog1;
TMenuItem *N3;
TMenuItem *N4;
TMenuItem *N5;
TMenuItem *N6;
TRichEdit *reSrcText;
TLabel *lbSrcText;
TRichEdit *reDestText;
TLabel *lbDestText;
TLabel *lbP;
TEdit *edP;
TButton *btCipher;
TButton *btRecipher;
TButton *btClear;
TSaveTextFileDialog *SaveTextFileDialog1;
TRichEdit *reOpenKey;
TLabel *lbOpen;
TLabel *lbQ;
TEdit *edQ;
TLabel *lbB;
TEdit *edB;
TRichEdit *reCloseKey;
TLabel *lbClose;
void __fastcall saveFileInput(std::ofstream &fileName, TObject* Sender);
void __fastcall readFileInput(std::ifstream &fileName, TObject* Sender);
void __fastcall N3Click(TObject *Sender);
void __fastcall btClearClick(TObject *Sender);
void __fastcall btFileClick(TObject *Sender);
void __fastcall btCipherClick(TObject *Sender);
void __fastcall btDecipherClick(TObject *Sender);
void __fastcall reSrcTextChange(TObject *Sender);
void __fastcall N4Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif