/// <summary>
        /// The PopulateUsers method.
        /// </summary>
        private void PopulateUsers()
        {
            foreach (var user in SelectedPrivilege.LinkedUsers)
            {
                CurrentSourceList.Add(user.Id);
            }

            // Add each user to lvPrivilegeSources.
            foreach (var user in MainForm.CurrentSystem.Users)
            {
                var lvItem = new ListViewItem(string.Empty);
                lvItem.SubItems.Add(user.Name);
                lvItem.Tag = user;
                if (CurrentSourceList.Any(s => user.Id.Contains(s)))
                {
                    lvItem.Checked = true;
                }

                lvPrivilegeSources.Items.Add(lvItem);
            }
        }
        /// <summary>
        /// The PopulateDrawings method.
        /// </summary>
        private void PopulateDrawings()
        {
            foreach (var drawing in SelectedPrivilege.LinkedDrawings)
            {
                CurrentSourceList.Add(drawing.Id);
            }

            // Add each drawing to lvPrivilegeSources.
            foreach (var drawing in MainForm.CurrentSystem.Drawings)
            {
                var lvItem = new ListViewItem(string.Empty);
                lvItem.SubItems.Add(drawing.Name);
                lvItem.Tag = drawing;
                if (CurrentSourceList.Any(s => drawing.Id.Contains(s)))
                {
                    lvItem.Checked = true;
                }

                lvPrivilegeSources.Items.Add(lvItem);
            }
        }
        /// <summary>
        /// The PopulateRelayOutputs method.
        /// </summary>
        private void PopulateRelayOutputs()
        {
            foreach (var relayOutput in SelectedPrivilege.LinkedRelayOutputs)
            {
                CurrentSourceList.Add(relayOutput.Id);
            }

            // Add each relay output to lvPrivilegeSources.
            foreach (var relayOutput in MainForm.CurrentSystem.RelayOutputs)
            {
                var lvItem = new ListViewItem(string.Empty);
                lvItem.SubItems.Add(relayOutput.Name);
                lvItem.Tag = relayOutput;
                if (CurrentSourceList.Any(s => relayOutput.Id.Contains(s)))
                {
                    lvItem.Checked = true;
                }

                lvPrivilegeSources.Items.Add(lvItem);
            }
        }
        /// <summary>
        /// The PopulateDevices method.
        /// </summary>
        private void PopulateDevices()
        {
            foreach (var device in SelectedPrivilege.LinkedDevices)
            {
                CurrentSourceList.Add(device.Id);
            }

            // Add each device to lvPrivilegeSources.
            foreach (var device in MainForm.CurrentDevices)
            {
                var lvItem = new ListViewItem(string.Empty);
                lvItem.SubItems.Add(device.Name);
                lvItem.Tag = device;
                if (CurrentSourceList.Any(s => device.Id.Contains(s)))
                {
                    lvItem.Checked = true;
                }

                lvPrivilegeSources.Items.Add(lvItem);
            }
        }