private void Enabled_Click(object sender, EventArgs e) { ExtendedControls.CheckBoxCustom cb = sender as ExtendedControls.CheckBoxCustom; Group g = cb.Tag as Group; VersioningManager.SetEnableFlag(g.di, cb.Checked, EDDOptions.Instance.AppDataDirectory); changelist[g.di.itemname] = cb.Checked ? "+" : "-"; }
private void Enabled_Click(object sender, EventArgs e) { ExtendedControls.ExtCheckBox cb = sender as ExtendedControls.ExtCheckBox; Group g = cb.Tag as Group; VersioningManager.SetEnableFlag(g.di, cb.Checked, EDDOptions.Instance.AppDataDirectory); if (g.di.localenable == cb.Checked) { changelist.Remove(g.di.itemname); } else { changelist[g.di.itemname] = cb.Checked ? "+" : "-"; } }