Example #1
0
        private InactiveCharacterControl create_inactive_control(string id)
        {
            InactiveCharacterControl new_control = new InactiveCharacterControl(relinquish_focus, id);

            new_control.Dock = DockStyle.Top;
            return(new_control);
        }
Example #2
0
        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();
            }
        }