예제 #1
0
 public AllProfiles()
 {
     InitializeComponent();
     microDb = new MicroContext();
     microDb.ProfileServices.Load();
     gridProfiles.DataSource = microDb.ProfileServices.Local.ToBindingList();
 }
예제 #2
0
        public AllDepartments()
        {
            InitializeComponent();

            microDb = new MicroContext();
            microDb.Departments.Load();
            gridDepartments.DataSource = microDb.Departments.Local.ToBindingList();
        }