Beispiel #1
0
        public TeamForm()
        {
            dbm = DatabaseManager.Instance;
            LoadDatabase();


            InitializeComponent();
            
            cob_Front1.DataSource = Disciple.GetNames();
            cob_Front2.DataSource = Disciple.GetNames();
            cob_Front3.DataSource = Disciple.GetNames();
            cob_Center1.DataSource = Disciple.GetNames();
            cob_Center2.DataSource = Disciple.GetNames();
            cob_Center3.DataSource = Disciple.GetNames();
            cob_Rear1.DataSource = Disciple.GetNames();
            cob_Rear2.DataSource = Disciple.GetNames();
            cob_Rear3.DataSource = Disciple.GetNames();
        }
Beispiel #2
0
 public static void Initialize()
 {
     if (instance == null)
         instance = new DatabaseManager();
 }
Beispiel #3
0
 private Dao()
 {
     db = DatabaseManager.Instance;
 }