Ejemplo n.º 1
0
        private void SignInWindow_Closed(object sender, EventArgs e)
        {
            signInWindow.Closed -= SignInWindow_Closed;
            signInWindow         = null;

            if (CheckAccountId(false))
            {
                ViewModel.ClipboardActivities.Clear();
                ClipboardActivity.Visibility = Visibility.Collapsed;

                notifyIcon.ShowBalloonTip(int.MaxValue, "Roamit universal clipboard is running in the background.",
                                          "You can check the status and change settings by clicking the Roamit icon in the system tray.", ToolTipIcon.None);

                TryRegisterForStartup();
            }
        }
Ejemplo n.º 2
0
 private void InitSignInWindow()
 {
     signInWindow         = new SignInWindow();
     signInWindow.Closed += SignInWindow_Closed;
 }