private void N_Click(object sender, EventArgs e) { //change to home myChannelView m = new myChannelView(); m.ShowDialog(this); if (thisChannel.getChannelId() == m.thisChannel.getChannelId()) { loader(); } }