C# use one textBox for multiple items -
i making huge save editor game. have listbox loads names of weapons have in game. whenever click on 1 of weapons in listbox, textbox shows how ammo/quantity there current item.
example: listbox1 selectedindex 0 shows ak47 , selectedindex 1 shows cbw. when select weapon ammo value goes textbox1. if click on ak47 , change ammo, move onto cbw , ak47, ammo resets was.
what cant seem figure out how commit changes in process being edited until ready final save
sounds missing commit / save section of editor? first of all, suggest create copy of file edit) , open readable in editor. - after maintaining first change, write text original file (open file writeable!), recretae copy of file , re-read again (readable) , on , on. on safe side can create 2 copies. idea behind have 1 instance of file readable , able dave changes writable second instance. afterwards readable instance has reread. might bit confusing, afterall not more confusing question. ;-)
Comments
Post a Comment