private void tab2_menu0_Click(object sender, RoutedEventArgs e) { AddPrefixInterRegion __pop = new AddPrefixInterRegion(); __pop.Owner = this; __pop.Show(); }
private void tab2_menu1_Click(object sender, RoutedEventArgs e) { MenuItem __menuItem = (MenuItem)e.Source; ContextMenu __contextMenu = (ContextMenu)__menuItem.Parent; ListView __lv = (ListView)__contextMenu.PlacementTarget; CallingRateInterRegion __rowview = (CallingRateInterRegion)__lv.SelectedItem; AddPrefixInterRegion __pop = new AddPrefixInterRegion(); __pop.Owner = this; __pop._propsValue = __rowview; __pop.Show(); }