private void DrehenButton_ClickLeft(object sender, RoutedEventArgs e) { ClientServerUtil csu = ClientServerUtil.getInstance(); //2D foreach (Client.Classes.GridItem item in GridC.SelectedItems) { csu.rotateItemLeft(item.instanceId); } }