示例#1
0
        //s o l i d prensipleri
        //singleton pattern
        public static StudentManager GetInstance()
        {
            if (studentManager == null)
            {
                studentManager = new StudentManager();
            }

            return(studentManager);
        }
示例#2
0
 public FrmDashboard()
 {
     InitializeComponent();
     studentManager = StudentManager.GetInstance();
 }
示例#3
0
 public frmDetail()
 {
     InitializeComponent();
     studentManager = StudentManager.GetInstance();
 }