• R/O
  • SSH
  • HTTPS

drfx: Commit


Commit MetaInfo

Revision130 (tree)
Time2010-02-19 12:27:16
Authorsasaminn

Log Message

UPGRADE: 画面上にバージョンを表示

Change Summary

Incremental Difference

--- drfx/trunk/src/Explorer/MainWindow.xaml.cs (revision 129)
+++ drfx/trunk/src/Explorer/MainWindow.xaml.cs (revision 130)
@@ -7,11 +7,31 @@
77 {
88 public partial class MainWindow : Window
99 {
10+ private string version;
11+
12+
13+
14+ public string Version
15+ {
16+ get
17+ {
18+ if (String.IsNullOrEmpty(this.version))
19+ {
20+ this.version = GetType().Assembly.GetName().Version.ToString();
21+ }
22+ return this.version;
23+ }
24+ }
25+
26+
27+
1028 public MainWindow()
1129 {
1230 InitializeComponent();
1331 }
1432
33+
34+
1535 private void OpenReport(object sender, ExecutedRoutedEventArgs e)
1636 {
1737 string file = DialogHelper.SelectFxCopReportFile();
Show on old repository browser