private void btnModify_Click(object sender, EventArgs e) { if (CurrentSelectedTag != null) { TagEditor.ModifyTag(CurrentSelectedTag); } }
public static DialogResult InsertTag(K12.Data.TagCategory category) { TagEditor editor = new TagEditor(category); return(editor.ShowDialog()); }
public static DialogResult ModifyTag(JHTagConfigRecord tag) { TagEditor editor = new TagEditor(tag); return(editor.ShowDialog()); }
private void btnAdd_Click(object sender, EventArgs e) { TagEditor.InsertTag(Category); }