private void ViewChannelsButton_Click(object sender, EventArgs e) { using (var dialog = new ChannelsForm()) { dialog.ShowDialog(); } }