Ejemplo n.º 1
0
 public static ImplCourses getInstance()
 {
     if (instance == null)
     {
         instance = new ImplCourses();
     }
     if (daoCourses == null)
     {
         daoCourses = new DAOCourses();
     }
     return instance;
 }
Ejemplo n.º 2
0
        public static searchSound createForm(TextBox tBox)
        {
            //if (instance == null || instance.IsDisposed)
            //{
                instance = new searchSound();
            //}
            if (implCourses == null)
            {
                implCourses = ImplCourses.getInstance();
            }
            if (strWheres == null)
            {
                strWheres = new Dictionary<string, string>();
            }
            textBox = tBox;

            return instance;
        }