Пример #1
0
 /// <summary>
 /// Executé quand on click sur le _
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnMinimise_Click(object sender, EventArgs e)
 {
     WindowState   = FormWindowState.Minimized;
     NIcon.Visible = true;
     NIcon.ShowBalloonTip(3000);
     ShowInTaskbar = false;
 }
Пример #2
0
 public void BShow(string text, int cas, bool prikaz)
 {
     if (prikaz)
     {
         NIcon.BalloonTipText = $"{text} \r\nKlikni pro přerušení!";
     }
     else
     {
         NIcon.BalloonTipText = text;
     }
     NIcon.ShowBalloonTip(cas);
 }