Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

mikelb

@mikelb
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • context menu with drag/drop and right click
    M mikelb

    I'm looking for menu code that will allow the user to drag/drop menu items to move them where they want and allow detection of a right click on a menu item. Any pointers would be appreciated.

    C#

  • Opening a form inside another
    M mikelb

    No problem, glad it helped. For the border, just set the border style to none and the title and resize-ability will go away. Michael

    .NET (Core and Framework) design question

  • Opening a form inside another
    M mikelb

    What I did was this, and it works for me: In the constructor code for the form add: this.TopLevel = false; In your main form use this: frmAddNew add = new frmAddNew( ); add.Parent = panelWorkArea; panelWorkArea.Controls.Add( add ); add.Visible = true; Let me know if that works for you.

    .NET (Core and Framework) design question

  • Can .NET work as Visual Studio6.0?
    M mikelb

    Yeah, by unistalling .NET and installing visual studio 6. Seriously though, .net is neither trendy or redundant. Depending on the language you are coming from you'll be amazed at how much more you can accomplish in .net compared to your previous language. Things that used to be difficult or require 3rd party tools are now easy and built-in to the language. .net 2003 comes with an obfuscator(?) or you can get a tool for .net 2002 that will do it for you.

    .NET (Core and Framework) csharp visual-studio question

  • Opening a form inside another
    M mikelb

    What I did one time when I was trying to do the same thing was put a panel control where you want the form to go. The panel control, if I remember correctly, is able to "host" a form so you just create an instance of the form and add it to the panels controls.

    .NET (Core and Framework) design question

  • GDI+ and memory leaks
    M mikelb

    I have some custom drawing code that I'm doing in my application. I made sure to use the using statement or explicity call dispose on all the brushes and pens that I'm using to make sure that I don't have any memory leaks. My problem is that if I start the application and move the mouse around to cause the drawing to occur then I see in the task manager that I slowly eat up more and more memory, 20-60k at a time. If I don't change a single line of code but put in a GC.Collect() at the end of my drawing then I see that no extra memory is consumed. I've left the application running for a while and I don't see the memory being released w/o the GC.Collect(). Am I supposed to just trust that everything is going ok under the covers and that at some point Garbage collection will get it? If I do this and I give someone here my application won't they assume I have a memory leak? Thanks, Michael

    .NET (Core and Framework) graphics winforms performance help question

  • Launch an .exe from aspx page
    M mikelb

    it is possible and there are many articles related to this... First article I saw was written in 2001, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet10142001.asp

    C# question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups