예제 #1
0
        public static frmVozila Instance()
        {
            if (vozilo == null)
            {
                vozilo = new frmVozila();
            }

            return(vozilo);
        }
예제 #2
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);

            vozilo = null;
        }