title: trigger a keyup without pressing a key C#
body: <p>i wanna trigger a keyup event just by calling the form and not pressing a key</p>
  <p>Heres my code:</p>
  <pre><code>if (dr.HasRows)
                  {
                      FrmQty fqty = new FrmQty(this);
                      fqty.ProductDetails(dr[&quot;ProductID&quot;].ToString(), float.Parse(dr[&quot;ProductPrice&quot;].ToString()), lblTransno.Text);
                      fqty.txtQty.Text = &quot;1&quot;;
                      fqty.txtQty_KeyUp();//i wanna trigger it here by pressing &quot;Enter&quot; key. its an event from FormQty
                      fqty.ShowDialog();
                  }
  </code></pre>