⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainframe.java

📁 医疗管理系统
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    }

    public void itmMngReckoning_actionPerformed(ActionEvent e) {
        MngReckoning mr=new MngReckoning();
        this.getContentPane().removeAll();
        c.add(jToolBar, BorderLayout.NORTH);
        this.getContentPane().add(mr, BorderLayout.CENTER);
        c.add(pnlStatus, BorderLayout.SOUTH);
        this.setVisible(true);
    }

    public void itmMngPatient_actionPerformed(ActionEvent e) {
        MngPatient mp=new MngPatient();
        this.getContentPane().removeAll();
        c.add(jToolBar, BorderLayout.NORTH);
        this.getContentPane().add(mp, BorderLayout.CENTER);
        c.add(pnlStatus, BorderLayout.SOUTH);
        this.setVisible(true);
    }

    public void itmSrchManagerInfo_actionPerformed(ActionEvent e) {
         SrchManagerInfo sm=new SrchManagerInfo();
         this.getContentPane().removeAll();
         c.add(jToolBar, BorderLayout.NORTH);
         this.getContentPane().add(sm, BorderLayout.CENTER);
         c.add(pnlStatus, BorderLayout.SOUTH);
         this.setVisible(true);
     }

     public void itmSrchDoctorInfo_actionPerformed(ActionEvent e) {
         SrchDoctorInfo sd=new SrchDoctorInfo();
         this.getContentPane().removeAll();
         c.add(jToolBar, BorderLayout.NORTH);
         this.getContentPane().add(sd, BorderLayout.CENTER);
         c.add(pnlStatus, BorderLayout.SOUTH);
         this.setVisible(true);
     }

     public void itmSrchLeechdomInfo_actionPerformed(ActionEvent e) {
         SrchLeechdomInfo sl=new SrchLeechdomInfo();
         this.getContentPane().removeAll();
         c.add(jToolBar, BorderLayout.NORTH);
         this.getContentPane().add(sl, BorderLayout.CENTER);
         c.add(pnlStatus, BorderLayout.SOUTH);
         this.setVisible(true);
     }


    public void itmAboutUs_actionPerformed(ActionEvent e) {
        AboutUs au=new AboutUs();
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension frameSize = au.getPreferredSize();
        if (frameSize.height > screenSize.height) {
            frameSize.height = screenSize.height;
        }
        if (frameSize.width > screenSize.width) {
            frameSize.width = screenSize.width;
        }
        au.setLocation((screenSize.width - frameSize.width) / 2,
                       (screenSize.height - frameSize.height) / 2);
        au.setVisible(true);
    }

    public void itmHelp_actionPerformed(ActionEvent e) {
        UseExpaination ue=new UseExpaination();
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension frameSize = ue.getPreferredSize();
        if (frameSize.height > screenSize.height) {
            frameSize.height = screenSize.height;
        }
        if (frameSize.width > screenSize.width) {
            frameSize.width = screenSize.width;
        }
        ue.setLocation((screenSize.width - frameSize.width) / 2,
                       (screenSize.height - frameSize.height) / 2);
        ue.setVisible(true);
    }

    public void itmSrchPatientInfo_actionPerformed(ActionEvent e) {
         SrchPatientInfo sp=new SrchPatientInfo();
         this.getContentPane().removeAll();
         c.add(jToolBar, BorderLayout.NORTH);
         this.getContentPane().add(sp, BorderLayout.CENTER);
         c.add(pnlStatus, BorderLayout.SOUTH);
         this.setVisible(true);
     }

     public void itmSrchReckoningInfo_actionPerformed(ActionEvent e) {
         SrchReckoningInfo sr = new SrchReckoningInfo();
         this.getContentPane().removeAll();
         c.add(jToolBar, BorderLayout.NORTH);
         this.getContentPane().add(sr, BorderLayout.CENTER);
         c.add(pnlStatus, BorderLayout.SOUTH);
         this.setVisible(true);
     }

    public void itmModifyPWD_actionPerformed(ActionEvent e){
        ModifyPWD mp=new ModifyPWD();
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension frameSize = mp.getPreferredSize();
        if (frameSize.height > screenSize.height) {
           frameSize.height = screenSize.height;
        }
        if (frameSize.width > screenSize.width) {
           frameSize.width = screenSize.width;
        }
        mp.setLocation((screenSize.width - frameSize.width) / 2,(screenSize.height - frameSize.height) / 2);
        mp.setModal(true);
        mp.setVisible(true);
    }
}


class MainFrame_itmHelp_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmHelp_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmHelp_actionPerformed(e);
    }
}


class MainFrame_itmAboutUs_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmAboutUs_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmAboutUs_actionPerformed(e);
    }
}


class MainFrame_itmSrchPatientInfo_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmSrchPatientInfo_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmSrchPatientInfo_actionPerformed(e);
    }
}


class MainFrame_itmSrchReckoningInfo_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmSrchReckoningInfo_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmSrchReckoningInfo_actionPerformed(e);
    }
}


class MainFrame_itmSrchLeechdomInfo_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmSrchLeechdomInfo_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmSrchLeechdomInfo_actionPerformed(e);
    }
}


class MainFrame_itmSrchDoctorInfo_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmSrchDoctorInfo_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmSrchDoctorInfo_actionPerformed(e);
    }
}


class MainFrame_itmSrchManagerInfo_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmSrchManagerInfo_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmSrchManagerInfo_actionPerformed(e);
    }
}


class MainFrame_itmMngReckoning_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmMngReckoning_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmMngReckoning_actionPerformed(e);
    }
}


class MainFrame_itmMngPatient_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmMngPatient_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmMngPatient_actionPerformed(e);
    }
}


class MainFrame_itmModifyPWD_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmModifyPWD_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmModifyPWD_actionPerformed(e);
    }
}


class MainFrame_itmMngLeechdom_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmMngLeechdom_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmMngLeechdom_actionPerformed(e);
    }
}


class MainFrame_itmMngDoctor_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmMngDoctor_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmMngDoctor_actionPerformed(e);
    }
}


class MainFrame_itmMngManager_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmMngManager_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmMngManager_actionPerformed(e);
    }
}


class MainFrame_itmRelogin_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmRelogin_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmRelogin_actionPerformed(e);
    }
}


class MainFrame_itmExit_actionAdapter implements ActionListener {
    private MainFrame adaptee;
    MainFrame_itmExit_actionAdapter(MainFrame adaptee) {
        this.adaptee = adaptee;
    }

    public void actionPerformed(ActionEvent e) {
        adaptee.itmExit_actionPerformed(e);
    }
}

⌨️ 快捷键说明

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