def returnBook( self, event ): S = student(self.db) S.window = self.window S.returnBook(self.inputBookNo.GetValue(), self.inputStudentId.GetValue()) self.Destroy()
def deleteStudent( self, event ): S = student(self.db) S.window = self.window S.deleteStudent(self.inputStdId.GetValue()) self.Destroy()
def modifyStudent(self, event): S = student(self.db) S.window = self.window S.modifyStudent(self.inputStdId.GetValue(), self.inputStdName.GetValue()) self.Destroy()
def truncateStudent( self, event ): S = student(self.db) self.SetStatusText("Student Records Resetted Succesfully", 1) S.truncateStudent()