質問: Program Help Hi what im trying to do in my program (Its a pokemon platinum version team organizer) im making it for a friend and for anyone else who wants it but what im trying to do is i have 2 checked list boxes wth a limit on how many selections they can make (6) one for pokemon (theres 493) and one for levels (theres 100) what im trying to do though is i got an xml file cause im going to use xml serialization and i want whenever someone clicks the 6 pokemon they want and the levels they want them to be at it puts it in the xml file for later retrival on another part of the form but heres my xml code by the way its 183 lines also the first screenshot is where the Input is and the 2nd screenshot is where the output is ``` ``` and heres 2 screenshots of the program first screenshot is of the first part of the form for input to the part of the xml file and desired levels and names to go into something like this ``` ``` But the problem im having is with the xml serialization part but if i get it right for one part i can just edit it to my needs for all the other parts so if i can get help on the serialization and deserialization i would be very greatful
回答: i should explain this a bit easier [CheckedListbox1] 493 Items 3 Selected random name1 random name 2 random name 3 [Checked List Box2] 100 Items 3 Selected lvl1 lvl2 lvl3 XML File ``` random name 1 lvl1 random name 2 lvl2 random name 3 lvl3l ``` This is what i want it to do First Screenshot: you choose your pokemon from the first box and then you choose your level from the 2nd it then takes the levels you picked and the name of the pokemon and then fills the specified sections on the xml file so say your picked 3 diffrent pokemon and 3 diffrent levels but not in order and it transfers them to there sections in the xml Second Screenshot: It reads them from the xml file and then puts them in the specified sections in the text boxes