Skip to content

READMEと単体WPFサンプルの実行安定性を改善 - #4

Merged
papanda925 merged 1 commit into
mainfrom
codex/readme-sample-refactor
Sep 2, 2026
Merged

READMEと単体WPFサンプルの実行安定性を改善#4
papanda925 merged 1 commit into
mainfrom
codex/readme-sample-refactor

Conversation

@papanda925

Copy link
Copy Markdown
Owner

概要

既存の PowerShell XAML Designer 本体と過去の改善内容は維持しつつ、README の日本語導入と、単体 WPF サンプル3本の保守性・実行安定性を改善します。

主な変更

  • README 冒頭に日本語の動作環境、起動手順、サンプル一覧、トラブルシューティングを追加
  • XAML と画像を $PSScriptRoot 基準で解決し、別ディレクトリからの起動に対応
  • GetType().FullName などの意図しないデバッグ出力を削除
  • イベント登録を Add_Click({ ... }) に統一
  • 入力ダイアログは文字列、日付選択は DateTime だけを返すよう整理
  • XmlNodeReader を必ずクローズ
  • リポジトリ検証へ単体サンプルのパス解決・イベント登録方式の回帰チェックを追加

対象

  • WPF_CustomGraphicalInputBoxSample.ps1
  • WPF_GraphicalDatePickerSample.ps1
  • WPF_SimpleWeatherFormSample/WPF_SimpleWeatherFormSample.ps1

検証

  • 全 XAML の XML パース
  • README 参照ファイルの存在確認
  • git diff --check
  • GitHub Actions で Windows PowerShell 5.1 / PowerShell 7 の既存テストを実行

GUI の実表示確認を行ってからマージできるよう、Draft PR としています。

@papanda925
papanda925 marked this pull request as ready for review September 2, 2026 14:28
@papanda925
papanda925 merged commit 4732a17 into main Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant