Example #1
0
        public void DisplayQuote(frmQuote oFrmQuote, frmQuoteBackground oFrmQuoteBackground, PluginAppSettings oPluginAppSettings)
        {
            _oFrmQuote           = oFrmQuote;
            _oFrmQuoteBackground = oFrmQuoteBackground;
            _pas = oPluginAppSettings;

            QOTDTypeRandomNormalization();

            string sQuote = string.Empty;

            switch (QOTD_Type)
            {
            case "Bible Gateway Verse":
                sQuote = GetBibleGatewayQuote();
                break;

            case "Brainy Quote":
                sQuote = GetBrainyQuoteQuote();
                break;

            case "Local File":
                sQuote = GetLoaclQuote();
                break;
            }

            ShowQuote(sQuote);
        }
Example #2
0
 public Update(PluginAppSettings oPluginAppSettings)
 {
     _pas = oPluginAppSettings;
     BeginCheck();
 }