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