def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = MyWindow_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 580, 393) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=580, height=393) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root NoteBook_2 = tkinter.ttk.Notebook(root) Fun.Register(uiName, 'NoteBook_2', NoteBook_2) NoteBook_2.place(x=6, y=2, width=571, height=383) PageFrame_1 = tkinter.ttk.Frame(NoteBook_2) PageFrame_1.place(x=11, y=27, width=561, height=353) MergeNew.MergeNew(PageFrame_1, False) NoteBook_2.add(PageFrame_1, text="合并(Merge") PageFrame_2 = tkinter.ttk.Frame(NoteBook_2) PageFrame_2.place(x=11, y=27, width=561, height=353) DealPdf1.DealPdf1(PageFrame_2, False) NoteBook_2.add(PageFrame_2, text="拆分(split") #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root Fun.Register(uiName, 'root', root) style = Embedding_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 629, 510) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=629, height=510) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Frame_2 = tkinter.Frame(root) Fun.Register(uiName, 'Frame_2', Frame_2) Frame_2.place(x=9, y=12, width=609, height=160) Frame_2.configure(bg="#ffffff") Frame_2.configure(relief="flat") Page1.Page1(Frame_2, False) NoteBook_3 = tkinter.ttk.Notebook(root) Fun.Register(uiName, 'NoteBook_3', NoteBook_3) NoteBook_3.place(x=10, y=188, width=606, height=312) PageFrame_1 = tkinter.ttk.Frame(NoteBook_3) PageFrame_1.place(x=15, y=213, width=596, height=282) TabPage1.TabPage1(PageFrame_1, False) NoteBook_3.add(PageFrame_1, text="TabPage1") PageFrame_2 = tkinter.ttk.Frame(NoteBook_3) PageFrame_2.place(x=15, y=213, width=596, height=282) TabPage2.TabPage2(PageFrame_2, False) NoteBook_3.add(PageFrame_2, text="TabPage2") #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root Fun.Register(uiName, 'root', root) style = Project1_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 640, 480) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=640, height=480) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = CallTest_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 500, 400) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=500, height=400) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Button_2 = tkinter.Button(root, text="调用注册", width=10, height=4) Fun.Register(uiName, 'Button_2', Button_2) Button_2.place(x=190, y=139, width=100, height=28) Button_2.configure(command=lambda: CallTest_cmd.Button_2_onCommand( uiName, "Button_2")) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = DealPdf1_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 563, 375) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=563, height=375) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Button_3 = tkinter.Button(root, text="选择文件:", width=10, height=4) Fun.Register(uiName, 'Button_3', Button_3) Button_3.place(x=16, y=14, width=105, height=38) Button_3.configure(command=lambda: DealPdf1_cmd.Button_3_onCommand( uiName, "Button_3")) Button_3_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_3.configure(font=Button_3_Ft) Entry_4_Variable = Fun.AddTKVariable(uiName, 'Entry_4', '') Entry_4 = tkinter.Entry(root, textvariable=Entry_4_Variable) Fun.Register(uiName, 'Entry_4', Entry_4) Entry_4.place(x=124, y=14, width=426, height=38) Entry_4.configure(relief="sunken") Label_5 = tkinter.Label(root, text="总页数", width=10, height=4) Fun.Register(uiName, 'Label_5', Label_5) Label_5.place(x=17, y=61, width=100, height=30) Label_5.configure(relief="flat") Label_5_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_5.configure(font=Label_5_Ft) Entry_6_Variable = Fun.AddTKVariable(uiName, 'Entry_6', '') Entry_6 = tkinter.Entry(root, textvariable=Entry_6_Variable) Fun.Register(uiName, 'Entry_6', Entry_6) Entry_6.place(x=125, y=56, width=120, height=35) Entry_6.configure(relief="sunken") Entry_6.configure(state="disabled") Label_7 = tkinter.Label(root, text="拆分格式如下,请按照格式填写!将按照输入的页数分隔文件!", width=10, height=4) Fun.Register(uiName, 'Label_7', Label_7) Label_7.place(x=19, y=103, width=481, height=31) Label_7.configure(relief="flat") Label_7_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_7.configure(font=Label_7_Ft) Entry_8_Variable = Fun.AddTKVariable(uiName, 'Entry_8', '') Entry_8 = tkinter.Entry(root, textvariable=Entry_8_Variable) Fun.Register(uiName, 'Entry_8', Entry_8) Entry_8.place(x=16, y=141, width=366, height=38) Entry_8.configure(relief="sunken") Button_12 = tkinter.Button(root, text="拆分", width=10, height=4) Fun.Register(uiName, 'Button_12', Button_12) Button_12.place(x=386, y=141, width=163, height=38) Button_12.configure(command=lambda: DealPdf1_cmd.Button_12_onCommand( uiName, "Button_12")) Button_12_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_12.configure(font=Button_12_Ft) ListBox_13 = tkinter.Listbox(root) Fun.Register(uiName, 'ListBox_13', ListBox_13) ListBox_13.place(x=15, y=233, width=530, height=120) Label_14 = tkinter.Label(root, text="拆分进度:", width=10, height=4) Fun.Register(uiName, 'Label_14', Label_14) Label_14.place(x=16, y=203, width=85, height=28) Label_14.configure(relief="flat") Label_14_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_14.configure(font=Label_14_Ft) #Inital all element's Data Fun.InitElementData(uiName) #Call Form_1's OnLoad Function DealPdf1_cmd.Form_1_onLoad(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = Chat_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 688, 384) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=688, height=384) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Label_2 = tkinter.Label(root, text="ip", width=10, height=4) Fun.Register(uiName, 'Label_2', Label_2) Label_2.place(x=14, y=23, width=27, height=23) Label_2.configure(relief="flat") Label_2_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_2.configure(font=Label_2_Ft) Entry_3_Variable = Fun.AddTKVariable(uiName, 'Entry_3', '') Entry_3 = tkinter.Entry(root, textvariable=Entry_3_Variable) Fun.Register(uiName, 'Entry_3', Entry_3) Entry_3.place(x=45, y=16, width=160, height=33) Entry_3.configure(relief="sunken") Entry_3.configure(state="disabled") Label_4 = tkinter.Label(root, text="端口", width=10, height=4) Fun.Register(uiName, 'Label_4', Label_4) Label_4.place(x=211, y=25, width=45, height=23) Label_4.configure(relief="flat") Label_4_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_4.configure(font=Label_4_Ft) Entry_5_Variable = Fun.AddTKVariable(uiName, 'Entry_5', '') Entry_5 = tkinter.Entry(root, textvariable=Entry_5_Variable) Fun.Register(uiName, 'Entry_5', Entry_5) Entry_5.place(x=269, y=17, width=160, height=33) Entry_5.configure(relief="sunken") Button_6 = tkinter.Button(root, text="启动服务器", width=10, height=4) Fun.Register(uiName, 'Button_6', Button_6) Button_6.place(x=435, y=15, width=120, height=37) Button_6.configure( command=lambda: Chat_cmd.Button_6_onCommand(uiName, "Button_6")) Button_6_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_6.configure(font=Button_6_Ft) Button_7 = tkinter.Button(root, text="关闭服务器", width=10, height=4) Fun.Register(uiName, 'Button_7', Button_7) Button_7.place(x=558, y=15, width=120, height=37) Button_7.configure( command=lambda: Chat_cmd.Button_7_onCommand(uiName, "Button_7")) Button_7_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_7.configure(font=Button_7_Ft) ListBox_8 = tkinter.Listbox(root) Fun.Register(uiName, 'ListBox_8', ListBox_8) ListBox_8.place(x=11, y=55, width=666, height=127) ListBox_9 = tkinter.Listbox(root) Fun.Register(uiName, 'ListBox_9', ListBox_9) ListBox_9.place(x=11, y=226, width=666, height=106) Entry_10_Variable = Fun.AddTKVariable(uiName, 'Entry_10', '') Entry_10 = tkinter.Entry(root, textvariable=Entry_10_Variable) Fun.Register(uiName, 'Entry_10', Entry_10) Entry_10.place(x=11, y=337, width=492, height=39) Entry_10.configure(relief="sunken") Button_11 = tkinter.Button(root, text="连接服务器", width=10, height=4) Fun.Register(uiName, 'Button_11', Button_11) Button_11.place(x=280, y=188, width=120, height=37) Button_11.configure( command=lambda: Chat_cmd.Button_11_onCommand(uiName, "Button_11")) Button_11_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_11.configure(font=Button_11_Ft) Label_12 = tkinter.Label(root, text="客户端:[服务器端口同上]", width=10, height=4) Fun.Register(uiName, 'Label_12', Label_12) Label_12.place(x=9, y=193, width=249, height=31) Label_12.configure(relief="flat") Label_12_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_12.configure(font=Label_12_Ft) Button_13 = tkinter.Button(root, text="发送消息", width=10, height=4) Fun.Register(uiName, 'Button_13', Button_13) Button_13.place(x=504, y=336, width=173, height=39) Button_13.configure( command=lambda: Chat_cmd.Button_13_onCommand(uiName, "Button_13")) Button_13_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_13.configure(font=Button_13_Ft) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.G_UIElementArray[uiName] = {} Fun.G_UIElementUserDataArray[uiName] = {} Fun.Register(uiName, 'UIClass', self) self.root = root style = Merge_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(None, root, 563, 375) Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=563, height=375) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Button_3 = tkinter.Button(root, text="选择文件1", width=10, height=4) Button_3.place(x=20, y=39, width=153, height=46) Button_3.configure( command=lambda: Merge_cmd.Button_3_onCommand(uiName, "Button_3")) Button_3_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_3.configure(font=Button_3_Ft) Fun.Register(uiName, 'Button_3', Button_3) Entry_4_Variable = Fun.AddTKVariable(uiName, 'Entry_4', '') Entry_4 = tkinter.Entry(root, textvariable=Entry_4_Variable) Entry_4.place(x=174, y=43, width=364, height=42) Entry_4.configure(relief="sunken") Fun.Register(uiName, 'Entry_4', Entry_4) Button_5 = tkinter.Button(root, text="选择文件2", width=10, height=4) Button_5.place(x=20, y=88, width=153, height=44) Button_5.configure( command=lambda: Merge_cmd.Button_5_onCommand(uiName, "Button_5")) Button_5_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_5.configure(font=Button_5_Ft) Fun.Register(uiName, 'Button_5', Button_5) Entry_6_Variable = Fun.AddTKVariable(uiName, 'Entry_6', '') Entry_6 = tkinter.Entry(root, textvariable=Entry_6_Variable) Entry_6.place(x=174, y=90, width=363, height=41) Entry_6.configure(relief="sunken") Fun.Register(uiName, 'Entry_6', Entry_6) Button_7 = tkinter.Button(root, text="合并以上两个文件", width=10, height=4) Button_7.place(x=171, y=151, width=230, height=46) Button_7.configure( command=lambda: Merge_cmd.Button_7_onCommand(uiName, "Button_7")) Button_7_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_7.configure(font=Button_7_Ft) Fun.Register(uiName, 'Button_7', Button_7) Label_8 = tkinter.Label(root, text="选择文件合并:", width=10, height=4) Label_8.place(x=20, y=7, width=181, height=30) Label_8.configure(relief="flat") Label_8_Ft = tkinter.font.Font(family='System', size=20, weight='bold', slant='roman', underline=0, overstrike=0) Label_8.configure(font=Label_8_Ft) Fun.Register(uiName, 'Label_8', Label_8) Label_9 = tkinter.Label(root, text="按照文件夹合并", width=10, height=4) Label_9.place(x=20, y=213, width=195, height=40) Label_9.configure(relief="flat") Label_9_Ft = tkinter.font.Font(family='System', size=20, weight='bold', slant='roman', underline=0, overstrike=0) Label_9.configure(font=Label_9_Ft) Fun.Register(uiName, 'Label_9', Label_9) Button_10 = tkinter.Button(root, text="选择文件夹:", width=10, height=4) Button_10.place(x=19, y=253, width=153, height=46) Button_10.configure( command=lambda: Merge_cmd.Button_10_onCommand(uiName, "Button_10")) Button_10_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_10.configure(font=Button_10_Ft) Fun.Register(uiName, 'Button_10', Button_10) Entry_11_Variable = Fun.AddTKVariable(uiName, 'Entry_11', '') Entry_11 = tkinter.Entry(root, textvariable=Entry_11_Variable) Entry_11.place(x=174, y=255, width=364, height=42) Entry_11.configure(relief="sunken") Fun.Register(uiName, 'Entry_11', Entry_11) Button_12 = tkinter.Button(root, text="合并文件夹内所有文件", width=10, height=4) Button_12.place(x=168, y=312, width=234, height=48) Button_12.configure( command=lambda: Merge_cmd.Button_12_onCommand(uiName, "Button_12")) Button_12_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_12.configure(font=Button_12_Ft) Fun.Register(uiName, 'Button_12', Button_12) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = JSQ_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 222, 237) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=222, height=237) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Label_2 = tkinter.Label(root, text="", width=10, height=4) Fun.Register(uiName, 'Label_2', Label_2) Label_2.place(x=12, y=13, width=190, height=30) Label_2.configure(bg="#808080") Label_2.configure(fg="#ffffff") Label_2.configure(relief="flat") Fun.AddUserData(uiName, 'Label_2', 'Count', 'float', 0.0, 1) Fun.AddUserData(uiName, 'Label_2', 'MidCount', 'float', 0.0, 0) Fun.AddUserData(uiName, 'Label_2', 'OpType', 'int', 0, 0) Button_3 = tkinter.Button(root, text="1", width=10, height=4) Fun.Register(uiName, 'Button_3', Button_3) Button_3.place(x=10, y=50, width=40, height=30) Button_3.configure(relief="groove") Button_3.configure( command=lambda: JSQ_cmd.Button_3_onCommand(uiName, "Button_3")) Button_4 = tkinter.Button(root, text="2", width=10, height=4) Fun.Register(uiName, 'Button_4', Button_4) Button_4.place(x=60, y=50, width=40, height=30) Button_4.configure(relief="groove") Button_4.configure( command=lambda: JSQ_cmd.Button_4_onCommand(uiName, "Button_4")) Button_5 = tkinter.Button(root, text="3", width=10, height=4) Fun.Register(uiName, 'Button_5', Button_5) Button_5.place(x=110, y=50, width=40, height=30) Button_5.configure(relief="groove") Button_5.configure( command=lambda: JSQ_cmd.Button_5_onCommand(uiName, "Button_5")) Button_6 = tkinter.Button(root, text="4", width=10, height=4) Fun.Register(uiName, 'Button_6', Button_6) Button_6.place(x=10, y=90, width=40, height=30) Button_6.configure(relief="groove") Button_6.configure( command=lambda: JSQ_cmd.Button_6_onCommand(uiName, "Button_6")) Button_7 = tkinter.Button(root, text="5", width=10, height=4) Fun.Register(uiName, 'Button_7', Button_7) Button_7.place(x=60, y=90, width=40, height=30) Button_7.configure(relief="groove") Button_7.configure( command=lambda: JSQ_cmd.Button_7_onCommand(uiName, "Button_7")) Button_8 = tkinter.Button(root, text="6", width=10, height=4) Fun.Register(uiName, 'Button_8', Button_8) Button_8.place(x=110, y=90, width=40, height=30) Button_8.configure(relief="groove") Button_8.configure( command=lambda: JSQ_cmd.Button_8_onCommand(uiName, "Button_8")) Button_9 = tkinter.Button(root, text="7", width=10, height=4) Fun.Register(uiName, 'Button_9', Button_9) Button_9.place(x=10, y=130, width=40, height=30) Button_9.configure(relief="groove") Button_9.configure( command=lambda: JSQ_cmd.Button_9_onCommand(uiName, "Button_9")) Button_10 = tkinter.Button(root, text="8", width=10, height=4) Fun.Register(uiName, 'Button_10', Button_10) Button_10.place(x=60, y=130, width=40, height=30) Button_10.configure(relief="groove") Button_10.configure( command=lambda: JSQ_cmd.Button_10_onCommand(uiName, "Button_10")) Button_11 = tkinter.Button(root, text="9", width=10, height=4) Fun.Register(uiName, 'Button_11', Button_11) Button_11.place(x=110, y=130, width=40, height=30) Button_11.configure(relief="groove") Button_11.configure( command=lambda: JSQ_cmd.Button_11_onCommand(uiName, "Button_11")) Button_12 = tkinter.Button(root, text="0", width=10, height=4) Fun.Register(uiName, 'Button_12', Button_12) Button_12.place(x=10, y=170, width=40, height=30) Button_12.configure(relief="groove") Button_12.configure( command=lambda: JSQ_cmd.Button_12_onCommand(uiName, "Button_12")) Button_13 = tkinter.Button(root, text="C", width=10, height=4) Fun.Register(uiName, 'Button_13', Button_13) Button_13.place(x=60, y=170, width=40, height=30) Button_13.configure(relief="groove") Button_13.configure( command=lambda: JSQ_cmd.Button_13_onCommand(uiName, "Button_13")) Button_14 = tkinter.Button(root, text="=", width=10, height=4) Fun.Register(uiName, 'Button_14', Button_14) Button_14.place(x=110, y=169, width=40, height=30) Button_14.configure(relief="groove") Button_14.configure( command=lambda: JSQ_cmd.Button_14_onCommand(uiName, "Button_14")) Button_15 = tkinter.Button(root, text="+", width=10, height=4) Fun.Register(uiName, 'Button_15', Button_15) Button_15.place(x=160, y=50, width=40, height=30) Button_15.configure(relief="groove") Button_15.configure( command=lambda: JSQ_cmd.Button_15_onCommand(uiName, "Button_15")) Button_16 = tkinter.Button(root, text="-", width=10, height=4) Fun.Register(uiName, 'Button_16', Button_16) Button_16.place(x=160, y=90, width=40, height=30) Button_16.configure(relief="groove") Button_16.configure( command=lambda: JSQ_cmd.Button_16_onCommand(uiName, "Button_16")) Button_17 = tkinter.Button(root, text="X", width=10, height=4) Fun.Register(uiName, 'Button_17', Button_17) Button_17.place(x=160, y=130, width=40, height=30) Button_17.configure(relief="groove") Button_17.configure( command=lambda: JSQ_cmd.Button_17_onCommand(uiName, "Button_17")) Button_18 = tkinter.Button(root, text="/", width=10, height=4) Fun.Register(uiName, 'Button_18', Button_18) Button_18.place(x=160, y=170, width=40, height=30) Button_18.configure(relief="groove") Button_18.configure( command=lambda: JSQ_cmd.Button_18_onCommand(uiName, "Button_18")) #Create the Menu of root MainMenu = tkinter.Menu(root) root.config(menu=MainMenu) A = tkinter.Menu(MainMenu, tearoff=0) A1 = tkinter.Menu(A, tearoff=0) A1.add_command(label="A11", command=lambda: JSQ_cmd.Menu_A11(uiName, "A11")) A.add_cascade(label="A1", menu=A1) MainMenu.add_cascade(label="A", menu=A) B = tkinter.Menu(MainMenu, tearoff=0) B.add_command(label="B3", command=lambda: JSQ_cmd.Menu_B3(uiName, "B3")) B.add_command(label="B2", command=lambda: JSQ_cmd.Menu_B2(uiName, "B2")) MainMenu.add_cascade(label="B", menu=B) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = GirlImages_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 820, 660) root['background'] = '#efefef' root.bind('<Configure>', self.Configure) Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=820, height=660) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Label_2 = tkinter.Label(root, text="网址", width=10, height=4) Fun.Register(uiName, 'Label_2', Label_2) Label_2.place(x=10, y=2, width=50, height=24) Label_2.configure(relief="flat") Entry_3_Variable = Fun.AddTKVariable(uiName, 'Entry_3', '') Entry_3 = tkinter.Entry(root, textvariable=Entry_3_Variable) Fun.Register(uiName, 'Entry_3', Entry_3) Entry_3.place(x=60, y=2, width=500, height=24) Entry_3.configure(relief="sunken") Label_4 = tkinter.Label(root, text="最大数量", width=10, height=4) Fun.Register(uiName, 'Label_4', Label_4) Label_4.place(x=560, y=2, width=60, height=24) Label_4.configure(relief="flat") Entry_5_Variable = Fun.AddTKVariable(uiName, 'Entry_5', '') Entry_5 = tkinter.Entry(root, textvariable=Entry_5_Variable) Fun.Register(uiName, 'Entry_5', Entry_5) Entry_5.place(x=620, y=2, width=70, height=24) Entry_5.configure(relief="sunken") Button_6 = tkinter.Button(root, text="开始", width=10, height=4) Fun.Register(uiName, 'Button_6', Button_6) Button_6.place(x=710, y=2, width=50, height=24) Button_6.configure(command=lambda: GirlImages_cmd.Button_6_onCommand( uiName, "Button_6")) Button_7 = tkinter.Button(root, text="停止", width=10, height=4) Fun.Register(uiName, 'Button_7', Button_7) Button_7.place(x=770, y=2, width=50, height=24) Button_7.configure(command=lambda: GirlImages_cmd.Button_7_onCommand( uiName, "Button_7")) PanedWindow_8 = tkinter.PanedWindow(root) Fun.Register(uiName, 'PanedWindow_8', PanedWindow_8) PanedWindow_8.place(x=0, y=30, width=871, height=610) PanedWindow_8.configure(orient=tkinter.HORIZONTAL) PanedWindow_8.configure(showhandle="0") PanedWindow_8.configure(sashrelief="flat") PanedWindow_8.configure(sashwidth="4") PanedWindow_8_child1 = tkinter.Canvas(PanedWindow_8, bg="#FFDD94", name="child1") PanedWindow_8_child1.place(x=1, y=1, width=261, height=608) LeftTreeBar.LeftTreeBar(PanedWindow_8_child1, False) PanedWindow_8.add(PanedWindow_8_child1, width=261) PanedWindow_8_child2 = tkinter.Canvas(PanedWindow_8, bg="#D0E6A5", name="child2") Fun.Register(uiName, 'PanedWindow_8_child1', PanedWindow_8_child1) Fun.Register(uiName, 'PanedWindow_8_child2', PanedWindow_8_child2) PanedWindow_8_child2.place(x=266, y=1, width=604, height=608) RightTextBar.RightTextBar(PanedWindow_8_child2, False) PanedWindow_8.add(PanedWindow_8_child2, width=604) Fun.Register(uiName, 'PanedWindow_8_child1', PanedWindow_8_child1) Fun.Register(uiName, 'PanedWindow_8_child2', PanedWindow_8_child2) Label_9 = tkinter.Label(root, text="Label", width=10, height=4) Fun.Register(uiName, 'Label_9', Label_9) Label_9.place(x=0, y=640, width=820, height=20) Label_9.configure(relief="flat") #Inital all element's Data Fun.InitElementData(uiName) #Call Form_1's OnLoad Function GirlImages_cmd.Form_1_onLoad(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = Express_Query_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 432, 283) root['background'] = '#efefef' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=432, height=283) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Label_2 = tkinter.Label(root, text="快递公司", width=10, height=4) Fun.Register(uiName, 'Label_2', Label_2) Label_2.place(x=11, y=15, width=75, height=20) Label_2.configure(relief="flat") ComboBox_3_Variable = Fun.AddTKVariable(uiName, 'ComboBox_3') ComboBox_3 = tkinter.ttk.Combobox(root, textvariable=ComboBox_3_Variable, state="readonly") Fun.Register(uiName, 'ComboBox_3', ComboBox_3) ComboBox_3.place(x=107, y=15, width=173, height=20) ComboBox_3.configure(state="readonly") Label_4 = tkinter.Label(root, text="快递单号", width=10, height=4) Fun.Register(uiName, 'Label_4', Label_4) Label_4.place(x=11, y=55, width=75, height=20) Label_4.configure(relief="flat") Entry_5_Variable = Fun.AddTKVariable(uiName, 'Entry_5', '') Entry_5 = tkinter.Entry(root, textvariable=Entry_5_Variable) Fun.Register(uiName, 'Entry_5', Entry_5) Entry_5.place(x=107, y=56, width=172, height=20) Entry_5.configure(relief="sunken") Button_6 = tkinter.Button(root, text="查询", width=10, height=4) Fun.Register(uiName, 'Button_6', Button_6) Button_6.place(x=297, y=53, width=100, height=28) Button_6.configure(command=lambda: Express_Query_cmd. Button_6_onCommand(uiName, "Button_6")) ListBox_7 = tkinter.Listbox(root) Fun.Register(uiName, 'ListBox_7', ListBox_7) ListBox_7.place(x=24, y=101, width=372, height=160) import Express Express_9 = Express.Express() #Express_9.xy(151,69) Express_9.set_CompanyID('4') Express_9.set_ExpressNumber('0000001') Express_9.set_ComboBox(ComboBox_3) Fun.Register(uiName, 'Express_9', Express_9) CheckButton_10_Variable = Fun.AddTKVariable(uiName, 'CheckButton_10') CheckButton_10_Variable.set(False) CheckButton_10 = tkinter.Checkbutton(root, variable=CheckButton_10_Variable, text="多线程查询", anchor=tkinter.W) Fun.Register(uiName, 'CheckButton_10', CheckButton_10) CheckButton_10.place(x=302, y=20, width=100, height=20) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self,root,isTKroot = True): uiName = self.__class__.__name__ Fun.Register(uiName,'UIClass',self) self.root = root style = MergeNew_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName,root,563,375) root['background'] = '#efefef' Form_1= tkinter.Canvas(root,width = 10,height = 4) Form_1.place(x = 0,y = 0,width = 563,height = 375) Form_1.configure(bg = "#efefef") Form_1.configure(highlightthickness = 0) Fun.Register(uiName,'root',root) Fun.Register(uiName,'Form_1',Form_1) #Create the elements of root Button_2= tkinter.Button(root,text="打开文件夹",width = 10,height = 4) Fun.Register(uiName,'Button_2',Button_2) Button_2.place(x = 16,y = 15,width = 109,height = 35) Button_2.configure(command=lambda:MergeNew_cmd.Button_2_onCommand(uiName,"Button_2")) Button_2_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Button_2.configure(font = Button_2_Ft) ListBox_3= tkinter.Listbox(root) Fun.Register(uiName,'ListBox_3',ListBox_3) ListBox_3.place(x = 16,y = 57,width = 210,height = 215) Button_4= tkinter.Button(root,text=">",width = 10,height = 4) Fun.Register(uiName,'Button_4',Button_4) Button_4.place(x = 241,y = 86,width = 80,height = 28) Button_4.configure(command=lambda:MergeNew_cmd.Button_4_onCommand(uiName,"Button_4")) Button_4_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Button_4.configure(font = Button_4_Ft) Button_5= tkinter.Button(root,text=">>",width = 10,height = 4) Fun.Register(uiName,'Button_5',Button_5) Button_5.place(x = 241,y = 132,width = 80,height = 28) Button_5.configure(command=lambda:MergeNew_cmd.Button_5_onCommand(uiName,"Button_5")) Button_5_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Button_5.configure(font = Button_5_Ft) Button_6= tkinter.Button(root,text="<",width = 10,height = 4) Fun.Register(uiName,'Button_6',Button_6) Button_6.place(x = 241,y = 178,width = 80,height = 28) Button_6.configure(command=lambda:MergeNew_cmd.Button_6_onCommand(uiName,"Button_6")) Button_6_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Button_6.configure(font = Button_6_Ft) Button_7= tkinter.Button(root,text="<<",width = 10,height = 4) Fun.Register(uiName,'Button_7',Button_7) Button_7.place(x = 241,y = 222,width = 80,height = 28) Button_7.configure(command=lambda:MergeNew_cmd.Button_7_onCommand(uiName,"Button_7")) Button_7_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Button_7.configure(font = Button_7_Ft) ListBox_8= tkinter.Listbox(root) Fun.Register(uiName,'ListBox_8',ListBox_8) ListBox_8.place(x = 337,y = 59,width = 210,height = 215) Entry_9_Variable = Fun.AddTKVariable(uiName,'Entry_9','') Entry_9= tkinter.Entry(root,textvariable=Entry_9_Variable) Fun.Register(uiName,'Entry_9',Entry_9) Entry_9.place(x = 134,y = 293,width = 199,height = 34) Entry_9.configure(relief = "sunken") Label_10= tkinter.Label(root,text="合并后文件名",width = 10,height = 4) Fun.Register(uiName,'Label_10',Label_10) Label_10.place(x = 15,y = 298,width = 111,height = 24) Label_10.configure(relief = "flat") Label_10_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Label_10.configure(font = Label_10_Ft) Button_11= tkinter.Button(root,text="合并",width = 10,height = 4) Fun.Register(uiName,'Button_11',Button_11) Button_11.place(x = 370,y = 292,width = 115,height = 36) Button_11.configure(command=lambda:MergeNew_cmd.Button_11_onCommand(uiName,"Button_11")) Button_11_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Button_11.configure(font = Button_11_Ft) Label_12= tkinter.Label(root,text="需要合并的文件列表",width = 10,height = 4) Fun.Register(uiName,'Label_12',Label_12) Label_12.place(x = 341,y = 22,width = 205,height = 34) Label_12.configure(relief = "flat") Label_12_Ft=tkinter.font.Font(family='System', size=12,weight='bold',slant='roman',underline=0,overstrike=0) Label_12.configure(font = Label_12_Ft) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = WebbrowserProject_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 1283, 793) root['background'] = '#efefef' root.bind('<Configure>', self.Configure) Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=1283, height=793) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Frame_2 = tkinter.Frame(root) Fun.Register(uiName, 'Frame_2', Frame_2) Frame_2.place(x=0, y=30, width=992, height=673) Frame_2.configure(bg="#888888") Frame_2.configure(relief="flat") Entry_3_Variable = Fun.AddTKVariable(uiName, 'Entry_3', '') Entry_3 = tkinter.Entry(root, textvariable=Entry_3_Variable) Fun.Register(uiName, 'Entry_3', Entry_3) Entry_3.place(x=155, y=7, width=710, height=20) Entry_3.configure(relief="sunken") Entry_3.bind( "<Button-1>", Fun.EventFunction_Adaptor(WebbrowserProject_cmd.Entry_3_onButton1, uiName=uiName, widgetName="Entry_3")) Button_4 = tkinter.Button(root, text="GO", width=10, height=4) Fun.Register(uiName, 'Button_4', Button_4) Button_4.place(x=888, y=3, width=100, height=24) Button_4.configure(command=lambda: WebbrowserProject_cmd. Button_4_onCommand(uiName, "Button_4")) import Webbrowser Webbrowser_5 = Webbrowser.Webbrowser() #Webbrowser_5.xy(24,46) Webbrowser_5.set_Frame(Frame_2) Webbrowser_5.set_URL('http://www.baidu.com') Fun.Register(uiName, 'Webbrowser_5', Webbrowser_5) Button_7 = tkinter.Button(root, text="Button", width=10, height=4) Fun.Register(uiName, 'Button_7', Button_7) Button_7.place(x=0, y=1, width=32, height=28) WebbrowserProject_cmd.ElementBGArray[7] = Image.open( "D:/github/TKinterDesigner/Examples/WebbrowserProject/back.png" ).convert('RGBA') WebbrowserProject_cmd.ElementBGArray_Resize[ 7] = WebbrowserProject_cmd.ElementBGArray[7].resize( (32, 28), Image.ANTIALIAS) WebbrowserProject_cmd.ElementBGArray_IM[7] = ImageTk.PhotoImage( WebbrowserProject_cmd.ElementBGArray_Resize[7]) Button_7.configure(image=WebbrowserProject_cmd.ElementBGArray_IM[7]) Button_7.configure(command=lambda: WebbrowserProject_cmd. Button_7_onCommand(uiName, "Button_7")) Button_8 = tkinter.Button(root, text="Button", width=10, height=4) Fun.Register(uiName, 'Button_8', Button_8) Button_8.place(x=35, y=1, width=32, height=28) WebbrowserProject_cmd.ElementBGArray[8] = Image.open( "D:/github/TKinterDesigner/Examples/WebbrowserProject/front.png" ).convert('RGBA') WebbrowserProject_cmd.ElementBGArray_Resize[ 8] = WebbrowserProject_cmd.ElementBGArray[8].resize( (32, 28), Image.ANTIALIAS) WebbrowserProject_cmd.ElementBGArray_IM[8] = ImageTk.PhotoImage( WebbrowserProject_cmd.ElementBGArray_Resize[8]) Button_8.configure(image=WebbrowserProject_cmd.ElementBGArray_IM[8]) Button_8.configure(command=lambda: WebbrowserProject_cmd. Button_8_onCommand(uiName, "Button_8")) Button_9 = tkinter.Button(root, text="Button", width=10, height=4) Fun.Register(uiName, 'Button_9', Button_9) Button_9.place(x=70, y=1, width=34, height=28) WebbrowserProject_cmd.ElementBGArray[9] = Image.open( "D:/github/TKinterDesigner/Examples/WebbrowserProject/refresh.png" ).convert('RGBA') WebbrowserProject_cmd.ElementBGArray_Resize[ 9] = WebbrowserProject_cmd.ElementBGArray[9].resize( (34, 28), Image.ANTIALIAS) WebbrowserProject_cmd.ElementBGArray_IM[9] = ImageTk.PhotoImage( WebbrowserProject_cmd.ElementBGArray_Resize[9]) Button_9.configure(image=WebbrowserProject_cmd.ElementBGArray_IM[9]) Button_9.configure(command=lambda: WebbrowserProject_cmd. Button_9_onCommand(uiName, "Button_9")) Button_10 = tkinter.Button(root, text="Button", width=10, height=4) Fun.Register(uiName, 'Button_10', Button_10) Button_10.place(x=107, y=1, width=36, height=28) WebbrowserProject_cmd.ElementBGArray[10] = Image.open( "D:/github/TKinterDesigner/Examples/WebbrowserProject/home.png" ).convert('RGBA') WebbrowserProject_cmd.ElementBGArray_Resize[ 10] = WebbrowserProject_cmd.ElementBGArray[10].resize( (36, 28), Image.ANTIALIAS) WebbrowserProject_cmd.ElementBGArray_IM[10] = ImageTk.PhotoImage( WebbrowserProject_cmd.ElementBGArray_Resize[10]) Button_10.configure(image=WebbrowserProject_cmd.ElementBGArray_IM[10]) Button_10.configure(command=lambda: WebbrowserProject_cmd. Button_10_onCommand(uiName, "Button_10")) #Inital all element's Data Fun.InitElementData(uiName) #Call Form_1's OnLoad Function WebbrowserProject_cmd.Form_1_onLoad(uiName)
def __init__(self, root, isTKroot=True): uiName = self.__class__.__name__ Fun.Register(uiName, 'UIClass', self) self.root = root style = DbList_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(uiName, root, 689, 378) root['background'] = '#e3e3e3' Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=689, height=378) Form_1.configure(bg="#e3e3e3") Form_1.configure(highlightthickness=0) Fun.Register(uiName, 'root', root) Fun.Register(uiName, 'Form_1', Form_1) #Create the elements of root Button_8 = tkinter.Button(root, text="添加", width=10, height=4) Fun.Register(uiName, 'Button_8', Button_8) Button_8.place(x=8, y=15, width=100, height=38) Button_8.configure(fg="#000000") Button_8.configure( command=lambda: DbList_cmd.Button_8_onCommand(uiName, "Button_8")) Button_8_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_8.configure(font=Button_8_Ft) Button_10 = tkinter.Button(root, text="删除", width=10, height=4) Fun.Register(uiName, 'Button_10', Button_10) Button_10.place(x=208, y=15, width=100, height=38) Button_10.configure(command=lambda: DbList_cmd.Button_10_onCommand( uiName, "Button_10")) Button_10_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_10.configure(font=Button_10_Ft) TreeView_12 = tkinter.ttk.Treeview(root, show="tree") Fun.Register(uiName, 'TreeView_12', TreeView_12) TreeView_12.place(x=5, y=62, width=682, height=314) TreeView_12.configure(show="headings") TreeView_12.configure(selectmode="extended") TreeView_12.configure(columns=["用户账号", "密码", "id"]) TreeView_12.column("用户账号", anchor="center", width=120) TreeView_12.heading("用户账号", text="用户账号") TreeView_12.column("密码", anchor="center", width=200) TreeView_12.heading("密码", text="密码") TreeView_12.column("id", anchor="center", width=120) TreeView_12.heading("id", text="id") Button_13 = tkinter.Button(root, text="修改", width=10, height=4) Fun.Register(uiName, 'Button_13', Button_13) Button_13.place(x=108, y=15, width=100, height=38) Button_13.configure(command=lambda: DbList_cmd.Button_13_onCommand( uiName, "Button_13")) Button_13_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_13.configure(font=Button_13_Ft) Button_14 = tkinter.Button(root, text="加载数据", width=10, height=4) Fun.Register(uiName, 'Button_14', Button_14) Button_14.place(x=571, y=15, width=112, height=38) Button_14.configure(command=lambda: DbList_cmd.Button_14_onCommand( uiName, "Button_14")) Button_14_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_14.configure(font=Button_14_Ft) #Inital all element's Data Fun.InitElementData(uiName)
def __init__(self, root, isTKroot=True): className = self.__class__.__name__ Fun.G_UIElementArray[className] = {} Fun.G_UIElementUserDataArray[className] = {} Fun.Register(className, 'UIClass', self) self.root = root style = TicketQuery_sty.SetupStyle() if isTKroot == True: root.title("Form1") Fun.CenterDlg(None, root, 721, 400) Form_1 = tkinter.Canvas(root, width=10, height=4) Form_1.place(x=0, y=0, width=721, height=400) Form_1.configure(bg="#efefef") Form_1.configure(highlightthickness=0) Fun.Register(className, 'root', root) Fun.Register(className, 'Form_1', Form_1) #Create the elements of root Label_2 = tkinter.Label(root, text="出发", width=10, height=4) Label_2.place(x=13, y=25, width=44, height=37) Label_2.configure(relief="flat") Label_2_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_2.configure(font=Label_2_Ft) Fun.Register(className, 'Label_2', Label_2) Entry_3_Variable = Fun.AddTKVariable(className, 'Entry_3', '') Entry_3 = tkinter.Entry(root, textvariable=Entry_3_Variable) Entry_3.place(x=65, y=26, width=120, height=37) Entry_3.configure(relief="sunken") Fun.Register(className, 'Entry_3', Entry_3) Label_4 = tkinter.Label(root, text="到达", width=10, height=4) Label_4.place(x=193, y=32, width=46, height=28) Label_4.configure(relief="flat") Label_4_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_4.configure(font=Label_4_Ft) Fun.Register(className, 'Label_4', Label_4) Entry_5_Variable = Fun.AddTKVariable(className, 'Entry_5', '') Entry_5 = tkinter.Entry(root, textvariable=Entry_5_Variable) Entry_5.place(x=242, y=26, width=120, height=37) Entry_5.configure(relief="sunken") Fun.Register(className, 'Entry_5', Entry_5) Label_6 = tkinter.Label(root, text="日期", width=10, height=4) Label_6.place(x=364, y=28, width=56, height=35) Label_6.configure(relief="flat") Label_6_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Label_6.configure(font=Label_6_Ft) Fun.Register(className, 'Label_6', Label_6) Entry_8_Variable = Fun.AddTKVariable(className, 'Entry_8', '') Entry_8 = tkinter.Entry(root, textvariable=Entry_8_Variable) Entry_8.place(x=422, y=26, width=140, height=37) Entry_8.configure(relief="sunken") Fun.Register(className, 'Entry_8', Entry_8) Button_9 = tkinter.Button(root, text="查询", width=10, height=4) Button_9.place(x=568, y=23, width=119, height=43) Button_9.configure(command=lambda: TicketQuery_cmd.Button_9_onCommand( className, "Button_9")) Button_9_Ft = tkinter.font.Font(family='System', size=12, weight='bold', slant='roman', underline=0, overstrike=0) Button_9.configure(font=Button_9_Ft) Fun.Register(className, 'Button_9', Button_9) ListBox_10 = tkinter.Listbox(root) ListBox_10.place(x=13, y=74, width=690, height=309) Fun.Register(className, 'ListBox_10', ListBox_10) #Inital all element's Data Fun.InitElementData(className) #Call Form_1's OnLoad Function TicketQuery_cmd.Form_1_onLoad(className)