Click here to Skip to main content
Click here to Skip to main content

Tagged as

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
Follow on   Twitter

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