private void btnRestartServiceMemory_Click(object sender, EventArgs e) { try { _serviceHelper.RestartService(SERVICE_NAME_MEMORY); SetButtonsMemory(); ShowSuccess(); } catch (Exception ex) { ShowError(ex); } }