Browse by Tags

All Tags » Whidbey » WinForms (RSS)

Resizing a Form has always been a pain in the rectum...

Think really hard for a second about how layout logic works... Oh, not that hard, you're starting to smoke. Here, how about I think about it for you and then you can point out where you have a difference of opinion... That works better for me anyway....
Posted by Justin Rogers | 4 comment(s)
Filed under: ,

Illegal Cross Thread Exceptions under the debugger when using Windows Forms and Whidbey...

The Windows Forms team gets an A today for some super creativity... When you are running under a debugger, and only under the debugger, you start to get a bunch of really strange cross thread exceptions if you try to do something like call Focus() on...
Posted by Justin Rogers | with no comments

Xml in the WebBrowser? What about easy RSS in the WebBrowser in Whidbey?

A fellow blogger has been talking about hosting the web browsing components of IE as an ActiveX Control. With Whidbey this all goes away and you can now use the Windows Forms 2.0 WebBrowser control. It just drops into place, has a bunch of events for...

A quick view of the CardManager class playing Solitaire... and it still plays Poker as well ;-)

I hate dropping source code directly into a blog posting, but what the hell, it isn't very long at all. CardManager<StandardCard> cardMan = new CardManager<StandardCard>(); deck = cardMan.AddHand( "Deck", StandardCard.StandardDeck ); // Set...

Visual C# Express 2005: Creating a Poker Application, Source Download

Answering a couple of user questions for persistence: How do you test during the development of an application like Poker? Well, I'd say that the design and whiteboard sketches that I'm going to have in my book really help limit the amount of testing...

Visual C# Express 2005: Creating a Poker Application, 1PM (PDT) Thursday, That's Today!

If you want to show up here you go http://go.microsoft.com/fwlink/?LinkId=31156 . Now, to give a short disclaimer, I actually bought a head-set this time, so no more crook-necking the entire time. I'm also ten times more prepared for what is going to...

Answers to the EnableRTLMirroring question during the WebCast

Below is a documentation excerpt EnableRTLMirroring forces a control or form to mirror their contents when the RightToLeft property of a form or control is set to true . The controls affected by this setting include Form , ListView , Panel , ProgressBar...
Posted by Justin Rogers | with no comments
Filed under: ,

A reader of my blog points out that System.Drawing.GDI is frigin gone in the betas...

Well, I wasn't planning on pointing this out, but I did know about it. You see, when I first glanced at this particular feature, I started playing with the performance characteristics and you know what I found? Well, it speeds up double buffering immensely...
Posted by Justin Rogers | with no comments
Filed under: , , ,

Watch out for the VS 2005 Debugger, it lies sometimes!

I'll share this little gem so other users don't make the same mistake I seem to have made. Playing with the VS 2005 Debugger for quite a bit, I kept getting an ObjectDisposedException performing what I thought was a valid operation. Now using a third...
Posted by Justin Rogers | 1 comment(s)
Filed under: ,

Adding some much needed dock sizing for System.Windows.Forms.Label... (Whidbey, but probably works on V1.x)

I'm working on a control that allows you to add labels to a panel that allows scrolling. This is key for implementing anything that would otherwise require a list control to display data items. I'd rather just use the labels and a panel for my case because...
Posted by Justin Rogers | 3 comment(s)
Filed under: ,
More Posts Next page »