Exemplo n.º 1
0
        private void btnClearCache_Click(object sender, EventArgs e)
        {
            btnClearCache.Enabled = false;
            BrowserCache.SetClearOnExit();

            MessageBox.Show("Cache will be automatically cleared when " + Program.BrandName + " exits.", "Clear Cache", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
Exemplo n.º 2
0
 private void btnClearCache_Click(object sender, EventArgs e)
 {
     btnClearCache.Enabled = false;
     BrowserCache.SetClearOnExit();
     FormMessage.Information("Clear Cache", "Cache will be automatically cleared when TweetDuck exits.", FormMessage.OK);
 }