public void AddSubCategory(TagSubCategory subcat, StringTagStore tags) { StringTaggerWidget tagger = new StringTaggerWidget(subcat, tags); table1.Attach(tagger, 0, 1, table1.NRows - 1, table1.NRows); table1.NRows++; tagger.Show(); }
public void AddSubCategory(TagSubCategory subcat, StringTagStore tags) { if (subcat.Count == 0) return; StringTaggerWidget tagger = new StringTaggerWidget(subcat, tags); table1.Attach(tagger,0, 1, table1.NRows-1, table1.NRows); table1.NRows ++; tagger.Show(); }
public void AddSubCategory(SubCategory subcat, TagsStore tags) { if (subcat.Options.Count == 0) { return; } StringTaggerWidget tagger = new StringTaggerWidget(subcat, tags); table1.Attach(tagger, 0, 1, table1.NRows - 1, table1.NRows); table1.NRows++; tagger.Show(); }