I am trying to set/read a variable in class bluRemote from another namespace/class like so:
Code:namespace BluMote { class bluRemote { public string cableOrSat = "CABLE"; ........ }I know i am doing it wrong but im more used to doing stuff like this in VB so its like night and day haCode:namespace BluMote { public partial class SettingsForm : Form { if (BluMote.bluRemote.cableOrSat == "CABLE") { BluMote.bluRemote.cableOrSat = "SAT"; } ....... } })
David




)
Reply With Quote