2
Answers

Access TextBox value from One WPF form to another WPF form

Photo of Rodel Barbin

Rodel Barbin

1y
702
1

Hi Sir, Mam,

I would like to ask how can I access the textbox value like UserName in Login WPF into

another WPF form? I am trying to initialize the form LoginWindow objLogin = new LoginWindow ()

MessageBox.Show(objLogin.user_name_txt.Text); but it return null

Thank you.

Regards,

Rodel

Answers (2)