Results 1 to 3 of 3

Thread: Streetdeck Modules & C#

  1. #1
    Newbie
    Join Date
    Mar 2007
    Posts
    8

    Streetdeck Modules & C#

    Hey there...

    I am writing a C# Streedeck Addin and I have to following problem

    First, I created two modules in the "OnConnection" method.

    ...
    moduleMainMenu = app.CreateModule("moduleMainMenu");
    ...
    moduleMessageCenter = app.CreateModule("moduleSubMenu");
    ...

    As you can see I have a main module. This module is supposed to be shown when my addin starts. But sometimes the sub module is shown first. I investigated that the decision which module is shown first depends on the name that is given to the "CreateModule" method. But I do not see any pattern.

    How can I determine in the "OnConnection" method which module should be started first?

    Thank you,
    Lars

  2. #2
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    This is determined in the skin editor. You have to start up fhte StreetDeck skin editor after you have your C# plugin running in streetdeck then select the module you want as the default one in the project properties.
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

  3. #3
    Newbie
    Join Date
    Mar 2007
    Posts
    8
    Thank you!

Similar Threads

  1. Replies: 15
    Last Post: 08-21-2007, 04:46 PM
  2. StreetDeck for a 1955 Buick
    By aforget in forum DigitalMods (Scripts / API)
    Replies: 9
    Last Post: 07-29-2007, 02:01 PM
  3. Streetdeck Now Available for Purchase
    By god_of_cpu in forum StreetDeck
    Replies: 46
    Last Post: 01-02-2007, 11:58 AM
  4. Streetdeck!
    By TheLlama in forum Off Topic
    Replies: 37
    Last Post: 11-08-2006, 06:39 PM
  5. StreetDeck Panel (Windowing) System
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 0
    Last Post: 01-21-2006, 11:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •