Python 提示信息

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

Python 提示信息

def on_message_box_closed(result):     if result == MessageBoxResult.Yes:         # 点击是         pass     elif result == MessageBoxResult.No:         # 点击否         pass     elif result == MessageBoxResult.Cancel:         # 取消         pass      this.View.ShowMessage(str(result))       def show_message(e):     this.View.ShowMessage("错误提示,是否继续?", MessageBoxOptions.YesNoCancel,on_message_box_closed)
                         def on_message_box_closed(result):                             if result == MessageBoxResult.Yes:                                 # 点击是                                 this.View.ShowMessage("您点击了'是'")                             elif result == MessageBoxResult.No:                                 # 点击否                                 this.View.ShowMessage("您点击了'否'")                             elif result == MessageBoxResult.Cancel:                                 # 取消                                 this.View.ShowMessage("您点击了'取消'")                         this.View.ShowMessage("错误提示,是否继续?", MessageBoxOptions.YesNoCancel,on_message_box_closed)



Python 提示信息

def on_message_box_closed(result): if result == MessageBoxResult.Yes: # 点击是 pass elif result == Message...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息