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.
次のようなボタンクリックでウィンドウを表示しています:
private void showWindow(object obj) { var dialog = new AddItemView(); dialog.Show(); }
このウィンドウがまだ開いている間にボタンが再度クリックされた場合、このウィンドウを前面に移動し、新しいウィンドウを作成しないようにするにはどうすればよいですか?