private void IgnoreGlobal(object obj) { if (!(obj is bool)) { return; } if ((bool)obj) { c_Info.RemoveGlobalIgnore(c_Target); } else { c_Info.AddGlobalIgnore(c_Target); } Owner.CloseGump(typeof(ListGump), -5); NewGump(); }