Example #1
0
 private void txtVchNo_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         TxtBillNo.Focus();
     }
 }
 private void DTPTime_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         TxtBillNo.Focus();
         e.Handled = true;
     }
 }
Example #3
0
 public void clearall()
 {
     //getsr();
     TxtRundate.Text           = DateTime.Now.ToShortDateString();
     cmbterms.SelectedIndex    = -1;
     cmbcustname.SelectedIndex = -1;
     cmbsaletype.SelectedIndex = -1;
     txtpono.Text      = string.Empty;
     lbltotpqty.Text   = string.Empty;
     lbltaxtot.Text    = string.Empty;
     TxtBillTotal.Text = string.Empty;
     lblbasictot.Text  = "0";
     lbltaxtot.Text    = "0";
     lbltotcount.Text  = "0";
     lbltotpqty.Text   = "0";
     txtweight.Text    = string.Empty;
     txtdispatch.Text  = string.Empty;
     txtremarks.Text   = string.Empty;
     TxtBillNo.Text    = "";
     TxtBillNo.Focus();
 }