private void menuItem22_Click(object sender, EventArgs e) { Conf.LockLayout = !Conf.LockLayout; menuItem22.Checked = Conf.LockLayout; }