Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
    
private void Form1_Load(object sender, EventArgs e)
    {
        notifyIcon1.Icon 
= SystemIcons.Exclamation;
        notifyIcon1.BalloonTipTitle 
= "Balloon Tip Title";
        notifyIcon1.BalloonTipText 
= "Balloon Tip Text.";
        notifyIcon1.BalloonTipIcon 
= ToolTipIcon.Error;
    }
    
private void button1_Click(object sender, EventArgs e)
    {
        notifyIcon1.Visible 
= true;
        notifyIcon1.ShowBalloonTip(
30);
    }
}

相关文章:

  • 2022-12-23
  • 2021-05-22
  • 2021-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-12-20
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2021-10-14
  • 2022-12-23
  • 2022-01-02
  • 2021-12-23
  • 2021-09-22
相关资源
相似解决方案