public static void Clear() { instance = null; }
private void btnLogout_Click(object sender, RoutedEventArgs e) { AppDetails.Clear(); parent.Show(); this.Close(); }