//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(); } }
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(); } }