private void pictureBox9_Click(object sender, EventArgs e)
        {
            AdminSaleForm f12 = new AdminSaleForm(UserId);

            f12.MdiParent = this.MdiParent;
            f12.Show();
            this.Hide();
        }
        private void closeButton_Click(object sender, EventArgs e)
        {
            if (type == "sale")
            {
                SfSaleForm sf = new SfSaleForm();
                sf.SaleForm(parent);
            }
            else
            {
                AdminSaleForm ad = new AdminSaleForm(id);
                ad.SaleForm(parent);
            }

            this.Close();
        }