コード例 #1
0
 public override void SetItem(OverlayItemModelBase item)
 {
     if (item != null)
     {
         this.viewModel = new OverlayTimerTrainItemViewModel((OverlayTimerTrainItemModel)item);
     }
 }
コード例 #2
0
        public OverlayTimerTrainItemControl(OverlayTimerTrainItemModel item)
        {
            InitializeComponent();

            this.viewModel = new OverlayTimerTrainItemViewModel(item);
        }
コード例 #3
0
 public OverlayTimerTrainItemControl(OverlayTimerTrainItemViewModel viewModel)
     : this()
 {
     this.ViewModel = viewModel;
 }