Remove the dependency on System.Windows.Forms