Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
department.cpp
Package: salarysystem.rar [view]
Upload User: xz12345
Upload Date: 2007-09-12
Package Size: 7437k
Code Size: 2k
Category:
ADO-ODBC
Development Platform:
Visual C++
- // department.cpp : implementation file
- //
- #include "stdafx.h"
- #include "工资.h"
- #include "department.h"
- #include "insertbumen.h"
- #include "deletebumen.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // department dialog
- department::department(CWnd* pParent /*=NULL*/)
- : CDialog(department::IDD, pParent)
- {
- //{{AFX_DATA_INIT(department)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- }
- void department::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(department)
- DDX_Control(pDX, IDC_ADODC2_department, m_adodepartment);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(department, CDialog)
- //{{AFX_MSG_MAP(department)
- ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
- ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
- ON_BN_CLICKED(IDC_BUTTON3, OnButton3)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // department message handlers
- void department::OnButton1()
- {
- insertbumen t1;
- t1.DoModal();// TODO: Add your control notification handler code here
- this->m_adodepartment.Refresh();
- }
- void department::OnButton2()
- {
- deletebumen t1;
- t1.DoModal();
- this->m_adodepartment.Refresh();// TODO: Add your control notification handler code here
- }
- void department::OnButton3()
- {
- // TODO: Add your control notification handler code here
- }