Esempio n. 1
0
        //-----------------------------------------------------------------

        //panel切换函数

        //-----------------------------------------------------------------


        private void showdownload()
        {
            login.Hide();
            this.Size            = new Size(1300, 400);
            this.Location        = new Point(50, 200);
            this.FormBorderStyle = FormBorderStyle.Sizable;
            set_default_printer.Hide();
            printers_setting_dialog.Hide();
            download.Show();

            String Date = (DateTime.Now.ToLongDateString());

            location_settings.file_path  = @"D:\云印南开\" + Date;
            location_settings.ibook_path = @"D:\云印南开_本店电子书\";
            location_settings.creat_path();

            backgroundworker_refresh br = new backgroundworker_refresh(this);

            br.refresh_first();
        }
Esempio n. 2
0
        public void theout(object source, System.Timers.ElapsedEventArgs e)
        {
            backgroundworker_refresh br = new backgroundworker_refresh(this);

            br.refresh_other();
        }
Esempio n. 3
0
        /// <summary>
        /// 手动刷新,同时进行手动下载
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void refresh_Click(object sender, EventArgs e)
        {
            backgroundworker_refresh br = new backgroundworker_refresh(this);

            br.refresh_other();
        }