예제 #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();
 }