public void ShowProperties()
{
this.currentPropertyChannels = new Hashtable();
foreach (TreeNode tn in this.treeViewChannel.SelectedNodes)
this.currentPropertyChannels[(tn.Tag as Channel).MakeCopy()] = tn;
MainForm.panelChannelProperties.propertyGridChannel.SelectedObjects = (new ArrayList(this.currentPropertyChannels.Keys)).ToArray();
if (this.treeViewChannel.SelectedNodes.Count == 1 && (this.treeViewChannel.SelectedNodes[0] as TreeNode).Tag is ChannelTV)
MainForm.panelChannelProperties.comboBoxTunerType.SelectedIndex = MainForm.panelChannelProperties.comboBoxTunerType.FindStringExact(new TunerTypeEx(((this.treeViewChannel.SelectedNodes[0] as TreeNode).Tag as ChannelTV).TunerType).ToString());
MainForm.panelChannelProperties.buttonPropertyApply.Enabled = true;
}