Update Form1.cs

console support