Example #1
0
        private void SwapSubChannelRows(int index1, int index2)
        {
            Channel temp = subchannels_[index1];

            subchannels_[index1] = subchannels_[index2];
            subchannels_[index2] = temp;
            SubChannelsGrid.InvalidateRow(index1);
            SubChannelsGrid.InvalidateRow(index2);
            ChannelEditing.SetSubChannels(merged_channel_, subchannels_, true);
        }