Esempio n. 1
0
 private void estadoCivilToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["EstadoCivil"] != null)
     {
         Application.OpenForms["EstadoCivil"].Activate();
     }
     else
     {
         EstadoCivil frm = new EstadoCivil();
         frm.MdiParent = this;
         frm.Show();
     }
 }
Esempio n. 2
0
        private void button3_Click(object sender, EventArgs e)
        {
            int sel = Convert.ToInt32(comboBox3.SelectedValue);
            EstadoCivil frm = new EstadoCivil();
            frm.ShowDialog();

            this.estadoCivilTableAdapter.Fill(this.promowork_dataDataSet.EstadoCivil);
            comboBox3.SelectedValue = sel;
        }