Пример #1
0
        private void tab1_menu0_Click(object sender, RoutedEventArgs e)
        {
            //탭2 추가
            AddPrefixInternational __pop = new AddPrefixInternational(AddPrefixStates.Add);

            __pop.Owner = this;
            __pop.Show();
        }
Пример #2
0
        private void tab1_menu1_Click(object sender, RoutedEventArgs e)
        {
            //탭2 수정
            MenuItem          __menuItem    = (MenuItem)e.Source;
            ContextMenu       __contextMenu = (ContextMenu)__menuItem.Parent;
            ListView          __lv          = (ListView)__contextMenu.PlacementTarget;
            INTERNATIONALRATE __rowview     = (INTERNATIONALRATE)__lv.SelectedItem;

            AddPrefixInternational __pop = new AddPrefixInternational(AddPrefixStates.Modify);

            __pop.Owner = this;
            __pop._obj  = __rowview;
            __pop.Show();
        }
Пример #3
0
        private void tab1_menu1_Click(object sender, RoutedEventArgs e)
        {
            //탭2 수정
            MenuItem __menuItem = (MenuItem)e.Source;
            ContextMenu __contextMenu = (ContextMenu)__menuItem.Parent;
            ListView __lv = (ListView)__contextMenu.PlacementTarget;
            INTERNATIONALRATE __rowview = (INTERNATIONALRATE)__lv.SelectedItem;

            AddPrefixInternational __pop = new AddPrefixInternational(AddPrefixStates.Modify);
            __pop.Owner = this;
            __pop._obj = __rowview;
            __pop.Show();
        }
Пример #4
0
 private void tab1_menu0_Click(object sender, RoutedEventArgs e)
 {
     //탭2 추가
     AddPrefixInternational __pop = new AddPrefixInternational(AddPrefixStates.Add);
     __pop.Owner = this;
     __pop.Show();
 }