private void treeViewChannel_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
TreeViewHitTestInfo tvhti = this.treeViewChannel.HitTest(e.Location.X, e.Location.Y);
if (tvhti.Node == null)
this.treeViewChannel.SelectedNode = null;
//else if(MainForm.panelChannelProperties.Visible)
// ShowProperties();
}
}