private void PermissionAdded()
        {
            MessageBox.Show("Permission Level " + textBox_permission_level.Text + " added.");

            comboBox.Items.Clear();
            comboBox.Items.Add("New Permission");
            comboBox.SelectedIndex = 0;
            LinkedList <string> perms = controller.GetPermissionsForComboBox();

            foreach (string permission in perms)
            {
                comboBox.Items.Add(permission);
            }
            comboBox.SelectedIndex = comboBox.Items.Count - 1;
        }
        public PermissionsPage()
        {
            InitializeComponent();

            controller = new PermissionsController();
            controller.Control();

            comboBox.Items.Add("New Permission");
            comboBox.SelectedIndex = 0;
            LinkedList <string> perms = controller.GetPermissionsForComboBox();

            foreach (string permission in perms)
            {
                comboBox.Items.Add(permission);
            }
        }