Results 1 to 6 of 6

Thread: A UserControl Question!

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    A UserControl Question!

    I've made a usercontrol for the sake of lessening code in my main form (gets too confusing, too many events!). Below is a screenshot of my usercontrol, which has, ahem, many controls in it. I'm just wondering if it is bad to take parts of my program (like this part) and make them to user controls? is it inefficient in any ways?


    my usercontrol:

    btw this looks like fireworks. I'm using that as my example
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    I dont think that it would make a difference performance wise. Might I ask what that program does? The UI looks very professional.
    Dont gain the world and lose your soul

  3. #3

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by DevGrp
    I dont think that it would make a difference performance wise. Might I ask what that program does? The UI looks very professional.
    thanks. Well it's a graphics thingie, like MS Paint. But I'm trying to make it like vector graphics so that you can edit the things that you have drawn (dunno how to save it though ) it's really hard to draw all the stuff EFFICIENTLY. Right now when I move the objects around on the screen it's a little slow.
    About the design, I pretty much followed fireworks (I know it's bad to copy, but I wasn't in a creative mood

    take a look, this is fire works'
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Cool, nothing wrong with copying. Microsoft do it all the time
    Dont gain the world and lose your soul

  5. #5

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    haha
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  6. #6
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I make controls for my apps. Just like you, it gets to be too much code in one place otherwise. I don't think there is a performance problem at all...at least I don't notice it.

Posting Permissions

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



Click Here to Expand Forum to Full Width