def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = ttk.Label(self, text="Band Assignment", font=LARGE_FONT) label.pack(pady=10, padx=10) Label1 = ttk.Label( self, text= "To allocate band for a camper click on the Band Assginment button", font=MEDIUM_FONT) Label1.pack(pady=60, padx=60) BandAssignmentbutton = ttk.Button( self, text="Band Assignment", command=lambda: execfile("BandAssignment.py", {})) BandAssignmentbutton.pack(pady=10, padx=10) button1 = ttk.Button(self, text="Back to Home", command=lambda: controller.show_frame(HomePage)) button1.pack(pady=10, padx=10) button2 = ttk.Button(self, text="Go to Dorm Assignment", command=lambda: execfile("DormAssignment.py", {})) button2.pack(pady=10, padx=10)
def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = ttk.Label(self, text="Check-In Page", font=LARGE_FONT) label.pack(pady=10, padx=10) Label1 = ttk.Label( self, text= "To commence with Check-In of a camper click on the Check-In button", font=MEDIUM_FONT) Label1.pack(pady=60, padx=60) CheckInbutton = ttk.Button( self, text="Check-In", command=lambda: execfile("CheckInPage.py", {})) CheckInbutton.pack(pady=10, padx=10) button1 = ttk.Button(self, text="Back to Home", command=lambda: controller.show_frame(HomePage)) button1.pack(pady=10, padx=10) button2 = ttk.Button(self, text="Go to Band Assignment", command=lambda: execfile("BandAssignment.py", {})) button2.pack(pady=10, padx=10)
def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = ttk.Label(self, text="Registration Page", font=LARGE_FONT) label.pack(pady=10, padx=10) #self.create_widgets() Label1 = ttk.Label( self, text="To register the student click on the Register button", font=MEDIUM_FONT) Label1.pack(pady=60, padx=60) registerbutton = ttk.Button( self, text="Register", command=lambda: execfile("Registration.py", {})) registerbutton.pack(pady=10, padx=10) button1 = ttk.Button(self, text="Back to Home", command=lambda: controller.show_frame(HomePage)) button1.pack(pady=10, padx=10) button2 = ttk.Button(self, text="Go to Notification Page", command=lambda: execfile('Notification.py', {})) button2.pack(pady=10, padx=10)
def __init__(self, parent, controller): tk.Frame.__init__(self, parent) label = ttk.Label(self, text="Notification Page", font=LARGE_FONT) label.pack(pady=10, padx=10) Label1 = ttk.Label( self, text= "To send notification to the student click on the Notification button", font=MEDIUM_FONT) Label1.pack(pady=60, padx=60) notifybutton = ttk.Button( self, text="Notify", command=lambda: execfile("Notification.py", {})) notifybutton.pack(pady=10, padx=10) button1 = ttk.Button(self, text="Back to Home", command=lambda: controller.show_frame(HomePage)) button1.pack(pady=10, padx=10) button2 = ttk.Button(self, text="Go to Check In Page", command=lambda: execfile("CheckInPage.py", {})) button2.pack(pady=10, padx=10)
def create_widgets(self): self.instruction = Label(self, text="Application ID") self.instruction.grid(row=0, column=0) self.entry = Entry(self) self.entry.grid(row=0, column=1) self.b2 = Button(self, text="Edit Member Information", command=lambda: execfile("Registration.py",{})) self.b2.grid(row=2, column=0) self.b2 = Button(self, text="Delete Previous data", command=lambda: execfile("Delete.py",{})) self.b2.grid(row=2, column=1)