Click here to Skip to main content
12,356,154 members (70,500 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

1.4K views
1 bookmarked
Posted

Simple class to save your Form's Size To Registry

, 22 Apr 2011 CPOL
I just whipped this up EditPlus so there may be some syntax errors.using System;using System.Drawing;using System.Windows.Forms;using Microsoft.Win32; namespace Chico.Registry{ public struct SizeRegistry : IDisposable { private const string kWidthName =...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

22 Apr 2011
Karl Sanford
First, let me say that I would not recommend using the registry for this purpose. The registry is fraught with pitfalls to accommodate some really complex scenarios that you probably don’t want to mess with just so you can persist your form size. I would think that a user scoped configuration...
22 Apr 2011
charles henington
2 alternatives  
Simple class to save your Form's Size To Registry

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

kornman00
United States United States
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.160621.1 | Last Updated 22 Apr 2011
Article Copyright 2011 by kornman00
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid