public PIA() {
        MainFrame frame = new MainFrame();//
        //Ż
        if (packFrame) {
            frame.pack();
        }
        else {
            frame.validate();
        }

        new loginDialog(frame);   //򿪵½򣬳ʼûadminʼ룺pass
        DB.open();      //ݿ

    }