freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

考勤管理系統(tǒng)報(bào)告書-文庫(kù)吧

2025-07-06 11:11 本頁面


【正文】 次數(shù)Late_timessmallint2早退的次數(shù)Early_timessmallint2工作天數(shù)Work_daysmallint2統(tǒng)計(jì)數(shù)據(jù)表管理員表(Administrator)列名別名類型長(zhǎng)度備注管理員號(hào)anobigint6primary key姓名anamechar20性別asexchar2年齡aageint3管理員表五、系統(tǒng)實(shí)現(xiàn)一、登陸界面package kaoqin。import .*。import .*。import .*。import .*。import .*。public class Main_login extends JFrame implements ActionListener{ public Main_login() { super(選擇用戶類型)。 (300,300)。 (new JPanel())。 create()。 } private void create() { JButton b1,b2,b3。 Box box1,box2,box3,box。 b1=new JButton(系統(tǒng)管理員)。 b2=new JButton(普通用戶)。 b3=new JButton(退出登陸)。 (this)。 (this)。 (this)。 box1=()。 box2=()。 box3=()。 (b1)。 (b2)。 (b3)。 box=()。 (box1)。 ((20))。 (box2)。 ((40))。 (box3)。 (box)。 } public void actionPerformed(ActionEvent e) { if(()==系統(tǒng)管理員) { login frame=new login()。 dispose()。 } else if(()==普通用戶) { login1 frame=new login1()。 dispose()。 } else if(()==退出登陸) { (0)。 } } public static void main(String args[]) { //ConnectionDB myDB=new ConnectionDB()。 int flag=0。 //判斷是否創(chuàng)建過數(shù)據(jù)庫(kù)的標(biāo)志 File file=new File()。 try { //讀入標(biāo)志 FileReader in=new FileReader(file)。 int len。 if((len=())!=1) flag=1。 //已創(chuàng)建了數(shù)據(jù)庫(kù),置1 ()。 } catch (FileNotFoundException e) { ()。 } catch (IOException e) { ()。 } //沒有創(chuàng)建過數(shù)據(jù)庫(kù) if(flag==0){ ConnectionDB myDB=new ConnectionDB()。 ()。 ()。 try { //寫入標(biāo)志 FileWriter out=new FileWriter(file)。 (1)。 ()。 } catch (IOException e) { ()。 } } Main_login frame1=new Main_login()。 (true)。 }}}}二、管理員登陸界面class login extends JFrame //管理員登陸界面{ public login() { (管理員登陸界面)。 (300,300)。 (new JPanel())。 (true)。 init()。 } JTextField jTextField1。 JPasswordField jPasswordField1。 private void init() { JLabel jLabel1=new JLabel(管理員登陸)。 JLabel jLabel2=new JLabel(用戶名)。 JLabel jLabel3=new JLabel(密碼)。 jTextField1=new JTextField(10)。 jPasswordField1=new JPasswordField(10)。 JButton button1=new JButton(確定)。 JButton button2=new JButton(取消)。 JButton button3=new JButton(修改密碼)。 Box box,box1,box2,box3,box4,box5。 box1=()。 (jLabel1)。 ((10))。 box2=()。 (jLabel2)。 ((20))。 (jTextField1)。 box3=()。 (jLabel3)。 ((20))。 (jPasswordField1)。 box4=()。 (button1)。 ((20))。 (button2)。 box5=()。 (button3)。 box=()。 (box1)。 ((20))。 (box2)。 ((20))。 (box3)。 ((20))。 (box4)。 ((20))。 (box5)。 (box)。 (new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO 自動(dòng)生成的方法存根 // login im=new login()。 String name=(),password=()。 if((admin)amp。amp。(123456)) { MFrame mi=new MFrame()。 dispose()。 } else { (new JFrame(WARNING), 用戶名或密碼錯(cuò)誤)。 } } })。 (new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO 自動(dòng)生成的方法存根 Main_login frame=new Main_login()。 dispose()。 } })。 (new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO 自動(dòng)生成的方法存根 MPwd f1=new MPwd()。 dispose()。 } })。 } }三、主功能界面class MFrame extends JFrame //主功能界面{ public MFrame() { (主要功能)。 (new JPanel())。 (350,200)。 (true)。 init()。 } private void init() { JButton button1=new JButton(員工信息管理)。 JButton button2=new JButton(員工出勤信息)。 JButton button3=new JButton(配置信息)。 JButton button4=new JButton(退出登陸)。 Box box1=()。 Box box2=()。 Box box3=()。 (button1)。 ((10))。 (button2)。 ((10))。 (button3)。 (button4)。 (box1)。 ((30))。 (box2)。 (box3)。 (new ActionListener() // { @Override public void
點(diǎn)擊復(fù)制文檔內(nèi)容
外語相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1