private void cmdSnapit_Click(object sender, EventArgs e) { string ImageFile; ImageFile = Myrobot.SnapIt(); if (!ImageFile.Equals("")) { this.livestream.ImageLocation = ImageFile; } }