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...
点击下载文档
本文2024-09-16 17:43:03发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-17502.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章