コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();

            // コンテキストの設定
            context = new RenamerContext();
            FileListBox.DataContext       = context;
            FormatText.DataContext        = context;
            ReplaceSearchText.DataContext = context;
            ReplacedText.DataContext      = context;
            SerialNumberText.DataContext  = context;
            DigitNumberText.DataContext   = context;
            UndoButton.DataContext        = context;

            // 基本機能の作成
            core = new RenamerCore(context);
        }
コード例 #2
0
ファイル: RenamerCore.cs プロジェクト: Kimaguraven/ReNamer
 public RenamerCore(RenamerContext context)
 {
     this.context = context;
 }