UIPSnap - Windows Forms "serialization" (C# / .NET)

10/8/2013
Technologies: .NET (C #), Windows Forms, Reflection, XML

UIPSnap (User Interface Property Snap) is a software library for storing and restoring the state of .NET Forms user interfaces. With only a few lines of code, properties of all the controls contained in a form (eg position, size but also selections and much more) can be transferred into an XML format and stored, for example, in a file or database.

Especially extensive user interfaces, which are composed of many simple elements, are ideal for this purpose. By specifying the order and special properties filters, you can customize the serialization process.

 

To the product page

 

Example Code:

UIPSnap snap = new UIPSnap(); 
string xml = snap.toXML(this); 
File.WriteAllText("uistate.xml", xml);

 

Example GUI:

 

 

Leave Comment



Blog

NanoNet - simple Java neural network library
Using backpropagation and sigmoid activation function. | 4/14/2019

NanoNet is a very simple Java neural network library using backpropagation and sigmoid ... Read More

Java async/await nonblocking code library
Write sequential style nonblocking code using a fixed threadpool with Async-Complete for Java | 4/1/2019

Async-Complete (aka Async-Await) is a library for writing asynchronous code in a more ... Read More

SDCLib/J contribution fork
Contributing to IEEE 11073 SDC Family java webservice stack | 2/2/2019

As former main author of the official project in my last job at SurgiTAIX AG, I will maintain ... Read More

More Blog Entries