private void bnt_add_ws_Click(object sender, EventArgs e)
        {
            string docno = cmbDOCNO.SelectedValue.ToString();
            string TYID  = cmdTYID.SelectedValue.ToString();
            string BID   = cmdBID.SelectedValue.ToString();


            frmLOG_WholeSale frm = new frmLOG_WholeSale(_cBeauty, docno, TYID, BID, "IS");

            frm.ShowDialog();

            clareData();
        }
        private void ขายสงToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ListViewItem itemSelect = lsvData.SelectedItems[0];
            string       docno      = itemSelect.SubItems[1].Text;
            string       whcode     = itemSelect.SubItems[6].Text;
            string       net        = itemSelect.SubItems[12].Text;
            string       TYID       = itemSelect.SubItems[4].Text;
            string       BID        = itemSelect.SubItems[5].Text;
            string       DVAL       = itemSelect.SubItems[13].Text;
            int          ID         = int.Parse(itemSelect.SubItems[14].Text);


            frmLOG_WholeSale frm = new frmLOG_WholeSale(_cBeauty, docno, whcode, net, TYID, BID, DVAL, ID, "UP");

            frm.ShowDialog();

            clareData();
        }