private void factoryResetToolStripMenuItem_Click(object sender, EventArgs e) { if (MessageBox.Show("Are you sure to delete everything and reset to factory defaults?", "Factory Reset", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes) { GGKUtilLib.FactoryReset(); } }