private void CheckTableIsCorrect(string tableID) { bool show = ConfigFile.ConfirmationMessageboxShow.ToLower() == "true" ? true : false; if (show) { Messagebox.ShowConfirmation(tableID + " ? ", tableID, true, true); } else { SendToWS(tableID); } }