private void toolStripMenuItemModificar_Click(object sender, EventArgs e)
        {
            Guid      Id  = (Guid)this.dataGridViewPedido.SelectedRows[0].Cells["Id"].Value;
            frmPedido frm = new frmPedido(Id, Modos.Modificar);

            if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.labelTotal.Text = "Total: " + admCompras.Total.ToString("c");
            }
            this.ListarPedido();
        }
        private void dataGridViewPedido_DragDrop(object sender, DragEventArgs e)
        {
            int       Id  = Convert.ToInt32(e.Data.GetData(typeof(Int32)));
            frmPedido frm = new frmPedido(Id, Modos.Agregar);

            if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                this.labelTotal.Text = "Total: " + admCompras.Total.ToString("c");
            }
            this.ListarPedido();
        }