protected override void OnLoad(EventArgs e) { base.OnLoad(e); InitOxide hook = Hook as InitOxide; ignorechanges = true; injectionindex.Value = hook.InjectionIndex; ignorechanges = false; }
private void injectionindex_ValueChanged(object sender, EventArgs e) { if (ignorechanges) { return; } InitOxide hook = Hook as InitOxide; hook.InjectionIndex = (int)injectionindex.Value; NotifyChanges(); }