• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

handbrake-jp project\'s main repository.


Commit MetaInfo

Revision8a613e57d13d9de7043d4fdb102d57c76869c756 (tree)
Time2010-01-04 17:53:26
Authorunknown <hirom@.(no...>
Commiterunknown

Log Message

add UI version label to frmAbout

Change Summary

Incremental Difference

--- a/win/C#/Installer/Installer.nsi
+++ b/win/C#/Installer/Installer.nsi
@@ -17,7 +17,7 @@
1717 ; HM NIS Edit Wizard helper defines
1818 !define PRODUCT_NAME "Handbrake日本語版"
1919 !define PRODUCT_VERSION "0.9.4"
20-!define PRODUCT_VERSION_NUMBER "0.9.4jp"
20+!define PRODUCT_VERSION_NUMBER "0.9.4jp-r2"
2121 !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Handbrake.exe"
2222 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
2323 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
--- a/win/C#/frmAbout.Designer.cs
+++ b/win/C#/frmAbout.Designer.cs
@@ -47,6 +47,8 @@ namespace Handbrake
4747 this.lbl_HBBuild = new System.Windows.Forms.Label();
4848 this.PictureBox1 = new System.Windows.Forms.PictureBox();
4949 this.btn_close = new System.Windows.Forms.Button();
50+ this.lbl_UIVer = new System.Windows.Forms.Label();
51+ this.label2 = new System.Windows.Forms.Label();
5052 ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
5153 this.SuspendLayout();
5254 //
@@ -57,15 +59,15 @@ namespace Handbrake
5759 this.Label3.Location = new System.Drawing.Point(124, 12);
5860 this.Label3.Margin = new System.Windows.Forms.Padding(3, 3, 3, 1);
5961 this.Label3.Name = "Label3";
60- this.Label3.Size = new System.Drawing.Size(99, 19);
62+ this.Label3.Size = new System.Drawing.Size(167, 19);
6163 this.Label3.TabIndex = 25;
62- this.Label3.Text = "HandBrake";
64+ this.Label3.Text = "HandBrake日本語版";
6365 this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
6466 //
6567 // label1
6668 //
6769 this.label1.AutoSize = true;
68- this.label1.Location = new System.Drawing.Point(125, 63);
70+ this.label1.Location = new System.Drawing.Point(125, 82);
6971 this.label1.Margin = new System.Windows.Forms.Padding(3);
7072 this.label1.Name = "label1";
7173 this.label1.Size = new System.Drawing.Size(224, 13);
@@ -100,7 +102,7 @@ namespace Handbrake
100102 // btn_close
101103 //
102104 this.btn_close.DialogResult = System.Windows.Forms.DialogResult.OK;
103- this.btn_close.Location = new System.Drawing.Point(274, 82);
105+ this.btn_close.Location = new System.Drawing.Point(274, 125);
104106 this.btn_close.Name = "btn_close";
105107 this.btn_close.Size = new System.Drawing.Size(75, 23);
106108 this.btn_close.TabIndex = 35;
@@ -108,13 +110,33 @@ namespace Handbrake
108110 this.btn_close.UseVisualStyleBackColor = true;
109111 this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
110112 //
113+ // lbl_UIVer
114+ //
115+ this.lbl_UIVer.Location = new System.Drawing.Point(125, 50);
116+ this.lbl_UIVer.Name = "lbl_UIVer";
117+ this.lbl_UIVer.Size = new System.Drawing.Size(224, 13);
118+ this.lbl_UIVer.TabIndex = 36;
119+ this.lbl_UIVer.Text = "{UI_Version}";
120+ this.lbl_UIVer.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
121+ //
122+ // label2
123+ //
124+ this.label2.AutoSize = true;
125+ this.label2.Location = new System.Drawing.Point(125, 99);
126+ this.label2.Name = "label2";
127+ this.label2.Size = new System.Drawing.Size(204, 13);
128+ this.label2.TabIndex = 37;
129+ this.label2.Text = "localized by hylom@users.sourceforge.jp";
130+ //
111131 // frmAbout
112132 //
113133 this.AcceptButton = this.btn_close;
114134 this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
115135 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
116136 this.CancelButton = this.btn_close;
117- this.ClientSize = new System.Drawing.Size(363, 117);
137+ this.ClientSize = new System.Drawing.Size(363, 160);
138+ this.Controls.Add(this.label2);
139+ this.Controls.Add(this.lbl_UIVer);
118140 this.Controls.Add(this.btn_close);
119141 this.Controls.Add(this.label1);
120142 this.Controls.Add(this.PictureBox1);
@@ -129,7 +151,7 @@ namespace Handbrake
129151 this.ShowIcon = false;
130152 this.ShowInTaskbar = false;
131153 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
132- this.Text = "HandBrakeについて";
154+ this.Text = "HandBrake日本語版について";
133155 ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
134156 this.ResumeLayout(false);
135157 this.PerformLayout();
@@ -143,5 +165,7 @@ namespace Handbrake
143165 internal System.Windows.Forms.Label lbl_HBBuild;
144166 internal System.Windows.Forms.PictureBox PictureBox1;
145167 private System.Windows.Forms.Button btn_close;
168+ private System.Windows.Forms.Label label2;
169+ internal System.Windows.Forms.Label lbl_UIVer;
146170 }
147171 }
\ No newline at end of file
--- a/win/C#/frmAbout.cs
+++ b/win/C#/frmAbout.cs
@@ -23,11 +23,18 @@ namespace Handbrake
2323 {
2424 InitializeComponent();
2525 lbl_HBBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") - " + Properties.Settings.Default.hb_platform;
26+
27+ // get GUI version
28+ System.Reflection.Assembly asm = System.Reflection.Assembly.GetExecutingAssembly();
29+ System.Version ver = asm.GetName().Version;
30+ lbl_UIVer.Text = "HandBrake UI version: " + ver.ToString();
31+
2632 }
2733
2834 private void btn_close_Click(object sender, EventArgs e)
2935 {
3036 this.Close();
3137 }
38+
3239 }
3340 }
\ No newline at end of file