Ejemplo n.º 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            FormZap fz = new FormZap(comboBox1.SelectedItem.ToString(), 1);

            fz.Owner = this;
            fz.Show();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            switch (comboBox1.SelectedIndex)
            {
            case 0:
                PassCh fz = new PassCh(dataGridView1.SelectedCells[0].Value.ToString());
                fz.Owner = this;
                fz.Show();
                break;

            case 1:
                FormZap fz1 = new FormZap(comboBox1.SelectedItem.ToString(), 3);
                fz1.Owner = this;
                fz1.Show();
                break;
            }
        }