hw从mvp架构中的子用户控件访问父用户控件方法 [英] hw to access parent user control method from child user control in mvp architecthre

查看:81
本文介绍了hw从mvp架构中的子用户控件访问父用户控件方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的申请表中有 是 用户控制(uc1) 在页面和 另一个 用户控制  (uc2)in 第一个用户(uc1)控件   我想访问   的方法   UC1   showmesaage()
  从   UC2   diasplay  消息    uc1。

In my application there  is  user control (uc1)   in page and  another  user control  (uc2) in  first user (uc1)control    i want to access    method of   uc1   showmesaage()    from   uc2   to diasplay   message on    uc1 .

 

show message() 方法显示  成功的消息  上    UC1  使用labal   我想在uc1上显示消息  。

show message ()  method display   successful message   on    uc1   using labal    i want to diaplay message on uc1  .

in 应用  我们 是usb mvp 

in  application   we  are usiong mvp 

推荐答案

HI kamlesh,

HI kamlesh,

ShowMessage()?你用的是什么语言?

ShowMessage()? What language are you using?


这篇关于hw从mvp架构中的子用户控件访问父用户控件方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆