Exemplo n.º 1
0
        private void ButtonDelete_Click(object sender, EventArgs e)
        {
            string id_SN        = textBoxSNDel.Text.ToString();
            string id_WorkOrder = textBoxWorderDel.Text.ToString();
            bool   VSn          = Common.ValidadorCamposVacios(id_SN, "SN");
            bool   VWorder      = Common.ValidadorCamposVacios(id_WorkOrder, "Work Order");

            if (VSn == true && VWorder == true)
            {
                Sentencias.Delete_inventory(id_SN, id_WorkOrder);
                this.Close();
            }
        }