//this will create a single instance of form
        public static frmManageProduct CreateInstance()
        {
            frmManageProduct f;

            if (thisform == null)
            {
                thisform = new frmManageProduct();
            }
            f = (frmManageProduct)thisform;
            return(f);
        }
        private void showManageProductDetails()
        {
            //Create Only One Instance of Form
            frmManageProduct f = frmManageProduct.CreateInstance();

            //settings for frmManageProduct
            f.MdiParent      = this;
            f.dataGrid.Width = Width - (imgAd.Width + 35);

            showManaged(f);
            showToolbars(new bool[] { false, false, false, false, true });
        }