Exemplo n.º 1
0
    def OnTombol_lanjutkanButton(self, event):
        oneng = 'andri'
        user_password = self.textCtrl1.GetValue()
        if user_password == oneng:

            self.main = input_administrasi_surat.create(None)
            self.main.Show()
            self.Close()

        else:
            self.Close()
            self.main = peringatan.create(None)
            self.main.Show()
Exemplo n.º 2
0
 def OnTombol_lanjutkanButton(self, event):
     user_password=str(self.input_password.GetValue())
     db = connect()
     cursor = db.cursor()
     isinya = "SELECT * FROM password WHERE nama='admin'"
     cursor.execute(isinya)
     kunci = cursor.fetchone()[1]
     if kunci == user_password :
         
         self.main=input_administrasi_surat.create(None)
         self.main.Show()
         self.Close()
      
    
     else:
         self.Close()
         self.main=peringatan.create(None)
         self.main.Show()
Exemplo n.º 3
0
 def OnTombol_surat_masukButton(self, event):
     self.main = input_administrasi_surat.create(None)
     self.main.Show()
Exemplo n.º 4
0
    def OnButton3Button(self, event):

        self.main = input_administrasi_surat.create(None)
        self.main.Show()
        self.Close()
 def OnButton3Button(self, event):
     
     
         self.main=input_administrasi_surat.create(None)
         self.main.Show()
         self.Close()
Exemplo n.º 6
0
 def OnTombol_ke_menu_suratButton(self, event):
     self.main=input_administrasi_surat.create(None)
     self.main.Show()
     self.Close()
Exemplo n.º 7
0
 def OnTombol_ke_menu_suratButton(self, event):
     self.main=input_administrasi_surat.create(None)
     self.main.Show()
     self.Close()
Exemplo n.º 8
0
 def OnTombol_surat_masukButton(self, event):
     self.main=input_administrasi_surat.create(None)
     self.main.Show()