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); }
public Update(PluginAppSettings oPluginAppSettings) { _pas = oPluginAppSettings; BeginCheck(); }