private void Window_Loaded(object sender, RoutedEventArgs e) { BuildRecentSubMenu(); MateriaInputManager.Init(); RegisterInputActions(); popupShelf = new UIPopupShelf(); popupShelf.Owner = this; popupShelf.Hide(); if (App.Current.Properties.Contains("OpenFile")) { try { string path = (string)App.Current.Properties["OpenFile"]; if (string.IsNullOrEmpty(path)) { return; } HandleOpen(path); } catch { } } Log.Info("Main Window Loaded"); }
private void Window_Loaded(object sender, RoutedEventArgs e) { BuildRecentSubMenu(); BuildRecentShortcuts(); MateriaInputManager.Init(); RegisterInputActions(); Log.Info("Main Window Loaded"); }
private void Window_Loaded(object sender, RoutedEventArgs e) { BuildRecentSubMenu(); BuildRecentShortcuts(); MateriaInputManager.Init(); RegisterInputActions(); popupShelf = new UIPopupShelf(); popupShelf.Owner = this; popupShelf.Hide(); Log.Info("Main Window Loaded"); }