Пример #1
0
        private void menuItem5_Click(object sender, EventArgs e)
        {
            ShowStatus( "DownLoad...");
            this.Refresh();
            DownLoad dl = new DownLoad();

            dl.DownloadUserList();
            ShowStatus( "User Downloaded.");
            dl.DownloadSpecsList();
            ShowStatus( "DownLoad Successfully.");
        }
Пример #2
0
        private void menuItem5_Click(object sender, EventArgs e)
        {
            ShowStatus("DownLoad...");
            this.Refresh();
            DownLoad dl = new DownLoad();

            dl.DownloadUserList();
            ShowStatus("User Downloaded.");
            dl.DownloadSpecsList();
            ShowStatus("DownLoad Successfully.");
        }
Пример #3
0
 private void menuItem14_Click(object sender, EventArgs e)
 {
     if (AppHelper.UserName.ToLower().Equals("admin"))
     {
         if (MessageBox.Show("下载用户数据,是否继续?", "请确认", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1) == DialogResult.OK)
         {
             ShowStatus("DownLoad...");
             this.Refresh();
             DownLoad dl = new DownLoad();
             ShowStatus("User Downloaded...");
             this.Refresh();
             dl.DownloadUserList();
             ShowStatus("DownLoad Successfully.");
         }
     }
 }
Пример #4
0
 private void menuItem14_Click(object sender, EventArgs e)
 {
     if (AppHelper.UserName.ToLower().Equals("admin"))
     {
         if (MessageBox.Show("下载用户数据,是否继续?", "请确认" ,MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1) == DialogResult.OK)
         {
             ShowStatus("DownLoad...");
             this.Refresh();
             DownLoad dl = new DownLoad();
             ShowStatus("User Downloaded...");
             this.Refresh();
             dl.DownloadUserList();
             ShowStatus("DownLoad Successfully.");
         }
     }
 }