本文介绍了我怎样才能从另一种形式中获取价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Presintaion_Layer.FM_TBL_Invoice inv = new FM_TBL_Invoice();
this.textBox2.Text = inv.comboStore.SelectedText;
Presintaion_Layer.FM_TBL_Invoice inv = new FM_TBL_Invoice();
this.textBox2.Text = inv.comboStore.SelectedText;
推荐答案
Class Form1
{
Form2 frm2Obj = new Form2(textbox.Text);
}
2.使用房产
2. Using Property
Class Form2
{
TextBoxValue {get; set;}
}
Class Form1
{
Form2 frmObj2 = new Form2();
Form2.TextBoxValue = textbox.Text;
}
这篇关于我怎样才能从另一种形式中获取价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!