public StartScreen()
 {
     InitializeComponent();
     Loaded += (sender, e) => {
         Usage.Text = AboutWindow.GetUsageText(((EditorViewModel)DataContext).Singletons.MetadataInfo.VersionNumber);
     };
 }
示例#2
0
 public StartScreen()
 {
     InitializeComponent();
     Loaded += (sender, e) => {
         var version = ((EditorViewModel)DataContext)?.Singletons.MetadataInfo;
         Usage.Text = AboutWindow.GetUsageText(version);
     };
 }