private void ZapiszPomiaryButton_Click(object sender, RoutedEventArgs e) { InputOutput.ZapiszW("dane" + ".txt", X, Y); MessageBox.Show("Zapisano dane!"); }