Console app working with Windows Form app - C#