当前位置: 首页>>代码示例>>C#>>正文


C# clsDBQueryManager.DeleteScrapeSettings方法代码示例

本文整理汇总了C#中BaseLib.clsDBQueryManager.DeleteScrapeSettings方法的典型用法代码示例。如果您正苦于以下问题:C# clsDBQueryManager.DeleteScrapeSettings方法的具体用法?C# clsDBQueryManager.DeleteScrapeSettings怎么用?C# clsDBQueryManager.DeleteScrapeSettings使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BaseLib.clsDBQueryManager的用法示例。


在下文中一共展示了clsDBQueryManager.DeleteScrapeSettings方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: frmMain_Load

        private void frmMain_Load(object sender, EventArgs e)
        {
            ///Validate License

            #region Old Licensing
            //LicensingManager.LicenseManager licenseManager = new LicensingManager.LicenseManager();
            //string licenseStatus = string.Empty;
            ////if (!licenseManager.ValidateCPUID(ref licenseStatus)) 
            #endregion

            if (false)
            {
                #region Old Licensing
                //if (licenseStatus == "Some Error in Status Field")
                //{
                //    MessageBox.Show("Some Error in Status Field");
                //    Application.Exit();
                //    this.Close();
                //    return;
                //}

                //string strRes = licenseStatus;
                //if (strRes != "ServerDown")
                //{
                //    LicensingManager.frmMain licenseManagerForm = new LicensingManager.frmMain();
                //    licenseManagerForm.ShowDialog();
                //    if (licenseStatus == "Error in License Validation")
                //    {
                //        MessageBox.Show("Error in License Validation");
                //    }
                //    Application.Exit();
                //}
                //else
                //{
                //    MessageBox.Show("Error Connecting to Twtdominator Server.");
                //    Application.Exit();
                //} 
                #endregion
            }
            else
            {
                //GlobusHttpHelper http = new GlobusHttpHelper();
                //EmailActivator.ClsEmailActivator email = new EmailActivator.ClsEmailActivator();
                //email.EmailVerification("[email protected]", "[email protected]#$", ref http);
                //TwitterDataScrapper tds = new TwitterDataScrapper();
                //tds.GetTweetData("harry");

                CheckVersion();

                listUserNames = new List<string>();
                listUserIDs = new List<string>();

                queWorkingProxies = new Queue<string>();

                CreateAppDirectories();
                CopyDatabase();

                clsDBQueryManager DataBase = new clsDBQueryManager();
                DataBase.DeleteScrapeSettings();

                LoadDefaultsCaptchaData();

                LoadDefaultsAccountCreator();
                LoadDefaultsProfileData();

                listTweetMessages = new List<string>();

                listReplyMessages = new List<string>();

                listKeywords = new List<string>();

                TwitterSignup.TwitterSignUp.logEvents.addToLogger += new EventHandler(logEvents_Signup_addToLogger);

                EmailActivator.ClsEmailActivator.loggerEvents.addToLogger += new EventHandler(loggerEvents_EmailActivator_addToLogger);

                //TweetAccountManager.logEvents_static.addToLogger += new EventHandler(logEvents_static_addToLogger);
               
                frmAccounts.AccountsLogEvents.addToLogger += new EventHandler(AccountsLogEvents_addToLogger);

                frmScheduler.Event_StartScheduler.raiseScheduler += new EventHandler(event_StartScheduler_raiseScheduler);

                frmScheduler.SchedulerLogger.addToLogger += new EventHandler(Schedulerlogger_addToLogger);

                new Thread(() =>
                {
                    while (true)
                    {
                        Thread.Sleep(10 * 30000);
                        ClearLogsIfExceeds();
                    }
                }).Start();
                txtScrapeNoOfUsers.Enabled = false;
                txtMaximumTweet.Enabled = false;
                txtMaximumNoRetweet.Enabled = false;
                panelSetting.Visible = false;
                //rdBtnDivideEqually.Enabled = false;
                //rdBtnDivideByGivenNo.Enabled = false;
            }

        }
开发者ID:prog-moh,项目名称:twtboard,代码行数:100,代码来源:frmMain-New+UI.cs

示例2: frmMain_Load

        private void frmMain_Load(object sender, EventArgs e)
        {
            image = Properties.Resources.app_bg;
            recSideImage = Properties.Resources.rsz_app_bg;
            //dateTimePicker_Follow.MinDate = DateTime.Now;
            dateTimePicker_tweeterStart.MinDate = dateTimePicker_TwetterEnd.MinDate = DateTime.Now;
            dateTimePicker_WaitandreplyStart.MinDate = DateTime.Now;
            chkUseDivide.CheckState = CheckState.Unchecked;
            txtScrapeNoOfUsers.Enabled = false;
            txtMaximumTweet.Enabled = false;
            txtMaximumNoRetweet.Enabled = false;
            txtTweetUseGroup.Enabled = false;
            txtUseGroup.Enabled = false;
            txtProxyUrl.Enabled = false;
            grpFollowByKeyword.Enabled = false;
            grpFollowerSetting.Enabled = false;
            chkCheckDatabaseInEvery2Minutes.Enabled = false;
            chkAutoFavorite.Enabled = false;
            //Panel_AccountCreatorithpProfiling.Enabled = false;
              //  gbAccCreatorProfileSetting.Enabled = false;
            listUserNames = new List<string>();
            listUserIDs = new List<string>();
            queWorkingProxies = new Queue<string>();
            listTweetMessages = new List<string>();
            listReplyMessages = new List<string>();
            listKeywords = new List<string>();
            grpFollowerSheduling.Enabled = false;

            CreateAppDirectories();
            CopyDatabase();

              //  Tb_AccountManager.TabPages.Remove(tabAccountCreator);
            Tb_AccountManager.TabPages.Remove(tabProfileManager);
             //   Tb_AccountManager.TabPages.Remove(tabFakeEmailCreator);
               // Tb_AccountManager.TabPages.Remove(tabAccountBrowser);

            clsDBQueryManager DataBase = new clsDBQueryManager();
            DataBase.DeleteScrapeSettings();

            LoadDefaultsCaptchaData();
               // LoadDefaultsAccountCreator();
            LoadDefaultsProfileData();
            LoadDefaultFollowerFiles();
            LoadDefaultAccountCheckerFiles();
            LoadDefaultTweeterFiles();
            LoadDefaultWaitnReplyFiles();
            LoadDefaultScrapingFiles();
            LoadDefaultTweetCreatorFiles();
               // LoadDefaultFakeEmailCreatorFile();
            LoadDefaultWhilteList();
            //    LoadDefaultsMobAccountCreator();
            ReloadAccountsFromDataBase();

             //   Tb_AccountManager.TabPages.Remove(tabMobileAccountCreator);
               // Tb_AccountManager.TabPages.Remove(tabAccountBrowser);
            //TwitterDataScrapper.logEvents.addToLogger += new EventHandler(logEvents_Follower_addToLogger);
            TwitterSignup.TwitterSignUp.logEvents.addToLogger += new EventHandler(logEvents_Signup_addToLogger);

            EmailActivator.ClsEmailActivator.loggerEvents.addToLogger += new EventHandler(loggerEvents_EmailActivator_addToLogger);

            frmAccounts.AccountsLogEvents.addToLogger += new EventHandler(AccountsLogEvents_addToLogger);

            frmScheduler.Event_StartScheduler.raiseScheduler += new EventHandler(event_StartScheduler_raiseScheduler);

            frmScheduler.SchedulerLogger.addToLogger += new EventHandler(Schedulerlogger_addToLogger);

            FrmStartCampaign.startFlyCreationEvent.addToLogger += new EventHandler(startFlyCreationEvent_addToLogger);

            //TwitterDataScrapper.logEvents.addToLogger += new EventHandler(logEvents_addToLogger);
            FrmSettings.EnableDelaySettings.addToLogger += new EventHandler(logEvents_EnabledFollowDelaySetting);
            FrmSettings.DisableDelaySettings.addToLogger += new EventHandler(logEvents_DisabledFollowDelaySetting);

            FrmSettings.EnableDelaySettings.addToLogger += new EventHandler(logEvents_EnabledUnFollowDelaySetting);
            FrmSettings.DisableDelaySettings.addToLogger += new EventHandler(logEvents_DisabledUnFollowDelaySetting);

            new Thread(() =>
            {
                CheckingProxies();
            }).Start();

            new Thread(() =>
            {
                while (true)
                {
                    Thread.Sleep(10 * 30000);
                    ClearLogsIfExceeds();
                }
            }).Start();
        }
开发者ID:ahmetDostr,项目名称:twtboard,代码行数:89,代码来源:frmMain_NewUI.cs


注:本文中的BaseLib.clsDBQueryManager.DeleteScrapeSettings方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。