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()
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()
def OnTombol_surat_masukButton(self, event): self.main = input_administrasi_surat.create(None) self.main.Show()
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()
def OnTombol_ke_menu_suratButton(self, event): self.main=input_administrasi_surat.create(None) self.main.Show() self.Close()
def OnTombol_surat_masukButton(self, event): self.main=input_administrasi_surat.create(None) self.main.Show()