MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Language specific support » Deutsches MediaPortal Forum » Media Portal - Allgemeines


Media Portal - Allgemeines Allgemeines zum Thema Mediaportal und den SVN-Snapshots

Reply
 
Thread Tools Display Modes
Old 2008-04-02, 18:20   #1 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Einsteiger Fragen bei PlugIns

Hallo

Ich bin dabei ein Plugin mit C# zu impelentieren habe ein paar amfänger fragen aber finde keine hilfe nicht hier im Forum als auch ergendwo im Internet.

Es wäre für mich ein sehr grosse Hilfe wenn ich mit Leute diskutieren könnte die PlugIns ertsellt und Implementiert haben. Bin schon am verzweifeln, ich wäre sehr dankbar für jede Hilfe

Danke im vorraus und Schöne Grüsse
Zarra is offline   Reply With Quote
Old 2008-04-03, 08:28   #2 (permalink)
Portal Member
 
Join Date: Dec 2006
Location: Münster
Posts: 59
Thanks: 4
Thanked 1 Time in 1 Post

Country:

My System

Default

Hi,

dafür ist doch das WIKI da ;-)

MediaPortal1 Development/PluginDevelopersGuide - MediaPortal Wiki Documentation

Gruß
Michael
michael01376 is offline   Reply With Quote
Old 2008-04-03, 10:25   #3 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Hi,

Danke für dein Antwort,
Ja ich habe WIKI gelsen, und ein PlugIn zu programmieren habe ich auch sschon geschafft,

Mein Probelem das ich jedes mal ein andere GUI (WIndow oder XML) benutzen will wenn ich auf den Button drucken

will dafür benutze ich die Methode wie es in WIKI steht:


GUIWindowManager.ActivateWindow(8110, true);

und die Klasse in C# für den 2 Window sieht so aus:

This is the code for the second window what i try to call from the first window


HTML-Code:



class Media2: GUIWindow { public Media2() { } public override int GetID { get { return 8110; } set { base.GetID = value; } } public override bool Init() { return Load(GUIGraphicsContext.Skin + @"\Oerflaeche2b.xml"); } protected override void OnPageLoad() { MessageBox.Show("Oberflaeche2 " ); base.OnPageLoad(); } protected override void OnPageDestroy(int new_windowId) { base.OnPageDestroy(new_windowId); } protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType) { base.OnClicked(controlId, control, actionType); } public override bool OnMessage(GUIMessage message) { if (message.Message == GUIMessage.MessageType.GUI_MSG_ITEM_FOCUS || message.Message == GUIMessage.MessageType.GUI_MSG_ITEM_FOCUS_CHANGED) { } return base.OnMessage(message); } }

Aber wenn ich auf den Button drucke dann geht er wieder zur Hauptmenü und nicht zur neue Window.

Hast du einer Idee wäre sehr dankbar

Gruß
Zarra is offline   Reply With Quote
Old 2008-04-03, 10:52   #4 (permalink)
Portal Member
 
Join Date: Dec 2006
Location: Münster
Posts: 59
Thanks: 4
Thanked 1 Time in 1 Post

Country:

My System

Default

Selber ein Plugin geschrieben habe ich noch nicht, daher kann ich Dir hierbei leider nicht helfen.
Vielleicht kann Dir jemand im IRC helfen: MEDIAPORTAL - free MediaCenter HTPC Software - WebIRC

Gruß
Michael
michael01376 is offline   Reply With Quote
Old 2008-04-03, 11:15   #5 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Danke auf jeden Fall : )
Zarra is offline   Reply With Quote
Reply

Bookmarks

Tags
einsteiger, plugins

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Einsteiger Fragen Dotpitch Media Portal - Allgemeines 3 2008-04-02 03:52
USB oder PCI? Evtl. Wlan Karte ersetzen?... Fragen über Fragen:) Yvel Hardware 0 2007-11-26 19:06
Einsteiger Fragen hspecht74 Media Portal - Allgemeines 4 2007-10-18 11:35
TVServer? Cinergy 1200 DVB-C! Fragen über Fragen :D Airshark Media Portal - Support 1 2007-04-17 12:27
Fragen zu Plugins und sonstiges noxx Plugins/Erweiterungen 2 2006-04-21 11:22


All times are GMT +1. The time now is 07:26.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden