1.用属性的只写操作

public string MyTextBox
  {
   set
   {
    this.txtAddVersion.Text = value;
    this.txtAddDate.Text = value;
    this.txtAddFunction.Text = value;
    this.txtAddSummary.Text = value;
    this.txtAddDescription.Text = value;
   }
     }

2.将属性的文本值集合清空

private void btnDelete_Click(object sender, System.EventArgs e)
  {
   MyTextBox = string.Empty;
  }

相关文章:

  • 2021-08-30
  • 2022-12-23
  • 2021-11-20
  • 2021-09-29
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
猜你喜欢
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2020-11-09
  • 2021-12-28
  • 2021-11-24
相关资源
相似解决方案