public MainForm() { InitializeComponent(); client = new CRobotClient(this); tryConnect(); imagecounter = 0; }