private static void ShowNoticeForm() { if (Properties.Settings.Default.AlphaNoticeAccepted == false) { var dr = new NoticeWindow().ShowDialog(); if (dr == DialogResult.OK) { Properties.Settings.Default.AlphaNoticeAccepted = true; Properties.Settings.Default.Save(); } } }