Exemplo n.º 1
0
 private void button4_Click(object sender, EventArgs e)
 {
     using (AddNewVoterToKalpi addNewVoterKalpi = new AddNewVoterToKalpi(kalpi_manager))//option to add voter to kalpi.
     {
         addNewVoterKalpi.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private void addVoterButton_Click(object sender, EventArgs e)
        {
            KalpiManager.City = comboBoxCity.Text;

            using (AddNewVoterToKalpi voter = new AddNewVoterToKalpi(KalpiManager))
            {
                voter.ShowDialog();
            }
        }