private void tab3_menu2_Click(object sender, RoutedEventArgs e) { MenuItem __menuItem = (MenuItem)e.Source; ContextMenu __contextMenu = (ContextMenu)__menuItem.Parent; ListView __lv = (ListView)__contextMenu.PlacementTarget; CallingRateException __rowview = (CallingRateException)__lv.SelectedItem; }
private void tab3_menu1_Click(object sender, RoutedEventArgs e) { MenuItem __menuItem = (MenuItem)e.Source; ContextMenu __contextMenu = (ContextMenu)__menuItem.Parent; ListView __lv = (ListView)__contextMenu.PlacementTarget; CallingRateException __rowview = (CallingRateException)__lv.SelectedItem; AddPrefixException __pop = new AddPrefixException(); __pop.Owner = this; __pop._propsValue = __rowview; __pop.Show(); }