Nov 17, 2015 06:14 PM
(This post was last modified: Nov 18, 2016 08:56 PM by ℓιℓ υzι νєят.)
closed closed closed closed
|
C#
closed closed closed closed |
|
Nov 17, 2015 06:14 PM
(This post was last modified: Nov 18, 2016 08:56 PM by ℓιℓ υzι νєят.)
closed closed closed closed
Nov 17, 2015 06:17 PM
(This post was last modified: Nov 17, 2015 06:18 PM by BahNahNah.)
Make some public properties in form1, then access them from the instance in form2.
In form2: Code form1 f1 = new form1();
Lotta blood to let, peace to make, give a fuk about a check
(Nov 17, 2015 06:14 PM)ℓιℓ υzι νєят Wrote: I need help with somthing It's just the same in ur previous question. The answer is also the same (Nov 17, 2015 06:14 PM)ℓιℓ υzι νєят Wrote: So, in my form1 I got my login and I wanna get the username in the first textbox over to my form2 after logging in. You can make constructor in Form2, and set values from textboxes to properties: Code private string login;And calling from Form1: Code Form2 mainForm = Form2(textBox1.Text, textBox2.Text); |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [.NET] by Shad~Apr 26, 2009 09:05 PM | 5 | 232 |
Apr 26, 2009 09:05 PM Last Post: Jettboi93 |
| [.NET] by Shad~Apr 10, 2009 06:35 AM | 12 | 276 |
Apr 10, 2009 06:35 AM Last Post: Jyeran |