Skip to content

Commit

Permalink
Add x64/x86 to Window Title - easily determine which version user is …
Browse files Browse the repository at this point in the history
…running
  • Loading branch information
amaitland committed Oct 27, 2014
1 parent 3cfeaef commit 2d6fe8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CefSharp.Wpf.Example/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

using System;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Input;
Expand All @@ -27,6 +28,9 @@ public MainWindow()
CommandBindings.Add(new CommandBinding(ApplicationCommands.Close, CloseTab));

Loaded += MainWindowLoaded;

var bitness = Environment.Is64BitProcess ? "x64" : "x86";
Title += " - " + bitness;
}

private void CloseTab(object sender, ExecutedRoutedEventArgs e)
Expand Down

0 comments on commit 2d6fe8b

Please sign in to comment.