public void viewMemberInfo(object sender, EventArgs s)
        {
            CommodityInfoforSearch commodityInfoforSearch = sender as CommodityInfoforSearch;

            if (Program.SystemMode == 1)
            {
                frshyscorp frshyscorp = new frshyscorp(frs, commodityInfoforSearch.barcode, commodityInfoforSearch.getcommodityName());
                frshyscorp.Location = new Point(base.Location.X, base.Location.Y);
                frshyscorp.setSearchResult(this);
                frshyscorp.ShowDialog();
            }
            else
            {
                frshyscorp frshyscorp2 = new frshyscorp(frsm, commodityInfoforSearch.barcode, commodityInfoforSearch.getcommodityName());
                frshyscorp2.Location = new Point(base.Location.X, base.Location.Y);
                frshyscorp2.setSearchResult(this);
                frshyscorp2.ShowDialog();
            }
        }