Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「セッション」がWPFに存在しないことは知っていますが、wpfでセッションを持つためのサンプルコードを知っていますか? 実際には、1 つの文字列のみを保存し、wpf アプリの任意のウィンドウからその文字列を取得/変更できるようにしたいと考えています。助けてくれてありがとう!
ひもを入れることができます
Application.Current.Properties
次の記事を参照してください:アプリケーション全体のデータを WPF に保存する