public Employee(MyAppContext myAppContext) { this.myAppContext = myAppContext; InitializeComponent(); this.dataGridView1.DataSource = myAppContext.GetUsers().Tables["Users"]; }
public PersonForm() { this.myAppContext = myAppContext; InitializeComponent(); this.dataGridView1.DataSource = myAppContext.GetUsers().Tables["Users"]; }