Exemple #1
0
 private void ITEMS_Load(object sender, EventArgs e)
 {
     CLS_ITEM.LOAD_CATEGORY(CMB_CATEGORY);
     LOAD_ITEM_lIST();
     TXT_BARCODE.Focus();
     this.toolTip1.SetToolTip(this.button1, "Press This to Refresh Category List");
 }
Exemple #2
0
 private void clearAll()
 {
     LBL_ITEM_ID.Text           = "N/A";
     CMB_CATEGORY.SelectedIndex = -1;
     TXT_BARCODE.Clear();
     TXT_ITEMNAME.Clear();
     CHK_SEARCH_ITEMNAME.Checked = false;
     CHK_QTY_HANDEL.Checked      = false;
     CMB_ITEM_TYPE.SelectedIndex = -1;
 }
Exemple #3
0
        private void BTN_NEW_Click(object sender, EventArgs e)
        {
            if (BTN_SAVE.Enabled == false)
            {
                EnableControls();
            }

            clearAll();
            TXT_BARCODE.Focus();
            CHK_QTY_HANDEL.Enabled = true;
            BTN_SAVE.Text          = "SAVE";
        }