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
MediaPortal 1 Plugins
Example to open Config Form on Non Gui Plugin
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="and-81" data-source="post: 185165" data-attributes="member: 11844"><p>Hey again,</p><p></p><p>The error message you quote doesn't match the code in question. The error message says "Form1" but you're referencing "SetupForm1" in the code. Are you sure this is where the error is?</p><p></p><p>Maybe you pasted the message and then changed the code... so here's what it could be in that case...</p><p></p><p>Maybe your form is in a different namespace to the rest of the code. So you may need to add a "using plugin.forms;" </p><p></p><p>Or you may need to refer to the SetupForm class by it's fully qualified name, something like:</p><p></p><p>MediaPortal.Plugins.Forms.SetupForm SetupForm1 = new MediaPortal.Plugins.Forms.SetupForm();</p><p></p><p>If you get really stuck you could attach the full source (zipped up) to this post and I could take a look for you?</p><p></p><p>Cheers,</p></blockquote><p></p>
[QUOTE="and-81, post: 185165, member: 11844"] Hey again, The error message you quote doesn't match the code in question. The error message says "Form1" but you're referencing "SetupForm1" in the code. Are you sure this is where the error is? Maybe you pasted the message and then changed the code... so here's what it could be in that case... Maybe your form is in a different namespace to the rest of the code. So you may need to add a "using plugin.forms;" Or you may need to refer to the SetupForm class by it's fully qualified name, something like: MediaPortal.Plugins.Forms.SetupForm SetupForm1 = new MediaPortal.Plugins.Forms.SetupForm(); If you get really stuck you could attach the full source (zipped up) to this post and I could take a look for you? Cheers, [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Example to open Config Form on Non Gui Plugin
Contact us
RSS
Top
Bottom