public static void RegisterCustomConfigTab(ICodeweaverPlugin _this, string TabText, Control Tab) { CustomConfigTab ct = g.CustomConfigTabs.FindByControl(Tab); if (ct != null) { return; } g.CustomConfigTabs.Add(new CustomConfigTab(_this, Tab, TabText)); GC.SuppressFinalize(Tab); }
public static void DeregisterCustomConfigTab(Control Tab) { CustomConfigTab ct = g.CustomConfigTabs.FindByControl(Tab); if (ct == null) { return; } g.CustomConfigTabs.Remove(ct); GC.ReRegisterForFinalize(Tab); }
public virtual void Remove(CustomConfigTab Tab) { this.List.Remove(Tab); }
public virtual void Add(CustomConfigTab Tab) { this.List.Add(Tab); }