Exemple #1
0
        private CharacterEditControl create_active_control(string active_id)
        {
            CharacterEditControl new_control = new CharacterEditControl(relinquish_focus, active_id);

            new_control.Dock = DockStyle.Top;
            return(new_control);
        }
Exemple #2
0
        private void add_active_control(string active_id, bool sort = true)
        {
            CharacterEditControl new_control = create_active_control(active_id);

            activecharacterspanel.Controls.Add(new_control);
            if (sort)
            {
                sort_activecharacterspanel();
            }
        }