Timeline for Creating submenus with buttons
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Oct 24, 2012 at 9:04 | comment | added | 2pietjuh2 | @svick Yea, would be better to make them private I guess. no need for public. | |
Oct 23, 2012 at 20:42 | history | edited | dreza | CC BY-SA 3.0 |
Removed typo naming fields as a method of the struct
|
Oct 23, 2012 at 20:41 | comment | added | dreza | @svick ah good point. more of a typo although I would still stand by renaming thefields to not having the _ | |
Oct 23, 2012 at 19:16 | comment | added | svick |
I don't see any public methods in the question. And the public constant fields are not so public, because they are in a private struct inside another type.
|
|
Oct 23, 2012 at 7:53 | comment | added | 2pietjuh2 | 4. I've found an artilcle on this topic. I'll rewrite my code using that! | |
Oct 23, 2012 at 7:50 | vote | accept | 2pietjuh2 | ||
Oct 23, 2012 at 7:56 | |||||
Oct 23, 2012 at 7:45 | comment | added | 2pietjuh2 | Thank you for the answer! 1. I've tried to create a variable but I can not call Variable._SubMenuBtn1Text; Where I use the value of Variable in stead of the name Variable. Is there a way to do so? 2. I preffer _ for constant data, but as I see it is not recommended; I'll change that :). 3. I think a class is nicer because you can place that somewhere else? Placing text in a resource file would be nice, I've thought about that. But as I am still learning I'll pass that to a new project. 4. I'll check that out! Idk whether it works on C#. | |
Oct 23, 2012 at 7:36 | history | answered | dreza | CC BY-SA 3.0 |