public static void ShowWindow(ViewLangViewModel vm) { ViewLang window = new ViewLang(vm); window.Show(); window.Activate(); }
private ViewLang(ViewLangViewModel vm) { this.DataContext = vm; InitializeComponent(); }
public static void ShowWindow(ViewLangViewModel vm) { ViewLang window = new ViewLang(vm); window.Show(); window.Activate(); }
private ViewLang(ViewLangViewModel vm) { this.DataContext = vm; InitializeComponent(); }