private void orderW_Loaded(object sender, RoutedEventArgs e) { viewModel = (CustomersViewModel)this.DataContext; if (!isAddWindow) { viewModel.PreloadOrderDescription(); } }