Пример #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LeavingDetector Form = new LeavingDetector();

            Application.Run(Form);
        }
Пример #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;
        }