コード例 #1
0
        public MainWindow()
        {
            InitializeComponent();
            this.Loaded     += MainWindow_Loaded;
            this.DataContext = this;

            _data            = new DataViewModel();
            this.DataContext = _data;
        }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();
            this.Loaded += MainWindow_Loaded;
            this.DataContext = this;

            _data = new DataViewModel();
            this.DataContext = _data;
        }