コード例 #1
0
 protected override void DisposeMenu()
 {
     base.DisposeMenu();
     this.DataContext = null;
     this.viewModel.Dispose();
     this.viewModel = null;
 }
コード例 #2
0
        protected override void InitMenu()
        {
            var controlSkeletonView = this.GetByName <Rectangle>("SkeletonViewControl");

            this.DataContext = this.viewModel = new ViewModelWindowInventory(controlSkeletonView);
        }