Exemplo n.º 1
0
        public void showAttendanceMachine()
        {
            AttendanceMachine am = new AttendanceMachine(this);

            am.MdiParent = this;
            SetMdiForm(am.Text, typeof(AttendanceMachine));
        }
 public void AddAttendanceMachine(AttendanceMachine machine)
 {
     attendanceContext.AttendanceMachines.Add(machine);
     attendanceContext.SaveChanges();
 }