Some class to .NET and WPF