Example #1
0
        private void cadastroÔnibusToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Ocorrencias Form2    = new Ocorrencias();
            CadastroOni newForm6 = new CadastroOni();

            newForm6.ShowDialog();
        }
Example #2
0
        private void cadastroToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Ocorrencias  Form2    = new Ocorrencias();
            CadastroMoto newForm7 = new CadastroMoto();

            newForm7.ShowDialog();
        }
Example #3
0
        private void ocorrênciasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Ocorrencias Form2    = new Ocorrencias();
            Ocorrencias newForm5 = new Ocorrencias();

            newForm5.ShowDialog();
        }
Example #4
0
        private void consultasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Ocorrencias Form2    = new Ocorrencias();
            Consultas   newForm3 = new Consultas();

            newForm3.ShowDialog();
        }
Example #5
0
        private void fluxoDoDiaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            Ocorrencias Form2    = new Ocorrencias();
            Fluxo       newForm4 = new Fluxo();

            newForm4.ShowDialog();
        }
Example #6
0
        private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            Ocorrencias escolha = new Ocorrencias();

            escolha.numeracao.Text = dataGridView1[4, dataGridView1.CurrentRow.Index].Value.ToString();

            escolha.Show();
        }
Example #7
0
        private void carregar_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            Ocorrencias escolha = new Ocorrencias();

            escolha.registro1.Text = carregar[1, carregar.CurrentRow.Index].Value.ToString();
            escolha.nome.Text      = carregar[0, carregar.CurrentRow.Index].Value.ToString();
            escolha.numeracao.Text = carregar[7, carregar.CurrentRow.Index].Value.ToString();
            escolha.Show();
        }