本文介绍了如果我单击一个选项按钮,文本框将显示标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我单击选项按钮文本框将显示标签...如何为此编写代码...请发布回答
if i click option button textbox will visible with label...how to write code for that...please post answer
推荐答案
private void yourOptionButton_Click(object sender, EventArgs e)
{
yourTextBox.Visibility = true;
yourLabel.Visibility = true;
}
private void Increment_Click(object sender, EventArgs e)
{
string str = txtbox2.text.ToString();
txtIncrement.text = str ;
txtIncrement.Visibility = true;
txtIncrement.enabled = false;
}
很抱歉,如果我不理解你的逻辑,但希望如此gona帮助你至少..
问候,
:)
Sorry if i didnt understand your logic well, but hope so that it gona help you a bit atleast..
Regards,
:)
这篇关于如果我单击一个选项按钮,文本框将显示标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!