student_login.cpp

来自「图书管理系统 语言:C,SQL 功能:实现图书管理的数字化」· C++ 代码 · 共 62 行

CPP
62
字号
// Student_login.cpp : implementation file
//

#include "stdafx.h"
#include "Library.h"
#include "Student_login.h"
#include "Student_own_info.h"
#include "Student_book_search.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Student_login dialog


Student_login::Student_login(CWnd* pParent /*=NULL*/)
	: CDialog(Student_login::IDD, pParent)
{
	//{{AFX_DATA_INIT(Student_login)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void Student_login::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Student_login)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Student_login, CDialog)
	//{{AFX_MSG_MAP(Student_login)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Student_login message handlers

void Student_login::OnButton1() 
{
	// TODO: Add your control notification handler code hered
	Student_own_info Dlg1;
	Dlg1.DoModal();
}

void Student_login::OnButton2() 
{
	// TODO: Add your control notification handler code here
	Student_book_search Dlg2;
	Dlg2.DoModal();
	
}

⌨️ 快捷键说明

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