private void AddEditChannel_MenuClick(object sender, RoutedEventArgs e)
        {
            AddchannelDialog addChannelDialog = new AddchannelDialog(this);

            if (addChannelDialog.ShowDialog() == true)
            {
                ReloadList();
            }
        }
        private void LvChannel_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Channel currChannel = lvChannel.SelectedItem as Channel;

            if (currChannel == null)
            {
                return;
            }

            AddchannelDialog editDialog = new AddchannelDialog(this, currChannel);

            if (editDialog.ShowDialog() == true)
            {
                ReloadList();
            }
        }