/// <summary> /// 为Sharding增加Tag /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAddShardTag_Click(object sender, EventArgs e) { var Resultlst = new List <CommandResult> { CommandHelper.AddShardTag(_prmSvr, txtShardName.Text, txtTagShard.Text) }; MyMessageBox.ShowMessage("Add Shard Tag", "Result", MongoDbHelper.ConvertCommandResultlstToString(Resultlst)); }