Example #1
0
 private void txtprice_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter && txtprice.Text != string.Empty)
     {
         TXTsumtotals.Focus();
     }
 }
Example #2
0
        void ClearData()
        {
            TXTCUSTOMERID.Clear();
            TXTCUSTOMERNAME.Clear();
            TXTDESCRIPTION.Clear();
            TXTFAMILYNAME.Clear();
            TXTEMAIL.Clear();
            TXTPHONE.Clear();
            TXTORDER.Clear();
            TXTDESCRIPTION.Clear();

            ClearBoxes();
            dt.Clear();

            TXTsumtotals.Clear();
            PBcoustomer.Image = null;
            BTNNEW.Enabled    = true;
            BTNSAVE.Enabled   = false;
            BTNPRINT.Enabled  = true;
        }