private void btn_add_tag_Click(object sender, RoutedEventArgs e)
 {
     TagItem item = new TagItem();
     EditTagWnd wnd = new EditTagWnd(item);
     if (wnd.ShowDialog() == true)
     {
         Session.Tags.Add(item);
     }
 }
 private void btn_edit_tag_Click(object sender, RoutedEventArgs e)
 {
     TagItem item = lst_tags.SelectedItem as TagItem;
       if (item != null)
       {
     EditTagWnd wnd = new EditTagWnd(item);
     wnd.ShowDialog();
       }
 }
예제 #3
0
        private void btn_edit_tag_Click(object sender, RoutedEventArgs e)
        {
            TagItem item = lst_tags.SelectedItem as TagItem;

            if (item != null)
            {
                var wnd = new EditTagWnd(item);
                wnd.ShowDialog();
            }
        }
예제 #4
0
        private void btn_add_tag_Click(object sender, RoutedEventArgs e)
        {
            TagItem    item = new TagItem();
            EditTagWnd wnd  = new EditTagWnd(item);

            if (wnd.ShowDialog() == true)
            {
                Session.Tags.Add(item);
            }
        }