Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LeavingDetector Form = new LeavingDetector();

            Application.Run(Form);
        }
Exemplo n.º 2
0
        public Setting(LeavingDetector LD)
        {
            Owner   = LD;
            this.LD = LD;

            InitializeComponent();

            HourNumUD.Value   = this.LD.LeaveDetectTime_H;
            MinuteNumUD.Value = this.LD.LeaveDetectTime_M;
            SecondNumUD.Value = this.LD.LeaveDetectTime_S;
        }