Beispiel #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();
     }
 }
Beispiel #2
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            DependencyFacade.InsertPresenceDate(secID);
            this.Hide();
            Presences prs = new Presences(secID);

            prs.ShowDialog();
        }