private void inicioToolStripMenuItem_Click(object sender, EventArgs e) { frmPonto ponto = new frmPonto(); ponto.DarId(id); ponto.MenuScreen = this; ponto.Show(); this.Hide(); }
private void gerarPontoToolStripMenuItem_Click(object sender, EventArgs e) { frmPonto ponto = new frmPonto(); ponto.DarId(id); ponto.MenuScreen = this; ponto.Show(); close = true; this.Close(); }