【Visual Studio Visual Csharp】Tray Icon

 using System;

using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace showTrayC { public partial class Form1 : Form { NotifyIcon notify = new NotifyIcon(); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { notifyIcon1.Visible = true; notifyIcon1.BalloonTipIcon = ToolTipIcon.Info; notifyIcon1.BalloonTipText = "Application working..."; notifyIcon1.BalloonTipTitle = "TrayIcon example application"; notifyIcon1.ShowBalloonTip(2000); } private void Form1_Load(object sender, EventArgs e) { notifyIcon1.Visible = false; } } }

No comments:

Antisemitism, pt. 1

This was originally intended to be a short jotting down of some off-the-cuff thoughts about antisemitism. I don’t know what possessed me to ...

Contact Form

Name

Email *

Message *