private void btnnew_Click(object sender, EventArgs e)
        {
            SaleOfOrder frm = new SaleOfOrder();

            frm.MdiParent     = this.MdiParent;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.Show();
            // this.Close();
        }
        private void listback()
        {
            try
            {
                String      str    = LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[0].Text;
                String      compid = LVDayBook.Items[LVDayBook.FocusedItem.Index].SubItems[5].Text;
                SaleOfOrder bd     = new SaleOfOrder(this);
                bd.updatemode(str, compid, 1);
                bd.MdiParent     = this.MdiParent;
                bd.StartPosition = FormStartPosition.CenterScreen;

                bd.Show();
            }
            catch { }
        }