Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: frontend developers - forms and menues

  1. #1
    Low Bitrate Mcnovy's Avatar
    Join Date
    Feb 2005
    Location
    Denmark
    Posts
    89

    frontend developers - forms and menues

    Hey.


    im making my own front end, but i have a Q. for other developers of front-end.

    the way im about to do it, is (by the way its C#) i got a form, and in that form, i use usercontrols to be used as menu's.

    how do others do it..

    ex code, og just explanations would be great.. thanks
    Sorry for the english

    CarPC Specs.

    Via Epia MII 12000 \\ 512 Mb Ram \\ 200 GB Western Digital \\ PCmcia asus wi-fi
    Xenarc 7" Touchscreen \\ Usb Bluetooth \\ Carnetix P-1280

  2. #2

  3. #3
    Newbie
    Join Date
    May 2006
    Posts
    6
    Quote Originally Posted by Mcnovy
    Hey.


    im making my own front end, but i have a Q. for other developers of front-end.

    the way im about to do it, is (by the way its C#) i got a form, and in that form, i use usercontrols to be used as menu's.

    how do others do it..

    ex code, og just explanations would be great.. thanks
    Can you make a quick paint image of what you are trying to do? Why are you using user controls as menus? There is a built in menu control. It is in the System.Windows.Forms name space.

  4. #4
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    He's probably wanting to create an interface that is skinnable and uses graphics for the buttons. There are a few ways to do this. Is this what you are trying to accomplish?

  5. #5
    Low Bitrate Mcnovy's Avatar
    Join Date
    Feb 2005
    Location
    Denmark
    Posts
    89
    Ineffigy

    yes.. that is exactly what i am trying to

    do any of you have an prober way to do it..?
    Sorry for the english

    CarPC Specs.

    Via Epia MII 12000 \\ 512 Mb Ram \\ 200 GB Western Digital \\ PCmcia asus wi-fi
    Xenarc 7" Touchscreen \\ Usb Bluetooth \\ Carnetix P-1280

  6. #6
    Newbie
    Join Date
    Nov 2006
    Posts
    5

  7. #7
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    You might want to look into "Owner Drawn" controls. This allows you to have control over how the controls (buttons, drop down menus , etc) are created. Another idea is to generate your own controls using DirectX. This will allow for hardware acceleration and alpha blending techniques. It all depends on how fancy you want to get.

  8. #8
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    a simple way would be to work on an image, and have a file that defines clickable areas. To begin with, you can have one image. then you can start adding images that are hidden, and the button you press, reveals that part of the hidden image and so giving the illusion of animation.

    this would be a much better way than to use a form. however, for rapid develipment (and you can worry about skinning later) you can use a form, but make sure you dont' embedd too much into the actual buttons, and just have the buttons calls methods. in that way, when you do implement the code for a skin, you can point the click-over to the method.

    hope that helps

  9. #9
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Why not go a step further and have an XML file that defines each object, the properties (aka images) of the object and the method to be called from being "clicked" on or any other event. This way the screen becomes totally customizable and you can work on the background processing instead of focusing on the interface.

  10. #10
    FLAC sama's Avatar
    Join Date
    Feb 2006
    Location
    London, UK
    Posts
    1,375
    that's exactly what I said

Page 1 of 2 12 LastLast

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
  •