Beispiel #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     uRGENCIABindingSource.EndEdit();
     try
     {
         uRGENCIABindingSource.AddNew();
     }
     catch { }
     uRGENCIABindingSource.RemoveCurrent();
     tableAdapterManager.UpdateAll(bD);
     checkClose = false;
     principal.Show();
     this.Hide();
 }
Beispiel #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            this.tRABALHADORBindingSource.EndEdit();
            try
            {
                this.tRABALHADORBindingSource.AddNew();
            }
            catch { }
            this.tRABALHADORBindingSource.RemoveCurrent();
            this.tableAdapterManager.UpdateAll(this.bD);

            checkClose = false;
            principal.Show();
            Hide();
        }