private static void ReinitializeHardware(Device oldItem, Device newItem) { BusinessDomain.ReinitializeHardware(oldItem, newItem, () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the cash receipt device. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the receipt device. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the external display. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the card reader device. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the electronic scale. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the sales data controller. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the kitchen printer. Check the input parameters.")), () => MessageError.ShowDialog(Translator.GetString("An error occurred while connecting to the barcode scanner. Check the input parameters."))); }