📄 log.~cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "log.h"
#include "new.h"
#include "Main.h"
#include "Retrieve.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TLogin *Login;
//---------------------------------------------------------------------------
__fastcall TLogin::TLogin(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void __fastcall TLogin::N1Click(TObject *Sender)
{
Form_New->Show();
//Close();
}
//---------------------------------------------------------------------------
void __fastcall TLogin::N3Click(TObject *Sender)
{
Close();
}
//---------------------------------------------------------------------------
void __fastcall TLogin::N2Click(TObject *Sender)
{
Form_Retrieve->Show();
}
//---------------------------------------------------------------------------
void __fastcall TLogin::FormCloseQuery(TObject *Sender, bool &CanClose)
{
int value;
value=Application->MessageBox("您确定要关闭本程序吗?","退出提示",4);
if(value==7)
{
CanClose=false;
}
else
{
CanClose=true;
}
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -