-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAbout.cpp
More file actions
29 lines (25 loc) · 911 Bytes
/
Copy pathAbout.cpp
File metadata and controls
29 lines (25 loc) · 911 Bytes
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
//---------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit1.h"
#include "About.h"
//---------------------------------------------------------------------
#pragma resource "*.dfm"
TAboutBox *AboutBox;
//---------------------------------------------------------------------
__fastcall TAboutBox::TAboutBox(TComponent* AOwner)
: TForm(AOwner)
{
Caption = "About RPS Online";
// Set image
ProgramIcon->Picture->Bitmap = Form1->FBitmapRockLeft;
}
//---------------------------------------------------------------------
void __fastcall TAboutBox::CommentsClick(TObject *Sender)
{
ShellExecuteW(Handle,
L"open",
L"mailto:crayon1@rocketmail.com?subject=RPS Online",
nullptr, nullptr, SW_SHOWDEFAULT);
}
//---------------------------------------------------------------------------