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

BigDecimal (.NET)
An arbitrary large (or small) decimal number implementation for .NET | 8/3/2019

BigDecimal represents a decimal number with arbitrary precision. It is based on a fraction ... Read More

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

More Blog Entries