예제 #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
 public RenamerCore(RenamerContext context)
 {
     this.context = context;
 }