예제 #1
0
        public fConfigAutoTip()
        {
            InitializeComponent();

            CultureInfo ci = new CultureInfo("vi-VN");

            System.Threading.Thread.CurrentThread.CurrentCulture   = ci;
            System.Threading.Thread.CurrentThread.CurrentUICulture = ci;

            dpEnd.CustomFormat = "dd/MM/yyy";

            dpStart.Value = init.GetDateStart();
            dpEnd.Value   = init.GetDateEnd();

            txtTimeChangeWord.Text = init.GetTimer().ToString();
        }
예제 #2
0
        private void GetAll()
        {
            DateTime dateStart = _init.GetDateStart();
            DateTime dateEnd   = _init.GetDateEnd();

            _listDateStore = _store.GetByDate(dateStart, dateEnd);
            if (_listDateStore != null)
            {
                countlistSi = _listDateStore.Count;


                timerAutoTip.Interval = _init.GetTimer();
                indexListSi           = 0;
                if (countlistSi != 0)
                {
                    timerAutoTip.Stop();
                    timerAutoTip.Start();
                }
            }
        }