//Connecton
        private void BT_Connection_Click(object sender, RoutedEventArgs e)
        {
            AccountConnectionWindow acw = new AccountConnectionWindow();

            if (acw.ShowDialog() == true)
            {
                connected = true;
                PluginStoreManager.UserName = acw.UserName;
                PluginStoreManager.UserID   = acw.UserID;
                ShowConnectedUserMenu();
            }
        }
示例#2
0
        private void BT_AccountLogin_Click(object sender, RoutedEventArgs e)
        {
            AccountConnectionWindow acw = new AccountConnectionWindow();

            acw.ShowDialog();

            if (acw.Success)
            {
                Properties.Settings.Default.UserID = acw.UserID;
                Properties.Settings.Default.Save();

                SaveInServer.Download();
                SaveInServer.Connection();

                ShowIfSaveOnline();
            }
        }