Ejemplo n.º 1
0
 private void PresenceButton_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedCells.Count != 0)
     {
         Presences prs = new Presences(Convert.ToInt32(dataGridView1.SelectedCells[0].Value));
         prs.ShowDialog();
     }
 }
Ejemplo n.º 2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            DependencyFacade.InsertPresenceDate(secID);
            this.Hide();
            Presences prs = new Presences(secID);

            prs.ShowDialog();
        }