<legend id='AMpgH'><style id='AMpgH'><dir id='AMpgH'><q id='AMpgH'></q></dir></style></legend>

      <bdo id='AMpgH'></bdo><ul id='AMpgH'></ul>
  1. <tfoot id='AMpgH'></tfoot>

  2. <i id='AMpgH'><tr id='AMpgH'><dt id='AMpgH'><q id='AMpgH'><span id='AMpgH'><b id='AMpgH'><form id='AMpgH'><ins id='AMpgH'></ins><ul id='AMpgH'></ul><sub id='AMpgH'></sub></form><legend id='AMpgH'></legend><bdo id='AMpgH'><pre id='AMpgH'><center id='AMpgH'></center></pre></bdo></b><th id='AMpgH'></th></span></q></dt></tr></i><div id='AMpgH'><tfoot id='AMpgH'></tfoot><dl id='AMpgH'><fieldset id='AMpgH'></fieldset></dl></div>

      <small id='AMpgH'></small><noframes id='AMpgH'>

      仅用于用户输入的 TextBox 事件

      时间:2023-06-09
        <tfoot id='Djrsw'></tfoot>

            <tbody id='Djrsw'></tbody>

          <small id='Djrsw'></small><noframes id='Djrsw'>

          • <i id='Djrsw'><tr id='Djrsw'><dt id='Djrsw'><q id='Djrsw'><span id='Djrsw'><b id='Djrsw'><form id='Djrsw'><ins id='Djrsw'></ins><ul id='Djrsw'></ul><sub id='Djrsw'></sub></form><legend id='Djrsw'></legend><bdo id='Djrsw'><pre id='Djrsw'><center id='Djrsw'></center></pre></bdo></b><th id='Djrsw'></th></span></q></dt></tr></i><div id='Djrsw'><tfoot id='Djrsw'></tfoot><dl id='Djrsw'><fieldset id='Djrsw'></fieldset></dl></div>
          • <legend id='Djrsw'><style id='Djrsw'><dir id='Djrsw'><q id='Djrsw'></q></dir></style></legend>
                <bdo id='Djrsw'></bdo><ul id='Djrsw'></ul>
                本文介绍了仅用于用户输入的 TextBox 事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个文本框控件,它有时以编程方式更新,也可以由用户更新.我如何区分这两个事件?我想要一个Dirty"标志设置为真";当用户更改文本时.

                I have a Textbox control which sometimes updated programmatically and also can be update by the user. How can I distinct between those two event? I'd like to have a "Dirty" flag set to "True" when the user changes the text.

                推荐答案

                可以使用文本框的Key Down事件.

                You can use the Key Down event of the text box.

                  private void textBox1_KeyDown(object sender, KeyEventArgs e)
                  {
                      // Insert the code you want to run when the text changes here!
                  }
                

                这篇关于仅用于用户输入的 TextBox 事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:从另一个类更改文本框 下一篇:清除选定选项卡中所有文本框的文本

                相关文章

                1. <small id='3aiUP'></small><noframes id='3aiUP'>

                  <tfoot id='3aiUP'></tfoot>

                    <legend id='3aiUP'><style id='3aiUP'><dir id='3aiUP'><q id='3aiUP'></q></dir></style></legend>
                  1. <i id='3aiUP'><tr id='3aiUP'><dt id='3aiUP'><q id='3aiUP'><span id='3aiUP'><b id='3aiUP'><form id='3aiUP'><ins id='3aiUP'></ins><ul id='3aiUP'></ul><sub id='3aiUP'></sub></form><legend id='3aiUP'></legend><bdo id='3aiUP'><pre id='3aiUP'><center id='3aiUP'></center></pre></bdo></b><th id='3aiUP'></th></span></q></dt></tr></i><div id='3aiUP'><tfoot id='3aiUP'></tfoot><dl id='3aiUP'><fieldset id='3aiUP'></fieldset></dl></div>
                    • <bdo id='3aiUP'></bdo><ul id='3aiUP'></ul>