public Designer() : base() { viewModel = new DesignerVm(); DataContext = viewModel; Unloaded += Designer_Unloaded; }
public ZoomDialog(DesignerVm vm) { InitializeComponent(); viewModel = vm; DataContext = vm; Init(); }
public PlaneDialog(DesignerVm vm) { InitializeComponent(); DataContext = vm; }