private InactiveCharacterControl create_inactive_control(string id) { InactiveCharacterControl new_control = new InactiveCharacterControl(relinquish_focus, id); new_control.Dock = DockStyle.Top; return(new_control); }
private void add_inactive_control(string id, bool sort = true) { InactiveCharacterControl new_control = create_inactive_control(id); inactivecharacterspanel.Controls.Add(new_control); if (sort) { sort_inactivecharacterspanel(); } }