示例#1
0
    def OnInit(self):
        frame = MyFrame(None, "Simple wxPython App")
        self.SetTopWindow(frame)

        #print "Print statements go to this stdout window by default."

        frame.Show(False)

        stat = statservice.statservice()
        stat.main()

        return True
示例#2
0
    def OnInit(self):
        frame = MyFrame(None, "Simple wxPython App")
        self.SetTopWindow(frame)

        #print "Print statements go to this stdout window by default."

        frame.Show(False)

        stat = statservice.statservice()
        stat.main()

        return True
示例#3
0
 def __init__(self,args):
     win32serviceutil.ServiceFramework.__init__(self,args)
     self.hWaitStop=win32event.CreateEvent(None, 0, 0, None)
     self.isAlive=True
     self.statservice = statservice.statservice()