Exemplo n.º 1
0
        public MyFutureBookings(IIPoleSystem poleSystem)
        {
            InitializeComponent();

            PoleSystem = poleSystem;
            bool MyBookingsToday = false;

            PoleSystem.CreateCheckboxes(MyBookingsToday);
        }
Exemplo n.º 2
0
        public InactivityTimer(IIPoleSystem poleSystem)
        {
            InitializeComponent();

            timerIdle          = new System.Windows.Forms.Timer();
            timerIdle.Enabled  = true;
            timerIdle.Interval = 5000; // Idle time period. Here after 30 seconds perform task in  timerIdle_Tick.
            timerIdle.Tick    += new EventHandler(TimerIdle_Tick);
            PoleSystem         = poleSystem;
        }
Exemplo n.º 3
0
        public LoginForm(IIPoleSystem poleSystem)
        {
            InitializeComponent();

            PoleSystem = poleSystem;

            foreach (User u in IPoleSystem.AllUsers)
            {
                u.LoginStatus = false;
            }
        }