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
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...

Alternatives

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

22 Apr 2011
kornman00
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 =...
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

Karl Sanford
Software Developer Open Systems Technologies
United States United States
First learned to program in 1997 on my TI-83 and have been doing it ever since, with a foray into networking and infrastructure.
 
Mostly a C# junky (Win\Web Forms, WP7.5/8, WPF and MVC), though I have experience with many other technologies and products.
 
I have also been trying to learn and apply more in the area of AI; focusing on computer vision, natural language processing, and classification.
 
In my spare time, I love to tinker with electronics and various useless DIY projects.
 
My brain is a shark... if it stops moving, it will die. I'm always looking to learn more.
Follow on   Twitter   LinkedIn

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.141223.1 | Last Updated 22 Apr 2011
Article Copyright 2011 by Karl Sanford
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid