Hi Yep, started doing a few google searches and I have come up with a few links, so hopefully I am on my way with it now. Thanks for the help, and if I get it sorted I will post the control as an article.
Mike Kitchen
Posts
-
Windows Form as Control in DLL -
Windows Form as Control in DLLOK. I am being a bit slow with this. So could you point me in the right direction to achieve this please. If I get it sorted I will post the dialog as an article.
-
Windows Form as Control in DLLHi, Yes I can do this. What I want to achieve, is see the form like the current colordialog in the toolbox to the side of the design window.
-
Windows Form as Control in DLLI'm not sure whether this can be achieved, but here goes. I have created a new color dialog for a simple html editor. I would like to packeage the form into a dll, so that when added to a project, the dialog appears in the toolbox. I am using C# express 2005. I can achieve this when creating a normal control but I am stumped when it comes to having a form in the dll instead. If anyone has any ideas as to how to achieve this, or even a small demo, I would be truly grateful.
-
FlickerAdd these 3 lines to your form constructor // Enable Double Buffering to remove flicker this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.DoubleBuffer, true); Hope this helps Publicjoe C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html VB Tutorial at http://www.publicjoe.f9.co.uk/vbnet/vbnet.html VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html Mirrors at http://dowhileloop.com/publicjoe/ and http://publicjoe.dowhileloop.com