private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
        // TODO add your handling code here:
        lblHint.setVisible(false);
        lblPHint.setVisible(false);
        ShowInfo();
        tbxPDoctorID.setText(ThisUser.UserID);
        btnPCreate.setEnabled(true);
        btnPUpdate.setEnabled(false);
        btnPDelete.setEnabled(false);
        
        tbxNDoctorID.setText(ThisUser.UserID);
        btnTUpdate.setEnabled(false);
        btnTDelete.setEnabled(false);
        
        btnTSearch.getRootPane().setDefaultButton(btnTSearch);
        btnPSearch.getRootPane().setDefaultButton(btnPSearch);
        btnUSearch.getRootPane().setDefaultButton(btnUSearch);
        
        tbxError.setBackground(this.getBackground());
        
        tbxReport.setLineWrap(true);
        tbxReport.setWrapStyleWord(true);
        tbxResult.setLineWrap(true);
        tbxResult.setWrapStyleWord(true);

        RenderRR(new Test());
        ShowUInfo(new User());
        AccessControl();
    }