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

            player.Play();
            ClosingTimer.Start();
        }
Esempio n. 2
0
        private void ClosingTimer_Tick(object sender, EventArgs e)
        {
            ClosingTimer.Stop();

            this.Hide();
            Welcome Welcome = new Welcome();

            Welcome.Show();
        }
 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);
     }
 }
Esempio n. 4
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();
 }