Exemplo n.º 1
0
        private void LstModsOnItemChecked(object sender, ItemCheckedEventArgs e)
        {
            var mod = e.Item.Tag as ModInfo;

            if (mod != null)
            {
                mod.Enabled = e.Item.Checked;
            }

            if (lstMods.Enabled)
            {
                BuildSettings.Save();
            }
        }
Exemplo n.º 2
0
 private void chkPlay_CheckedChanged(object sender, EventArgs e)
 {
     BuildSettings.Instance.AutoPlay = chkPlay.Checked;
     BuildSettings.Save();
 }
Exemplo n.º 3
0
 private void chkAutoClose_CheckedChanged(object sender, EventArgs e)
 {
     BuildSettings.Instance.AutoClose = chkAutoClose.Checked;
     BuildSettings.Save();
 }