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