private void notFormatInfo_BalloonChanged(object sender, Microsoft.WindowsCE.Forms.BalloonChangedEventArgs e)
 {
     if (e.Visible == false)
     {
         notFormatInfo.Visible = false;
     }
 }
Esempio n. 2
0
        void notificationAlarm_BalloonChanged(object sender, Microsoft.WindowsCE.Forms.BalloonChangedEventArgs e)
        {
            if (e.Visible)
            {
                this.soundPlayer.PlayLooping();

                if (this.isRunning)
                {
                    this.SetupNotifications();
                    this.SaveSetting();
                }
            }
            else
            {
                this.soundPlayer.Stop();

                if (!this.isRunning)
                {
                    this.CleanupNotifications();
                }
            }
        }