访问另一个类中的表单标签 [英] access form label in another class

查看:78
本文介绍了访问另一个类中的表单标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在另一个班级中访问  form 标签 

how can  i access  form  label in another class 

推荐答案

你能告诉我们你想要做什么吗?

can you give us details what you are trying to do?

软件中的一个重要模式开发将UI与核心数据/业务逻辑分开。这样你可能不需要访问它。

An important pattern in software development is dividingvthe UI from the core data / business logic. That way you might not need to access that.

但是你当然可以将标签设为公共标签或创建访问标签的方法。

But of course you could either make the label public or create methods that access the label.

亲切的问候,

Konrad


这篇关于访问另一个类中的表单标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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