textbox1.Text 无法从另一个表单复制 textbox2.Text 值 [英] The textbox1.Text can't copy the textbox2.Text value from another form

查看:8
本文介绍了textbox1.Text 无法从另一个表单复制 textbox2.Text 值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是我的代码

private void btnCptKb5_Click(object sender, EventArgs e)
{ 
   Form1 form1 = new Form1();
   textbox1.text = form1.textbox1.text;
}

为什么我不能复制form1文本框的值?

Why is that I can't copy the value of form1 textbox?

推荐答案

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