#!/usr/bin/python
#coding: utf-8
from Tkinter import *
from tkMessageBox import *
import pymysql
class SignIn(object):
def __init__(self, root):
self.root = root
self.name = None
self.password = None
def the_Window(self,):
Label(self.root, text = u"用户名(*):").grid(row = 1, column = 1, sticky = W)
Label(self.root, text = u"密码(*):").grid(row = 2, column = 1, sticky = W)
self.name = Entry(self.root)
self.name.grid(row = 1, column = 2, sticky = W)
self.password = Entry(self.root, show = "*")
self.password.grid(row = 2, column = 2, sticky = W)
Button(self.root, text = u"登录", command = self.Login).grid(row = 3, column = 1, sticky = W)
Button(self.root, text = u"