Beispiel #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            frmSortMeninasOcz form = new frmSortMeninasOcz(2);

            form.Text = "FICHAS - Meninos de Osvaldo Cruz";
            form.ShowDialog();
        }
Beispiel #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            frmSortMeninasOcz form = new frmSortMeninasOcz(4);

            form.Text = "FICHAS - Meninos de outras cidades";
            form.ShowDialog();
        }
Beispiel #3
0
        private void button3_Click(object sender, EventArgs e)
        {
            var peq = new frmSortMeninasOcz();

            if (System.Windows.Forms.Application.OpenForms.OfType <frmSortMeninasOcz>().Count() > 0)
            {
                System.Windows.Forms.Application.OpenForms[peq.Name].Focus();
            }
            else
            {
                peq.ShowDialog();
            }
        }