Hi!
I need to transfer the data I have inside of my txtName to other textbox named txtBox1. Curiosly its doesnt allow textbox only label (as you can see). Why I need only textbox? Just because with the textbox where I need to put my data coming from txtName its in multiline mode. But not for a label. How can I resolv it please.
FormToPrint= new FormToPrint();
frmToPrint.label.Text = txtName .Text.ToString();
frmToPrint.Show();

Govinda Rajulu YemineniRank #1,518 · 1K reputationPosted Jul 20, 2015, 2:38 AM EDT
Hemant SrivastavaRank #581 · 4.2K reputationPosted Jul 17, 2015, 12:46 PM EDT
IsraelRank #1,223 · 1.5K reputationPosted Jul 17, 2015, 2:36 PM EDT
Govinda Rajulu YemineniRank #1,518 · 1K reputationPosted Jul 17, 2015, 8:54 PM EDT
- Using constructor
- Using objects
- Using properties
- Using delegates
Here i am using Constructor ApproachIsraelRank #1,223 · 1.5K reputationPosted Jul 18, 2015, 5:49 AM EDT
Govinda Rajulu YemineniRank #1,518 · 1K reputationPosted Jul 18, 2015, 7:30 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Jul 19, 2015, 3:23 AM EDT
IsraelRank #1,223 · 1.5K reputationPosted Jul 20, 2015, 2:18 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Jul 20, 2015, 2:42 AM EDT
IsraelRank #1,223 · 1.5K reputationPosted Jul 20, 2015, 5:18 AM EDT
Govinda Rajulu YemineniRank #1,518 · 1K reputationPosted Jul 20, 2015, 7:34 AM EDT