Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
seto77 committed Nov 10, 2022
1 parent 4afbff6 commit 32cfb54
Show file tree
Hide file tree
Showing 12 changed files with 4,643 additions and 4,998 deletions.
7 changes: 4 additions & 3 deletions Crystallography.Controls/CommonDialog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion Crystallography.Controls/CommonDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public DialogModeEnum DialogMode

labelSoftwareAndVersion.Visible = true;

ClientSize = new Size(400, progressBar.Height + flowLayoutPanelSoftwareInformation.Height + panelOK.Height);
ClientSize = new Size(420, progressBar.Height + flowLayoutPanelSoftwareInformation.Height + panelOK.Height);
}
else
{
Expand Down Expand Up @@ -155,5 +155,11 @@ private void buttonNext_Click(object sender, EventArgs e)
#endregion

private void setToolTips() => textBox.Text = hint.Length > 0 ? hint[new Random().Next(hint.Length)] : "";

private void checkBoxCloseWindow_CheckedChanged(object sender, EventArgs e)
{
if (checkBoxCloseWindow.Checked)
Visible = false;
}
}
}
134 changes: 26 additions & 108 deletions Crystallography.Controls/CommonDialog.ja.resx
Original file line number Diff line number Diff line change
@@ -1,64 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
Expand Down Expand Up @@ -119,68 +59,46 @@
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="progressBar.Size" type="System.Drawing.Size, System.Drawing">
<value>531, 22</value>
<value>378, 22</value>
</data>
<data name="textBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 66</value>
<data name="textBox.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 56</value>
</data>
<data name="textBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>519, 90</value>
<data name="textBox.Size" type="System.Drawing.Size, System.Drawing">
<value>378, 240</value>
</data>
<data name="buttonOK.Location" type="System.Drawing.Point, System.Drawing">
<value>410, 159</value>
<value>302, 0</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
<data name="labelCopyRight.Location" type="System.Drawing.Point, System.Drawing">
<value>2, 17</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>304, 21</value>
<data name="checkBoxCloseWindow.Font" type="System.Drawing.Font, System.Drawing">
<value>メイリオ, 9pt</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>166, 16</value>
</data>
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
<value>169, 21</value>
</data>
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
<value>129, 16</value>
</data>
<data name="label5.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label5.Location" type="System.Drawing.Point, System.Drawing">
<value>5, 21</value>
</data>
<data name="label5.Size" type="System.Drawing.Size, System.Drawing">
<value>151, 16</value>
</data>
<data name="buttonNext.Location" type="System.Drawing.Point, System.Drawing">
<value>457, 39</value>
<data name="checkBoxCloseWindow.Location" type="System.Drawing.Point, System.Drawing">
<value>59, 0</value>
</data>
<data name="buttonPrevious.Location" type="System.Drawing.Point, System.Drawing">
<value>384, 39</value>
<data name="checkBoxCloseWindow.Size" type="System.Drawing.Size, System.Drawing">
<value>243, 23</value>
</data>
<data name="label3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
<data name="checkBoxCloseWindow.Text" xml:space="preserve">
<value>起動後にこのウィンドウを自動で閉じる</value>
</data>
<data name="label3.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 19</value>
<data name="linkLabel1.Location" type="System.Drawing.Point, System.Drawing">
<value>254, 17</value>
</data>
<data name="panelProgresspar.Size" type="System.Drawing.Size, System.Drawing">
<value>531, 22</value>
<data name="flowLayoutPanelSoftwareInformation.Size" type="System.Drawing.Size, System.Drawing">
<value>378, 34</value>
</data>
<data name="panelVersion.Size" type="System.Drawing.Size, System.Drawing">
<value>531, 204</value>
<data name="panelOK.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 296</value>
</data>
<data name="checkBoxCloseWindow.Location" type="System.Drawing.Point, System.Drawing">
<value>119, 162</value>
<data name="panelOK.Size" type="System.Drawing.Size, System.Drawing">
<value>378, 23</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>531, 228</value>
<value>378, 319</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>372, 47</value>
Expand Down
Loading

0 comments on commit 32cfb54

Please sign in to comment.