// wysyla pozycje do robota public void SendPosition(string[] arr) { if (check.CheckValuesCorrectness(arr)) { OnDataSend(new SendDataEventArgs("PD", string.Join <string>(",", arr))); } else { throw new ArgumentException(); } }