0

I am creating movie booking program (for coursework)and i need to link textboxes within the receipt form to textboxes which the user has already entered their information into.

  • 2
    Welcome. Duplicate of [this question](https://stackoverflow.com/questions/4587952/passing-data-between-forms). Jack, try searching with keywords either on a search engine or on StackOverflow, before asking a question. – Patrick Mar 26 '19 at 11:48

1 Answers1

0

You haven't mentioned which technology you are using for your C# development!

Is it WPF, UPW, Xamarin.Forms or WinForms?

I suggest you have read about Bindings; You can bind the text property of an Entry to a ViewModel using TwoWay binding so when the text is changed, it will update the value inside your ViewModel. If you have a Singleton ViewModel (static instance of VM), you can easily use the data across different pages/forms (albeit at the cost of memory consumption)

Amir Hajiha
  • 836
  • 8
  • 20