def on_install(self, event): # wxGlade: update_win.<event_handler>
#self.play_animation('')
if self.button_install.Label=="Check for Update":
self.button_install.Enable(False)
self.thread=update_thread(check=True,install=False)
self.progress_bar.Hide()
elif self.button_install.Label=="Install Update":
#intallhere
self.button_install.Enable(False)
self.progress_bar.Show()
self.thread=update_thread(check=False,install=True)
event.Skip()
评论列表
文章目录