private void Podrobnee_Click(object sender, RoutedEventArgs e) { var winda = new ElViewer(); winda.tbEl.Text = (string)((MenuItem)sender).DataContext; bool?rewa = winda.ShowDialog(); }
private void Podrobnee_Click(object sender, RoutedEventArgs e) { var winda = new ElViewer(); winda.tbEl.Text = (string)((MenuItem)sender).DataContext; bool? rewa = winda.ShowDialog(); }