public Form1() { InitializeComponent(); print = new PrintHelper("192.168.1.114", null); print.Connect(); print.StartStateReturn(); print.PrinterInite(); System.Threading.Tasks.Task.Factory.StartNew(() => { print.BeginReceive(); }); }