private void checkRemember_CheckedChanged(object sender, EventArgs e)
{
if (checkRemember.Checked && !File.Exists(MainForm.appFolder + "pwd"))
{
DialogResult result = MessageBox.Show("Enabling this feature will allow the application to save your login account details so that you only have to press OK.\n"
+ "Be careful though: details are not securely stored which means anyone with access to your computer can know your password.",
"Warning!", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2);
if (result == System.Windows.Forms.DialogResult.Cancel)
checkRemember.Checked = false;
}
}