Exemple #1
0
        private void fjl_btn_LoginCheckIn_Click(object sender, EventArgs e)
        {
            var btn = (Button)sender;

            if (btn.Text.Contains("开始"))
            {
                FenJianLiScheduling.Start("签到");
                btn.Text = "停止签到";
            }
            else
            {
                FenJianLiScheduling.Stop("签到");
                btn.Text = "开始签到";
            }
        }
Exemple #2
0
        private void fjl_btn_ContactInfomation_Click(object sender, EventArgs e)
        {
            var btn = (Button)sender;

            if (btn.Text.Contains("开始"))
            {
                FenJianLiScheduling.Start("下载");
                btn.Text = "停止下载";
            }
            else
            {
                FenJianLiScheduling.Stop("下载");
                IsDisposedUserLock();
                btn.Text = "开始下载";
            }
        }
Exemple #3
0
        private void fjl_btn_RegisterActivation_Click(object sender, EventArgs e)
        {
            var btn = (Button)sender;

            if (btn.Text.Contains("开始"))
            {
                cnf.Show();
                FenJianLiScheduling.Start("注册");
                FenJianLiScheduling.Start("激活");
                btn.Text = "停止注册激活";
            }
            else
            {
                cnf.Close();
                FenJianLiScheduling.Stop("注册");
                FenJianLiScheduling.Stop("激活");
                btn.Text = "开始注册激活";
            }
        }