Esempio n. 1
0
 public AWindow(TempViewModel tempVM)
 {
     InitializeComponent();
     Loaded           += AWindow_Loaded;
     root              = Environment.CurrentDirectory;
     Topmost           = true;
     flexFile          = System.IO.Path.Combine(root, Const.FlexFile);
     DataContext       = tempVM;
     tempVM.Dispatcher = Dispatcher;
     //tempVM.PropertyChanged += tempVM_PropertyChanged;
 }
Esempio n. 2
0
        public AWindow(TempViewModel tempVM)
        {
            InitializeComponent();
            Loaded += AWindow_Loaded;
			root = Environment.CurrentDirectory;
			Topmost = true;
			flexFile = System.IO.Path.Combine(root, Const.FlexFile);
			DataContext = tempVM;
			tempVM.Dispatcher = Dispatcher;
			//tempVM.PropertyChanged += tempVM_PropertyChanged;
        }
Esempio n. 3
0
 public MainViewModel()
 {
     TempVM = new TempViewModel(this);
 }
Esempio n. 4
0
		public MainViewModel()
		{
			TempVM = new TempViewModel(this);
		}