コード例 #1
0
ファイル: Tags.cs プロジェクト: ITLec/Dynamics-365-XEP
 /// <summary>
 /// Creates the new tag.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 protected void CreateNewTag(object sender, EventArgs e)
 {
     if (newTagTextBox.Text != "")
     {
         string[] tags = newTagTextBox.Text.Split(',');
         foreach (string s in tags)
         {
             if (s != "")
             {
                 TaggableItem.AddTag(s.Trim());
             }
         }
         UpdateData();
     }
 }