Skip to content

Commit 0904b1a

Browse files
committed
Remove redundant Help menu item and bundled PDF manuals
- Merge the duplicate "Help (Manual)" (githubWikiToolStripMenuItem) into "Help (WEB)" (helpwebToolStripMenuItem); both opened the same GitHub Pages manual. The remaining item now opens the GitHub Pages manual by UI language (ja/en), replacing the old yseto.net page and bundled 2023 PDF viewer. - Drop the bundled ReciProManual(en|ja).pdf from the build output; the manual now lives at https://seto77.github.io/ReciPro/. - Add ver4.935 history entry.
1 parent 7f7e546 commit 0904b1a

6 files changed

Lines changed: 22 additions & 48 deletions

File tree

ReciPro/FormMain.Designer.cs

Lines changed: 1 addition & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ReciPro/FormMain.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,15 +1576,23 @@ private void ToolStripMenuItemReadInitialCrystalList_Click(object sender, EventA
15761576

15771577
private void helpwebToolStripMenuItem_Click(object sender, EventArgs e)
15781578
{
1579-
if (Language != Languages.English)
1580-
Process.Start(new ProcessStartInfo("https://yseto.net/soft/recipro/") { UseShellExecute = true });
1581-
else
1582-
{
1583-
var fn = "\\doc\\ReciProManual(" + (Language == Languages.English ? "en" : "ja") + ").pdf";
1584-
var appPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
1585-
var f = new FormPDF(appPath + fn) { Text = "ReciPro manual" };
1586-
f.Show();
1587-
}
1579+
// 260602Cl: yseto.net 旧 web マニュアル(現在は GitHub Pages への移転スタブ)と同梱の旧 PDF(2023年版) を廃止し、
1580+
// GitHub Pages のマニュアルを UI 言語別 (ja/en) に開くよう変更。
1581+
Process.Start(new ProcessStartInfo(
1582+
Thread.CurrentThread.CurrentUICulture.Name == "ja"
1583+
? "https://seto77.github.io/ReciPro/ja/"
1584+
: "https://seto77.github.io/ReciPro/") { UseShellExecute = true });
1585+
1586+
// 260602Cl 旧コード (コメントアウト保存):
1587+
//if (Language != Languages.English)
1588+
// Process.Start(new ProcessStartInfo("https://yseto.net/soft/recipro/") { UseShellExecute = true });
1589+
//else
1590+
//{
1591+
// var fn = "\\doc\\ReciProManual(" + (Language == Languages.English ? "en" : "ja") + ").pdf";
1592+
// var appPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
1593+
// var f = new FormPDF(appPath + fn) { Text = "ReciPro manual" };
1594+
// f.Show();
1595+
//}
15881596
}
15891597
private void hintToolStripMenuItem_Click(object sender, EventArgs e)
15901598
{
@@ -1634,15 +1642,7 @@ private void githubPageToolStripMenuItem_Click(object sender, EventArgs e)
16341642
=> Process.Start(new ProcessStartInfo("https://github.com/seto77/ReciPro") { UseShellExecute = true });
16351643
private void reportBugsRequestsOrCommentsToolStripMenuItem1_Click(object sender, EventArgs e)
16361644
=> Process.Start(new ProcessStartInfo("https://github.com/seto77/ReciPro/issues") { UseShellExecute = true });
1637-
1638-
// 260525Cl: GitHub Wiki は凍結しマニュアルを GitHub Pages へ移行。UI 言語に合わせて en/ja のページを開く。
1639-
// private void githubWikiToolStripMenuItem_Click(object sender, EventArgs e)
1640-
// => Process.Start(new ProcessStartInfo("https://github.com/seto77/ReciPro/wiki") { UseShellExecute = true }); // 260525Cl 旧: Wiki
1641-
private void githubWikiToolStripMenuItem_Click(object sender, EventArgs e)
1642-
=> Process.Start(new ProcessStartInfo(
1643-
Thread.CurrentThread.CurrentUICulture.Name == "ja"
1644-
? "https://seto77.github.io/ReciPro/ja/"
1645-
: "https://seto77.github.io/ReciPro/") { UseShellExecute = true });
1645+
// 260602Cl: githubWikiToolStripMenuItem("Help (Manual)") は helpweb("使い方(WEB)") と同一の GitHub Pages を開く重複だったため削除。helpweb 側に統合。
16461646

16471647

16481648
//260421Cl 追加: メニューチェック変更ハンドラ (Designer からバインド)

ReciPro/FormMain.ja.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,9 +1616,6 @@ v2</value>
16161616
<data name="helpwebToolStripMenuItem.Text" xml:space="preserve">
16171617
<value>使い方 (WEB)</value>
16181618
</data>
1619-
<data name="githubWikiToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
1620-
<value>158, 22</value>
1621-
</data>
16221619
<data name="helpToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
16231620
<value>52, 21</value>
16241621
</data>

ReciPro/FormMain.resx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,9 +1609,6 @@ normal points toward you (out of the screen).</value>
16091609
<data name="&gt;&gt;$this.Type" xml:space="preserve">
16101610
<value>Crystallography.Controls.FormBase, Crystallography.Controls, Culture=neutral, PublicKeyToken=null</value>
16111611
</data>
1612-
<data name="githubWikiToolStripMenuItem.Text" xml:space="preserve">
1613-
<value>Help (Manual)</value>
1614-
</data>
16151612
<data name="labelLaTex3.Text" xml:space="preserve">
16161613
<value>\Phi</value>
16171614
</data>
@@ -1666,9 +1663,6 @@ normal points toward you (out of the screen).</value>
16661663
<data name="numericBoxEulerPsi.Location" type="System.Drawing.Point, System.Drawing">
16671664
<value>25, 56</value>
16681665
</data>
1669-
<data name="&gt;&gt;githubWikiToolStripMenuItem.Type" xml:space="preserve">
1670-
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
1671-
</data>
16721666
<data name="panel3.ToolTip" xml:space="preserve">
16731667
<value />
16741668
</data>
@@ -1768,9 +1762,6 @@ normal points toward you (out of the screen).</value>
17681762
<data name="&gt;&gt;panel2.ZOrder" xml:space="preserve">
17691763
<value>3</value>
17701764
</data>
1771-
<data name="githubWikiToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
1772-
<value>294, 22</value>
1773-
</data>
17741765
<data name="&gt;&gt;optionToolStripMenuItem.Type" xml:space="preserve">
17751766
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
17761767
</data>
@@ -3477,9 +3468,6 @@ is used as rotation speed in degrees per second.</value>
34773468
<data name="&gt;&gt;buttonUp.Name" xml:space="preserve">
34783469
<value>buttonUp</value>
34793470
</data>
3480-
<data name="&gt;&gt;githubWikiToolStripMenuItem.Name" xml:space="preserve">
3481-
<value>githubWikiToolStripMenuItem</value>
3482-
</data>
34833471
<data name="labelCurrentIndex.Font" type="System.Drawing.Font, System.Drawing">
34843472
<value>Segoe UI, 9.75pt</value>
34853473
</data>

ReciPro/ReciPro.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,8 @@
9696
<Content Include="doc\Hrtem.pdf">
9797
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
9898
</Content>
99-
<Content Include="doc\ReciProManual(en).pdf">
100-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
101-
</Content>
102-
<Content Include="doc\ReciProManual(ja).pdf">
103-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
104-
</Content>
99+
<!-- 260602Cl: 同梱マニュアルPDF(2023年版)の出力同梱を廃止。マニュアルは GitHub Pages (https://seto77.github.io/ReciPro/) に移行済み。
100+
旧: <Content Include="doc\ReciProManual(en).pdf"> / <Content Include="doc\ReciProManual(ja).pdf"> (CopyToOutputDirectory=PreserveNewest) -->
105101
<!-- 260530Cl GPL の ffmpeg DLL 同梱を廃止し Media Foundation へ移行。旧: <Content Include="ffmpeg\*.dll"> -->
106102
<Content Include="initial.xml">
107103
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

ReciPro/Version.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ internal static class Version
77

88
public const string History =
99
"History" +
10+
"\r\n ver4.935(2026/06/02) Added a portable ZIP distribution, improved the manual, and fixed bugs." +
1011
"\r\n ver4.934(2026/05/30) Improved the video encoding engine and reduced the distribution size." +
1112
"\r\n ver4.933(2026/05/29) Fixed OpenGL rendering corruption on Windows on ARM (x64 emulation)." +
1213
"\r\n ver4.932(2026/05/28) Improved the manual and enhanced stereographic projection features. (see https://github.com/seto77/ReciPro/issues/58)" +

0 commit comments

Comments
 (0)