Beispiel #1
0
        private void tab0_menu0_Click(object sender, RoutedEventArgs e)
        {
            //탭1 추가
            AddPrefix __pop = new AddPrefix(AddPrefix.AddPrefixStates.Add);

            __pop.Owner = this;
            __pop.Show();
        }
Beispiel #2
0
        private void tab0_menu1_Click(object sender, RoutedEventArgs e)
        {
            //탭1 수정
            MenuItem     __menuItem    = (MenuItem)e.Source;
            ContextMenu  __contextMenu = (ContextMenu)__menuItem.Parent;
            ListView     __lv          = (ListView)__contextMenu.PlacementTarget;
            DOMESTICRATE __rowview     = (DOMESTICRATE)__lv.SelectedItem;

            AddPrefix __pop = new AddPrefix(AddPrefix.AddPrefixStates.Modify);

            __pop.Owner         = this;
            __pop._domesticrate = __rowview;
            __pop.Show();
        }
Beispiel #3
0
        private void tab0_menu1_Click(object sender, RoutedEventArgs e)
        {
            //탭1 수정
            MenuItem __menuItem = (MenuItem)e.Source;
            ContextMenu __contextMenu = (ContextMenu)__menuItem.Parent;
            ListView __lv = (ListView)__contextMenu.PlacementTarget;
            DOMESTICRATE __rowview = (DOMESTICRATE)__lv.SelectedItem;

            AddPrefix __pop = new AddPrefix(AddPrefix.AddPrefixStates.Modify);
            __pop.Owner = this;
            __pop._domesticrate = __rowview;
            __pop.Show();
        }
Beispiel #4
0
 private void tab0_menu0_Click(object sender, RoutedEventArgs e)
 {
     //탭1 추가
     AddPrefix __pop = new AddPrefix(AddPrefix.AddPrefixStates.Add);
     __pop.Owner = this;
     __pop.Show();
 }