Automatic Handling of Windows Forms Data Binding
Many users of Eazfuscator.NET use Windows Forms technology to build application UI. Windows Forms provides a set of controls that allows to display data and interact with a user. Sometimes, the displayed data is not set to UI controls directly. A common practice is to use a data binding mechanism that allows to tie the object properties by name. To get property values by name, data binding uses Reflection API.
Consider a simple code that creates a list of products:
class Product
{
public int ID { get; set; }
public string Title { get; set; }
public string Description { get; set; }
}
// …
var products = new List<Product>
{
new Product { ID = 1, Title = "Juice", Description = "Juice description" },
new Product { ID = 2, Title = "Tea", Description = "Tea description" },
new Product { ID = 3, Title = "Coffee", Description = "Coffee description" }
};


