home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
A little help ?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Edalex" data-source="post: 1119012" data-attributes="member: 63839"><p>Nope, looks like you added this in the wrong place in code as your probably doing this outside the class.</p><p>it should be like this as I think:</p><p>[CODE=CSharp]namespace MyPlugin</p><p>{</p><p> public class MyClass</p><p> {</p><p> public void SetProp</p><p> {</p><p> GUIPropertyManager.SetProperty("#picture", "picturefile.jpg");</p><p> }</p><p> }</p><p>}[/CODE]</p><p>You could attach your cs file to look at.</p></blockquote><p></p>
[QUOTE="Edalex, post: 1119012, member: 63839"] Nope, looks like you added this in the wrong place in code as your probably doing this outside the class. it should be like this as I think: [CODE=CSharp]namespace MyPlugin { public class MyClass { public void SetProp { GUIPropertyManager.SetProperty("#picture", "picturefile.jpg"); } } }[/CODE] You could attach your cs file to look at. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
A little help ?
Contact us
RSS
Top
Bottom