Пример #1
0
 private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
 {
     AddDbUserForm aduf = new AddDbUserForm(postgreConnection);
     if(aduf.ShowDialog()== DialogResult.OK)
     {
         DrawData();
     }
 }
Пример #2
0
 private void addUserItem1_Click(object sender, EventArgs e)
 {
     AddDbUserForm aefForm = new AddDbUserForm(postgreConnection);
     aefForm.MdiParent = this;
     aefForm.Show();
 }