Exemplo n.º 1
0
        private void Show(MaltaParkArticle article)
        {
            if (checkBox1.Checked)
            {
                string notifica = "Trovato '" + article.Title + "' e salvato in " + article.Id + ".txt";
                notifyIcon1.Icon    = SystemIcons.Information;
                notifyIcon1.Visible = true;
                notifyIcon1.ShowBalloonTip(1000, "Salvataggio", notifica, ToolTipIcon.Info);
            }

            textBox1.Text += "****************\r\n" + article.ToString() + "\r\n";
        }
Exemplo n.º 2
0
 private void Save(MaltaParkArticle article)
 {
     File.WriteAllText(article.Id + ".txt", article.ToString());
 }