public ErrInfoコネクタチェック() { InitializeComponent(); viewmodel = new vm(); this.DataContext = viewmodel; SetErrInfo(); }
public ラベル貼り付け() { this.InitializeComponent(); State.VmMainWindow.ThemeOpacity = 0.0; viewmodel = new vm(); this.DataContext = viewmodel; }
public void Test_NotifyPropertyChangedBase() { var vm = new vm(); vm.MonitorEvents(); vm.Value.Should().Be(0); vm.Value = 0; vm.Value.Should().Be(0); vm.ShouldNotRaisePropertyChangeFor(t => t.Value); vm.Value = 2; vm.Value.Should().Be(2); vm.ShouldRaisePropertyChangeFor(t => t.Value); }
private void Page_Loaded(object sender, RoutedEventArgs e) { viewmodel = new vm(); this.DataContext = viewmodel; SetErrInfo(); }
var window = Load(vm, parameters);
public void Test_OK_Simple() { var myvm = new vm(); IWindow res = _Target.Solve(myvm); res.Should().NotBeNull(); (res is MyWindowBinded).Should().BeTrue(); }