private void clearCacheToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult dr = MessageBox.Show( "This will remove your Toggl user data from this PC and log you out of the Toggl Desktop app. " + "Any unsynced data will be lost." + Environment.NewLine + "Do you want to continue?", "Clear Cache", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); if (DialogResult.Yes == dr) { KopsikApi.kopsik_clear_cache(KopsikApi.ctx); } }