internal MenuWindow(MainController controller, Point pivot) { InitializeComponent(); this.DataContext = new MenuWindowViewModel(controller); _mover = new FloatWindowMover(this, pivot); }
public MenuWindow(MainController controller, Point pivot) { LanguageService.Switch(); InitializeComponent(); this.DataContext = new MenuWindowViewModel(controller); _mover = new FloatWindowMover(this, pivot); }
internal MenuWindow(AppController controller, Point pivot) { InitializeComponent(); this.DataContext = new MenuWindowViewModel(controller); _mover = new FloatWindowMover(this, pivot); _mover.AppDeactivated += OnCloseTriggered; _mover.EscapeKeyDown += OnCloseTriggered; }
public MenuWindow(AppControllerCore controller, Point pivot) { LanguageService.Switch(); InitializeComponent(); this.DataContext = new MenuWindowViewModel(controller); _mover = new FloatWindowMover(this, pivot); _mover.AppDeactivated += OnCloseTriggered; _mover.EscapeKeyDown += OnCloseTriggered; }