private void btnNewRequisition_Click(object sender, EventArgs e)
 {
     if (BLL.Settings.UseNewUserManagement)
     {
         WishListForm wlf = new WishListForm();
         //wlf.Parent = this;
         this.ReplaceMe(wlf);
     }
 }
        private void btnEditRequistion_Click(object sender, EventArgs e)
        {
            DataRow dr = gridRequisitionListView.GetFocusedDataRow();


            WishListForm wlf = new WishListForm();;

            if (BLL.Settings.UseNewUserManagement)
            {
                this.ReplaceMe(wlf);
            }

            if (dr != null)
            {
                int orderID = Convert.ToInt32(dr["ID"]);

                wlf.EditRequisition(orderID);
            }
        }