public void SendImage(ImagePoint pixelPoints ) { string jsonPointObject = JsonConvert.SerializeObject(pixelPoints); _connection.SendString("9|" + jsonPointObject + "|"); }
public void addToImage(ImagePoint point) { drawUC2.pixelPainted.Add(point); drawUC2.setImage(); }
public void SendImage(ImagePoint pixelPoints) { string jsonPointObject = JsonConvert.SerializeObject(pixelPoints); _connection.SendString("9|" + jsonPointObject + "|"); }