LSiper
LSiper
CC#
Created by LSiper on 6/10/2024 in #help
WPF how to add data from 2 list entries to a different window that uses a CustomContol
First time using C# and WPF. Currently my application has 2 windows - the main window and a secondary window to add data to the main window. - In the secondary window you add data via 2 textboxes, once you fill both textboxes and click a button the input gets stored in 2 different list entries and can then further add more entries or delete specific entires or all entries using an ObservableCollection. - the place I want all of the entries to be stored once the user is done adding entries is in the main window which uses a customcontrol that also has 2 different list entries. Sorry if this is too complicated or if the explanation doesn't make much sense, maybe I just have the wrong approach, but either way how do you add all of the elements from a list entry to a list entry that is on a different window?
121 replies