コード例 #1
0
        private void inicioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPonto ponto = new frmPonto();

            ponto.DarId(id);
            ponto.MenuScreen = this;
            ponto.Show();

            this.Hide();
        }
コード例 #2
0
        private void gerarPontoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPonto ponto = new frmPonto();

            ponto.DarId(id);
            ponto.MenuScreen = this;
            ponto.Show();
            close = true;

            this.Close();
        }