mardi 15 avril 2014

c# - boutons ne fonctionne plus dans Windows 7 Mobile - Stack Overflow


I have a Windows 7 Phone application I'm currently devleoping for a small college project. I'm pretty new to c# and Vis studio in general (I usually use Eclipse and Java) and I'm making a very basic text based game.


The problems I have AREN'T STRICTLY coding related, I just NEED to know how Vis studio does these things as I'm completely unfamiliar, I'm sorry for my ignorance but we all start somewhere.


------------------------SOLVED----------------------------


Buttons are meant to be 'Hidden' (Collapsed) and others are meant to be 'Visible' depending on other button clicks, where certain buttons will 'Progress' the game.


--


I've ran into a problem where whenever I make a new button (Regardless of Page) The button is now invisible, It can't be seen or used etc, but all previous buttons work correctly.


This has led me to believe there is a problem with the XML as this problem occurs AFTER other buttons have successfully functioned previously.


[Edit] I've also noticed that when I Update the Source of Images I'm using nothing changes, as if the program itself ISN'T being updated.


I don't know how to fix this, PLEASE help?


[Edit2]


I managed to fix this issue, somehow in my listbox I had an 'UpdateSelection' which wasn't doing anything, I think that might've broke my XML.


------------------STILL NEED HELP------------------------


Whilst I'm here I'd also like to know (If anyone has the time) the simpliest way to link pre-defined items in a Listbox to a TextBox (Preferably single selection)


As in I select "List option A" and "List Option A" is then displayed in the text box.


Thanks so much in advance.


I'm just really new to c# and I've tried looking for these little things and found no solutions.


[edit3] STILL WOULD RATHER LIKE HELP WITH THIS, THANKS.



I have a Windows 7 Phone application I'm currently devleoping for a small college project. I'm pretty new to c# and Vis studio in general (I usually use Eclipse and Java) and I'm making a very basic text based game.


The problems I have AREN'T STRICTLY coding related, I just NEED to know how Vis studio does these things as I'm completely unfamiliar, I'm sorry for my ignorance but we all start somewhere.


------------------------SOLVED----------------------------


Buttons are meant to be 'Hidden' (Collapsed) and others are meant to be 'Visible' depending on other button clicks, where certain buttons will 'Progress' the game.


--


I've ran into a problem where whenever I make a new button (Regardless of Page) The button is now invisible, It can't be seen or used etc, but all previous buttons work correctly.


This has led me to believe there is a problem with the XML as this problem occurs AFTER other buttons have successfully functioned previously.


[Edit] I've also noticed that when I Update the Source of Images I'm using nothing changes, as if the program itself ISN'T being updated.


I don't know how to fix this, PLEASE help?


[Edit2]


I managed to fix this issue, somehow in my listbox I had an 'UpdateSelection' which wasn't doing anything, I think that might've broke my XML.


------------------STILL NEED HELP------------------------


Whilst I'm here I'd also like to know (If anyone has the time) the simpliest way to link pre-defined items in a Listbox to a TextBox (Preferably single selection)


As in I select "List option A" and "List Option A" is then displayed in the text box.


Thanks so much in advance.


I'm just really new to c# and I've tried looking for these little things and found no solutions.


[edit3] STILL WOULD RATHER LIKE HELP WITH THIS, THANKS.


Related Posts:

0 commentaires:

Enregistrer un commentaire