Remove System.Windows.Forms dependency