Example #1
0
        private void frmNotification_Load(object sender, System.EventArgs e)
        {
            Styler.Start();
            var player = new SoundPlayer(Resources.iPhone_tone);

            player.Play();
            ClosingTimer.Start();
        }
 private void frmNotification_Load(object sender, System.EventArgs e)
 {
     try
     {
         Styler.Start();
         ClosingTimer.Start();
         var player = new SoundPlayer(Resources.alarm);
         player.Play();
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }
Example #3
0
 private void frmNaqz_Load(object sender, System.EventArgs e)
 {
     try
     {
         Styler.Start();
         ClosingTimer.Start();
         _startPosX = Screen.PrimaryScreen.WorkingArea.Width - Width;
         _startPosY = Screen.PrimaryScreen.WorkingArea.Height;
         Invoke(new MethodInvoker(() => SetDesktopLocation(_startPosX, _startPosY)));
     }
     catch (Exception ex)
     {
         WebErrorLog.ErrorInstence.StartErrorLog(ex);
     }
 }
 private void frmNotification_Load(object sender, System.EventArgs e)
 {
     Styler.Start();
     ClosingTimer.Start();
 }