private void LVDayBook_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                String str = "select p.Product_Name,bp.Product_Qty,bp.Free,p.Product_Price,bp.Product_Per_rate,bp.Product_total_Amt from BillProductMaster bp inner join ProductMaster p on p.ProductID=bp.ProductID where Bill_No='" + LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text + "' and BillType='SR' and isactive=1";

                SaleReturn bd = new SaleReturn(this);
                bd.updatemode(str, LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text, 1);
                bd.Show();
            }
        }
        private void LVDayBook_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            try
            {
                this.Enabled = false;
                String str = LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text;

                SaleReturn bd = new SaleReturn(this);
                bd.updatemode(str, LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text, 1);
                bd.Show();
            }
            finally
            {
                this.Enabled = true;
            }
        }