private void MenuItem_Click(object sender, RoutedEventArgs e) { Window WindowsFrom = new channel(); WindowsFrom.ShowDialog(); }