コード例 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            try {
                string nombre = this.dataGridView1.CurrentRow.Cells[0].Value.ToString();

                ventPadre.setConsulta(nombre);
                ventPadre.Show();
                this.Dispose();
            } catch {
                MessageBox.Show("No se selecciono ningun comercio");
            }
        }
コード例 #2
0
ファイル: MAIN.cs プロジェクト: hellfishg/queComemos
        private void btn_Comercios_Click(object sender, EventArgs e)
        {
            COMERCIOS comercio_form = new COMERCIOS(this);

            this.Hide();
            comercio_form.Show();
        }