Ejemplo n.º 1
0
        public static TrackingAdsForm Instance(int listingId, int cityId)
        {
            if (sForm == null)
            {
                sForm = new TrackingAdsForm(listingId, cityId);
            }

            else
            {
                sForm.Close();
                sForm = new TrackingAdsForm(listingId, cityId);
            }

            return(sForm);
        }
Ejemplo n.º 2
0
        public static TrackingAdsForm Instance()
        {
            if (sForm == null)
            {
                sForm = new TrackingAdsForm();
            }

            else
            {
                sForm.Close();
                sForm = new TrackingAdsForm();
            }

            return(sForm);
        }