private void connectionReconnect_Click(object sender, EventArgs e) { var connection = connectionList.SelectedItem as IChannelConnectionItem; if (connection!=null && connection.IsReconnectable) { connection.Reconnect(); } }