diff --git a/Crystallography.Controls/CommonDialog.cs b/Crystallography.Controls/CommonDialog.cs
index 3d7511d..9ac9fe2 100644
--- a/Crystallography.Controls/CommonDialog.cs
+++ b/Crystallography.Controls/CommonDialog.cs
@@ -6,6 +6,19 @@ namespace Crystallography.Controls
{
public partial class CommonDialog : Form
{
+ #region プロパティ,フィールド
+
+ public (string Text, double Ratio) Progress
+ {
+ set
+ {
+ Text = value.Text;
+ var progress = (int)(progressBar.Maximum * value.Ratio);
+ progressBar.Value = progress < progressBar.Maximum ? progress : progressBar.Maximum ;
+ Application.DoEvents();
+ }
+ }
+
public enum DialogModeEnum { Initialize, History, License, Hint }
public DialogModeEnum DialogMode
@@ -16,7 +29,6 @@ public DialogModeEnum DialogMode
flowLayoutPanelSoftwareInformation.Visible = true;
if (value == DialogModeEnum.Initialize)
{
-
progressBar.Visible = true;
checkBoxCloseWindow.Visible = true;
@@ -56,17 +68,9 @@ public DialogModeEnum DialogMode
Size = new Size(400, 200);
}
}
-
}
- public CommonDialog()
- {
- InitializeComponent();
- }
-
-
private string software="";// e.g., "ReciPro"
-
public string Software
{
get => software;
@@ -93,31 +97,45 @@ public string VersionAndDate
public string History { get; set; } = "";
-
+ public string[] Hint { set { hint = value; setToolTips(); } get => hint; }
private string[] hint;
- public string[] Hint
- {
- set
- {
- hint = value;
- setToolTips();
- }
- get => hint;
- }
+ public bool AutomaricallyClose { set => checkBoxCloseWindow.Checked = value; get => checkBoxCloseWindow.Checked; }
+
+ private int currentHintIndex = 0;
+
+ ///
+ /// License
+ ///
+ static public string License =
+ "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation" +
+ " files(the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy," +
+ " modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software" +
+ " is furnished to do so, subject to the following conditions:\r\n\r\n" +
+ "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\n" +
+ "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES" +
+ " OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE " +
+ "LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN " +
+ "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.";
+
+
+ #endregion
- private void setToolTips()
+ #region コンストラクタ、ロード、クローズ
+
+ public CommonDialog()
{
- textBox.Text = hint.Length > 0 ? hint[new Random().Next(hint.Length)]: "";
+ InitializeComponent();
}
-
- public bool AutomaricallyClose
+ private void CommonDialog_FormClosing(object sender, FormClosingEventArgs e)
{
- set => checkBoxCloseWindow.Checked = value;
- get => checkBoxCloseWindow.Checked;
+ e.Cancel = true;
+ Visible = false;
}
- private int currentHintIndex = 0;
+ #endregion
+
+ #region ボタンイベント
private void buttonOK_Click(object sender, EventArgs e)
{
@@ -134,26 +152,8 @@ private void buttonNext_Click(object sender, EventArgs e)
textBox.Text = hint[currentHintIndex];
}
}
+ #endregion
-
- ///
- /// License
- ///
- static public string License =
- "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation" +
- " files(the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy," +
- " modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software" +
- " is furnished to do so, subject to the following conditions:\r\n\r\n" +
- "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\r\n\r\n" +
- "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES" +
- " OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE " +
- "LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN " +
- "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.";
-
- private void CommonDialog_FormClosing(object sender, FormClosingEventArgs e)
- {
- e.Cancel = true;
- Visible = false;
- }
+ private void setToolTips() => textBox.Text = hint.Length > 0 ? hint[new Random().Next(hint.Length)] : "";
}
}
\ No newline at end of file
diff --git a/Crystallography.Controls/Crystal/AtomControl.Designer.cs b/Crystallography.Controls/Crystal/AtomControl.Designer.cs
index bad231d..a24e86d 100644
--- a/Crystallography.Controls/Crystal/AtomControl.Designer.cs
+++ b/Crystallography.Controls/Crystal/AtomControl.Designer.cs
@@ -96,6 +96,13 @@ private void InitializeComponent()
this.numericBoxOriginShiftY = new Crystallography.Controls.NumericBox();
this.numericBoxOriginShiftX = new Crystallography.Controls.NumericBox();
this.tabPageDebyeWaller = new System.Windows.Forms.TabPage();
+ this.labelDimension = new System.Windows.Forms.Label();
+ this.flowLayoutPanel5 = new System.Windows.Forms.FlowLayoutPanel();
+ this.label3 = new System.Windows.Forms.Label();
+ this.radioButtonDebyeWallerTypeU = new System.Windows.Forms.RadioButton();
+ this.radioButtonDebyeWallerTypeB = new System.Windows.Forms.RadioButton();
+ this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel();
+ this.label13 = new System.Windows.Forms.Label();
this.checkBoxDetailsDebyeWallerError = new System.Windows.Forms.CheckBox();
this.flowLayoutPanelAniso2 = new System.Windows.Forms.FlowLayoutPanel();
this.numericBoxB22 = new Crystallography.Controls.NumericBox();
@@ -123,6 +130,12 @@ private void InitializeComponent()
this.label4 = new System.Windows.Forms.Label();
this.tabPageAppearance = new System.Windows.Forms.TabPage();
this.checkBoxShowLabel = new System.Windows.Forms.CheckBox();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label37 = new System.Windows.Forms.Label();
+ this.label38 = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label35 = new System.Windows.Forms.Label();
+ this.label36 = new System.Windows.Forms.Label();
this.numericBoxAlpha = new Crystallography.Controls.NumericBox();
this.numericBoxEmission = new Crystallography.Controls.NumericBox();
this.numericBoxShininess = new Crystallography.Controls.NumericBox();
@@ -130,12 +143,6 @@ private void InitializeComponent()
this.numericBoxDiffusion = new Crystallography.Controls.NumericBox();
this.numericBoxAmbient = new Crystallography.Controls.NumericBox();
this.numericBoxAtomRadius = new Crystallography.Controls.NumericBox();
- this.label10 = new System.Windows.Forms.Label();
- this.label37 = new System.Windows.Forms.Label();
- this.label38 = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.label35 = new System.Windows.Forms.Label();
- this.label36 = new System.Windows.Forms.Label();
this.colorControlAtomColor = new Crystallography.Controls.ColorControl();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.buttonChangeToSameElement = new System.Windows.Forms.Button();
@@ -169,6 +176,8 @@ private void InitializeComponent()
this.tabPageOriginShift.SuspendLayout();
this.flowLayoutPanel3.SuspendLayout();
this.tabPageDebyeWaller.SuspendLayout();
+ this.flowLayoutPanel5.SuspendLayout();
+ this.flowLayoutPanel4.SuspendLayout();
this.flowLayoutPanelAniso2.SuspendLayout();
this.flowLayoutPanelAniso1.SuspendLayout();
this.tabPageScatteringFactor.SuspendLayout();
@@ -520,6 +529,7 @@ private void InitializeComponent()
// numericBoxOccerr
//
this.numericBoxOccerr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxOccerr.DecimalPlaces = 6;
resources.ApplyResources(this.numericBoxOccerr, "numericBoxOccerr");
this.numericBoxOccerr.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxOccerr.HeaderBackColor = System.Drawing.SystemColors.Control;
@@ -528,11 +538,13 @@ private void InitializeComponent()
this.numericBoxOccerr.SmartIncrement = true;
this.numericBoxOccerr.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxOccerr.ThonsandsSeparator = true;
+ this.numericBoxOccerr.TrimEndZero = true;
//
// numericBoxOcc
//
resources.ApplyResources(this.numericBoxOcc, "numericBoxOcc");
this.numericBoxOcc.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxOcc.DecimalPlaces = 6;
this.numericBoxOcc.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxOcc.HeaderBackColor = System.Drawing.SystemColors.Control;
this.numericBoxOcc.Name = "numericBoxOcc";
@@ -541,11 +553,13 @@ private void InitializeComponent()
this.numericBoxOcc.SmartIncrement = true;
this.numericBoxOcc.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxOcc.ThonsandsSeparator = true;
+ this.numericBoxOcc.TrimEndZero = true;
//
// numericBoxZ
//
resources.ApplyResources(this.numericBoxZ, "numericBoxZ");
this.numericBoxZ.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxZ.DecimalPlaces = 6;
this.numericBoxZ.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxZ.HeaderBackColor = System.Drawing.SystemColors.Control;
this.numericBoxZ.Name = "numericBoxZ";
@@ -554,10 +568,12 @@ private void InitializeComponent()
this.numericBoxZ.SmartIncrement = true;
this.numericBoxZ.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxZ.ThonsandsSeparator = true;
+ this.numericBoxZ.TrimEndZero = true;
//
// numericBoxYerr
//
this.numericBoxYerr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxYerr.DecimalPlaces = 6;
resources.ApplyResources(this.numericBoxYerr, "numericBoxYerr");
this.numericBoxYerr.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxYerr.HeaderBackColor = System.Drawing.SystemColors.Control;
@@ -566,10 +582,12 @@ private void InitializeComponent()
this.numericBoxYerr.SmartIncrement = true;
this.numericBoxYerr.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxYerr.ThonsandsSeparator = true;
+ this.numericBoxYerr.TrimEndZero = true;
//
// numericBoxXerr
//
this.numericBoxXerr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxXerr.DecimalPlaces = 6;
resources.ApplyResources(this.numericBoxXerr, "numericBoxXerr");
this.numericBoxXerr.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxXerr.HeaderBackColor = System.Drawing.SystemColors.Control;
@@ -578,11 +596,13 @@ private void InitializeComponent()
this.numericBoxXerr.SmartIncrement = true;
this.numericBoxXerr.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxXerr.ThonsandsSeparator = true;
+ this.numericBoxXerr.TrimEndZero = true;
//
// numericBoxY
//
resources.ApplyResources(this.numericBoxY, "numericBoxY");
this.numericBoxY.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxY.DecimalPlaces = 6;
this.numericBoxY.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxY.HeaderBackColor = System.Drawing.SystemColors.Control;
this.numericBoxY.Name = "numericBoxY";
@@ -591,11 +611,13 @@ private void InitializeComponent()
this.numericBoxY.SmartIncrement = true;
this.numericBoxY.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxY.ThonsandsSeparator = true;
+ this.numericBoxY.TrimEndZero = true;
//
// numericBoxX
//
resources.ApplyResources(this.numericBoxX, "numericBoxX");
this.numericBoxX.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxX.DecimalPlaces = 6;
this.numericBoxX.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxX.HeaderBackColor = System.Drawing.SystemColors.Control;
this.numericBoxX.Name = "numericBoxX";
@@ -604,10 +626,12 @@ private void InitializeComponent()
this.numericBoxX.SmartIncrement = true;
this.numericBoxX.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxX.ThonsandsSeparator = true;
+ this.numericBoxX.TrimEndZero = true;
//
// numericBoxZerr
//
this.numericBoxZerr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxZerr.DecimalPlaces = 6;
resources.ApplyResources(this.numericBoxZerr, "numericBoxZerr");
this.numericBoxZerr.FooterBackColor = System.Drawing.SystemColors.Control;
this.numericBoxZerr.HeaderBackColor = System.Drawing.SystemColors.Control;
@@ -616,6 +640,7 @@ private void InitializeComponent()
this.numericBoxZerr.SmartIncrement = true;
this.numericBoxZerr.TextFont = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.numericBoxZerr.ThonsandsSeparator = true;
+ this.numericBoxZerr.TrimEndZero = true;
//
// tabPageOriginShift
//
@@ -814,16 +839,61 @@ private void InitializeComponent()
// tabPageDebyeWaller
//
this.tabPageDebyeWaller.BackColor = System.Drawing.Color.Transparent;
+ this.tabPageDebyeWaller.Controls.Add(this.labelDimension);
+ this.tabPageDebyeWaller.Controls.Add(this.flowLayoutPanelIso);
+ this.tabPageDebyeWaller.Controls.Add(this.flowLayoutPanel5);
+ this.tabPageDebyeWaller.Controls.Add(this.flowLayoutPanel4);
this.tabPageDebyeWaller.Controls.Add(this.checkBoxDetailsDebyeWallerError);
this.tabPageDebyeWaller.Controls.Add(this.flowLayoutPanelAniso2);
this.tabPageDebyeWaller.Controls.Add(this.flowLayoutPanelAniso1);
- this.tabPageDebyeWaller.Controls.Add(this.radioButtonAnisotropy);
- this.tabPageDebyeWaller.Controls.Add(this.radioButtonIsotoropy);
- this.tabPageDebyeWaller.Controls.Add(this.flowLayoutPanelIso);
resources.ApplyResources(this.tabPageDebyeWaller, "tabPageDebyeWaller");
this.tabPageDebyeWaller.Name = "tabPageDebyeWaller";
this.toolTip.SetToolTip(this.tabPageDebyeWaller, resources.GetString("tabPageDebyeWaller.ToolTip"));
//
+ // labelDimension
+ //
+ resources.ApplyResources(this.labelDimension, "labelDimension");
+ this.labelDimension.Name = "labelDimension";
+ //
+ // flowLayoutPanel5
+ //
+ resources.ApplyResources(this.flowLayoutPanel5, "flowLayoutPanel5");
+ this.flowLayoutPanel5.Controls.Add(this.label3);
+ this.flowLayoutPanel5.Controls.Add(this.radioButtonDebyeWallerTypeU);
+ this.flowLayoutPanel5.Controls.Add(this.radioButtonDebyeWallerTypeB);
+ this.flowLayoutPanel5.Name = "flowLayoutPanel5";
+ //
+ // label3
+ //
+ resources.ApplyResources(this.label3, "label3");
+ this.label3.Name = "label3";
+ //
+ // radioButtonDebyeWallerTypeU
+ //
+ resources.ApplyResources(this.radioButtonDebyeWallerTypeU, "radioButtonDebyeWallerTypeU");
+ this.radioButtonDebyeWallerTypeU.Name = "radioButtonDebyeWallerTypeU";
+ this.radioButtonDebyeWallerTypeU.CheckedChanged += new System.EventHandler(this.radioButtonDebyeWallerTypeU_CheckedChanged);
+ //
+ // radioButtonDebyeWallerTypeB
+ //
+ resources.ApplyResources(this.radioButtonDebyeWallerTypeB, "radioButtonDebyeWallerTypeB");
+ this.radioButtonDebyeWallerTypeB.Checked = true;
+ this.radioButtonDebyeWallerTypeB.Name = "radioButtonDebyeWallerTypeB";
+ this.radioButtonDebyeWallerTypeB.TabStop = true;
+ //
+ // flowLayoutPanel4
+ //
+ resources.ApplyResources(this.flowLayoutPanel4, "flowLayoutPanel4");
+ this.flowLayoutPanel4.Controls.Add(this.label13);
+ this.flowLayoutPanel4.Controls.Add(this.radioButtonIsotoropy);
+ this.flowLayoutPanel4.Controls.Add(this.radioButtonAnisotropy);
+ this.flowLayoutPanel4.Name = "flowLayoutPanel4";
+ //
+ // label13
+ //
+ resources.ApplyResources(this.label13, "label13");
+ this.label13.Name = "label13";
+ //
// checkBoxDetailsDebyeWallerError
//
resources.ApplyResources(this.checkBoxDetailsDebyeWallerError, "checkBoxDetailsDebyeWallerError");
@@ -1087,6 +1157,12 @@ private void InitializeComponent()
// tabPageAppearance
//
this.tabPageAppearance.Controls.Add(this.checkBoxShowLabel);
+ this.tabPageAppearance.Controls.Add(this.label10);
+ this.tabPageAppearance.Controls.Add(this.label37);
+ this.tabPageAppearance.Controls.Add(this.label38);
+ this.tabPageAppearance.Controls.Add(this.label11);
+ this.tabPageAppearance.Controls.Add(this.label35);
+ this.tabPageAppearance.Controls.Add(this.label36);
this.tabPageAppearance.Controls.Add(this.numericBoxAlpha);
this.tabPageAppearance.Controls.Add(this.numericBoxEmission);
this.tabPageAppearance.Controls.Add(this.numericBoxShininess);
@@ -1094,12 +1170,6 @@ private void InitializeComponent()
this.tabPageAppearance.Controls.Add(this.numericBoxDiffusion);
this.tabPageAppearance.Controls.Add(this.numericBoxAmbient);
this.tabPageAppearance.Controls.Add(this.numericBoxAtomRadius);
- this.tabPageAppearance.Controls.Add(this.label10);
- this.tabPageAppearance.Controls.Add(this.label37);
- this.tabPageAppearance.Controls.Add(this.label38);
- this.tabPageAppearance.Controls.Add(this.label11);
- this.tabPageAppearance.Controls.Add(this.label35);
- this.tabPageAppearance.Controls.Add(this.label36);
this.tabPageAppearance.Controls.Add(this.colorControlAtomColor);
resources.ApplyResources(this.tabPageAppearance, "tabPageAppearance");
this.tabPageAppearance.Name = "tabPageAppearance";
@@ -1110,6 +1180,36 @@ private void InitializeComponent()
this.checkBoxShowLabel.Name = "checkBoxShowLabel";
this.checkBoxShowLabel.UseVisualStyleBackColor = true;
//
+ // label10
+ //
+ resources.ApplyResources(this.label10, "label10");
+ this.label10.Name = "label10";
+ //
+ // label37
+ //
+ resources.ApplyResources(this.label37, "label37");
+ this.label37.Name = "label37";
+ //
+ // label38
+ //
+ resources.ApplyResources(this.label38, "label38");
+ this.label38.Name = "label38";
+ //
+ // label11
+ //
+ resources.ApplyResources(this.label11, "label11");
+ this.label11.Name = "label11";
+ //
+ // label35
+ //
+ resources.ApplyResources(this.label35, "label35");
+ this.label35.Name = "label35";
+ //
+ // label36
+ //
+ resources.ApplyResources(this.label36, "label36");
+ this.label36.Name = "label36";
+ //
// numericBoxAlpha
//
resources.ApplyResources(this.numericBoxAlpha, "numericBoxAlpha");
@@ -1233,36 +1333,6 @@ private void InitializeComponent()
this.numericBoxAtomRadius.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
this.numericBoxAtomRadius.ThonsandsSeparator = true;
//
- // label10
- //
- resources.ApplyResources(this.label10, "label10");
- this.label10.Name = "label10";
- //
- // label37
- //
- resources.ApplyResources(this.label37, "label37");
- this.label37.Name = "label37";
- //
- // label38
- //
- resources.ApplyResources(this.label38, "label38");
- this.label38.Name = "label38";
- //
- // label11
- //
- resources.ApplyResources(this.label11, "label11");
- this.label11.Name = "label11";
- //
- // label35
- //
- resources.ApplyResources(this.label35, "label35");
- this.label35.Name = "label35";
- //
- // label36
- //
- resources.ApplyResources(this.label36, "label36");
- this.label36.Name = "label36";
- //
// colorControlAtomColor
//
this.colorControlAtomColor.Argb = -986896;
@@ -1525,6 +1595,10 @@ private void InitializeComponent()
this.flowLayoutPanel3.PerformLayout();
this.tabPageDebyeWaller.ResumeLayout(false);
this.tabPageDebyeWaller.PerformLayout();
+ this.flowLayoutPanel5.ResumeLayout(false);
+ this.flowLayoutPanel5.PerformLayout();
+ this.flowLayoutPanel4.ResumeLayout(false);
+ this.flowLayoutPanel4.PerformLayout();
this.flowLayoutPanelAniso2.ResumeLayout(false);
this.flowLayoutPanelAniso1.ResumeLayout(false);
this.tabPageScatteringFactor.ResumeLayout(false);
@@ -1660,5 +1734,12 @@ private void InitializeComponent()
private System.Windows.Forms.DataGridViewTextBoxColumn siteSymDataGridViewTextBoxColumn;
public System.Windows.Forms.DataGridView dataGridView;
private System.Windows.Forms.CheckBox checkBoxShowLabel;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel5;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.RadioButton radioButtonDebyeWallerTypeU;
+ private System.Windows.Forms.RadioButton radioButtonDebyeWallerTypeB;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel4;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label labelDimension;
}
}
diff --git a/Crystallography.Controls/Crystal/AtomControl.cs b/Crystallography.Controls/Crystal/AtomControl.cs
index 5199e16..806d23c 100644
--- a/Crystallography.Controls/Crystal/AtomControl.cs
+++ b/Crystallography.Controls/Crystal/AtomControl.cs
@@ -35,12 +35,12 @@ public Crystal Crystal
public bool SkipEvent { get; set; } = false;
- private bool details1 = false;
+
public bool AtomicPositionError
{
set
{
- details1 = value;
+ atmicPositionError = value;
if (value == false)
{
tableLayoutPanel1.ColumnStyles[4].SizeType = tableLayoutPanel1.ColumnStyles[7].SizeType = SizeType.Absolute;
@@ -59,27 +59,27 @@ public bool AtomicPositionError
numericBoxXerr.TabStop = numericBoxYerr.TabStop = numericBoxZerr.TabStop = numericBoxOccerr.TabStop = true;
}
}
- get => details1;
+ get => atmicPositionError;
}
+ private bool atmicPositionError = false;
- private bool details2 = false;
public bool DebyeWallerError
{
set
{
- details2 = value;
+ debyeWallerError = value;
if (value == false)
{
- numericBoxBiso.Width = numericBoxB11.Width = numericBoxB12.Width =
- numericBoxB13.Width = numericBoxB22.Width = numericBoxB23.Width = numericBoxB33.Width = 60;
+ //numericBoxBiso.Width = numericBoxB11.Width = numericBoxB12.Width =
+ // numericBoxB13.Width = numericBoxB22.Width = numericBoxB23.Width = numericBoxB33.Width = 60;
numericBoxBisoerr.Visible = numericBoxB11err.Visible = numericBoxB12err.Visible = numericBoxB13err.Visible = numericBoxB22err.Visible
= numericBoxB23err.Visible = numericBoxB33err.Visible = false;
}
else
{
- numericBoxBiso.Width = numericBoxB11.Width = numericBoxB12.Width =
- numericBoxB13.Width = numericBoxB22.Width = numericBoxB23.Width = numericBoxB33.Width = 45;
+ //numericBoxBiso.Width = numericBoxB11.Width = numericBoxB12.Width =
+ // numericBoxB13.Width = numericBoxB22.Width = numericBoxB23.Width = numericBoxB33.Width = 45;
numericBoxBisoerr.Visible = numericBoxBiso.Visible =
numericBoxB33err.Visible = numericBoxB23err.Visible =
@@ -87,9 +87,11 @@ public bool DebyeWallerError
numericBoxB12err.Visible = numericBoxB11err.Visible = true;
}
}
- get => details2;
+ get => debyeWallerError;
}
- public bool Istoropy
+ private bool debyeWallerError = false;
+
+ public bool UseIsotropy
{
set
{
@@ -101,35 +103,48 @@ public bool Istoropy
get => radioButtonIsotoropy.Checked;
}
+ public bool UseTypeU
+ {
+ set
+ {
+ if (value)
+ radioButtonDebyeWallerTypeU.Checked = true;
+ else
+ radioButtonDebyeWallerTypeB.Checked = true;
+ }
+ get => radioButtonDebyeWallerTypeU.Checked;
+ }
+
+
#region 貂ゥ蠎ヲ蝗蟄 繝励Ο繝代ユ繧」
[Category("Atom")]
- public double Biso { set => numericBoxBiso.Value = value; get => numericBoxBiso.Value; }
+ public double Iso { set => numericBoxBiso.Value = value; get => numericBoxBiso.Value; }
[Category("Atom")]
- public double BisoErr { set => numericBoxBisoerr.Value = value; get => numericBoxBisoerr.Value; }
+ public double IsoErr { set => numericBoxBisoerr.Value = value; get => numericBoxBisoerr.Value; }
[Category("Atom")]
- public double B11 { set => numericBoxB11.Value = value; get => numericBoxB11.Value; }
+ public double Aniso11 { set => numericBoxB11.Value = value; get => numericBoxB11.Value; }
[Category("Atom")]
- public double B11Err { set => numericBoxB11err.Value = value; get => numericBoxB11err.Value; }
+ public double Aniso11Err { set => numericBoxB11err.Value = value; get => numericBoxB11err.Value; }
[Category("Atom")]
- public double B12 { set => numericBoxB12.Value = value; get => numericBoxB12.Value; }
+ public double Aniso12 { set => numericBoxB12.Value = value; get => numericBoxB12.Value; }
[Category("Atom")]
- public double B12Err { set => numericBoxB12err.Value = value; get => numericBoxB12err.Value; }
+ public double Aniso12Err { set => numericBoxB12err.Value = value; get => numericBoxB12err.Value; }
[Category("Atom")]
- public double B13 { set => numericBoxB13.Value = value; get => numericBoxB13.Value; }
+ public double Aniso13 { set => numericBoxB13.Value = value; get => numericBoxB13.Value; }
[Category("Atom")]
- public double B13Err { set => numericBoxB13err.Value = value; get => numericBoxB13err.Value; }
+ public double Aniso13Err { set => numericBoxB13err.Value = value; get => numericBoxB13err.Value; }
[Category("Atom")]
- public double B22 { set => numericBoxB22.Value = value; get => numericBoxB22.Value; }
+ public double Aniso22 { set => numericBoxB22.Value = value; get => numericBoxB22.Value; }
[Category("Atom")]
- public double B22Err { set => numericBoxB22err.Value = value; get => numericBoxB22err.Value; }
+ public double Aniso22Err { set => numericBoxB22err.Value = value; get => numericBoxB22err.Value; }
[Category("Atom")]
- public double B23 { set => numericBoxB23.Value = value; get { return numericBoxB23.Value; } }
+ public double Aniso23 { set => numericBoxB23.Value = value; get { return numericBoxB23.Value; } }
[Category("Atom")]
- public double B23Err { set { numericBoxB23err.Value = value; } get { return numericBoxB23err.Value; } }
+ public double Aniso23Err { set { numericBoxB23err.Value = value; } get { return numericBoxB23err.Value; } }
[Category("Atom")]
- public double B33 { set { numericBoxB33.Value = value; } get { return numericBoxB33.Value; } }
+ public double Aniso33 { set { numericBoxB33.Value = value; } get { return numericBoxB33.Value; } }
[Category("Atom")]
- public double B33Err { set { numericBoxB33err.Value = value; } get { return numericBoxB33err.Value; } }
+ public double Aniso33Err { set { numericBoxB33err.Value = value; } get { return numericBoxB33err.Value; } }
#endregion
#region 蜴溷ュ蝉ス咲スョ 繝励Ο繝代ユ繧」
@@ -288,6 +303,23 @@ private void radioButtonIsotoropy_CheckedChanged(object sender, EventArgs e)
{
flowLayoutPanelAniso1.Visible = flowLayoutPanelAniso2.Visible = !radioButtonIsotoropy.Checked;
flowLayoutPanelIso.Visible = radioButtonIsotoropy.Checked;
+
+ labelDimension.Text = radioButtonDebyeWallerTypeB.Checked && radioButtonAnisotropy.Checked ? "Dimension: None" : "Dimension: 邃ォ^2";
+ }
+
+ private void radioButtonDebyeWallerTypeU_CheckedChanged(object sender, EventArgs e)
+ {
+ var U = radioButtonDebyeWallerTypeU.Checked;
+ numericBoxBiso.HeaderText = U ? "Uiso" : "Biso";
+ numericBoxB11.HeaderText = U ? "U11" : "B11";
+ numericBoxB22.HeaderText = U ? "U22" : "B22";
+ numericBoxB33.HeaderText = U ? "U33" : "B33";
+ numericBoxB12.HeaderText = U ? "U12" : "B12";
+ numericBoxB23.HeaderText = U ? "U23" : "B23";
+ numericBoxB13.HeaderText = U ? "U13" : "B13";
+
+ labelDimension.Text = radioButtonDebyeWallerTypeB.Checked && radioButtonAnisotropy.Checked ? "Dimension: None" : "Dimension: 邃ォ^2";
+
}
//蜴溷ュ千分蜿キ繧ウ繝ウ繝
@@ -490,19 +522,52 @@ public void SetToInterface(Atoms atoms)
AtomSubNoElectron = atoms.SubNumberElectron;
IsotopicComposition = atoms.Isotope;
- X = atoms.X; Y = atoms.Y; Z = atoms.Z; Occ = atoms.Occ;
- XErr = atoms.X_err; YErr = atoms.Y_err; ZErr = atoms.Z_err; OccErr = atoms.Occ_err;
-
- Biso = atoms.Dsf.Biso; B11 = atoms.Dsf.B11; B12 = atoms.Dsf.B12; B13 = atoms.Dsf.B31; B22 = atoms.Dsf.B22; B23 = atoms.Dsf.B23; B33 = atoms.Dsf.B33;
- BisoErr = atoms.Dsf.Biso_err; B11Err = atoms.Dsf.B11_err; B12Err = atoms.Dsf.B12_err; B13Err = atoms.Dsf.B31_err; B22Err = atoms.Dsf.B22_err; B23Err = atoms.Dsf.B23_err; B33Err = atoms.Dsf.B33_err;
- Istoropy = atoms.Dsf.IsIso;
-
- Ambient = atoms.Ambient; Diffusion = atoms.Diffusion; Emission = atoms.Emission; Shininess = atoms.Shininess; Specular = atoms.Specular;
-
- Radius = atoms.Radius; AtomColor = Color.FromArgb(atoms.Argb); Alpha = Color.FromArgb(atoms.Argb).A / 255f;
+ #region 蜴溷ュ蝉ス咲スョ縲∝頃譛臥紫
+ X = atoms.X; XErr = atoms.X_err;
+ Y = atoms.Y; YErr = atoms.Y_err;
+ Z = atoms.Z; ZErr = atoms.Z_err;
+ Occ = atoms.Occ; OccErr = atoms.Occ_err;
+ #endregion
+
+
+ #region 貂ゥ蠎ヲ蝗蟄宣未菫
+ UseIsotropy = atoms.Dsf.UseIso;
+ UseTypeU = atoms.Dsf.OriginalType == DiffuseScatteringFactor.Type.U;
+
+
+ Iso = UseTypeU ? atoms.Dsf.Uiso * 100 : atoms.Dsf.Biso * 100;
+ Aniso11 = UseTypeU ? atoms.Dsf.U11 * 100 : atoms.Dsf.B11;
+ Aniso12 = UseTypeU ? atoms.Dsf.U12 * 100 : atoms.Dsf.B12;
+ Aniso13 = UseTypeU ? atoms.Dsf.U31 * 100 : atoms.Dsf.B31;
+ Aniso22 = UseTypeU ? atoms.Dsf.U22 * 100 : atoms.Dsf.B22;
+ Aniso23 = UseTypeU ? atoms.Dsf.U23 * 100 : atoms.Dsf.B23;
+ Aniso33 = UseTypeU ? atoms.Dsf.U31 * 100 : atoms.Dsf.B31;
+
+ IsoErr = UseTypeU ? atoms.Dsf.Uiso_err * 100 : atoms.Dsf.Biso_err * 100;
+ Aniso11Err = UseTypeU ? atoms.Dsf.U11_err * 100 : atoms.Dsf.B11_err;
+ Aniso12Err = UseTypeU ? atoms.Dsf.U12_err * 100 : atoms.Dsf.B12_err;
+ Aniso13Err = UseTypeU ? atoms.Dsf.U31_err * 100 : atoms.Dsf.B31_err;
+ Aniso22Err = UseTypeU ? atoms.Dsf.U22_err * 100 : atoms.Dsf.B22_err;
+ Aniso23Err = UseTypeU ? atoms.Dsf.U23_err * 100 : atoms.Dsf.B23_err;
+ Aniso33Err = UseTypeU ? atoms.Dsf.U31_err * 100 : atoms.Dsf.B31_err;
+
+ #endregion
+
+ #region Appearance髢「騾」
+
+ Ambient = atoms.Ambient;
+ Diffusion = atoms.Diffusion;
+ Emission = atoms.Emission;
+ Shininess = atoms.Shininess;
+ Specular = atoms.Specular;
+
+ Radius = atoms.Radius;
+ AtomColor = Color.FromArgb(atoms.Argb);
+ Alpha = Color.FromArgb(atoms.Argb).A / 255f;
ShowLabel = atoms.ShowLabel;
-
+
+ #endregion
}
@@ -512,7 +577,18 @@ public void SetToInterface(Atoms atoms)
///
private Atoms GetFromInterface()
{
- var dsf = new DiffuseScatteringFactor(Istoropy, Biso, B11, B22, B33, B12, B23, B13, BisoErr, B11Err, B22Err, B33Err, B12Err, B23Err, B13Err);
+
+ var aniso = UseTypeU ?
+ new[] { Aniso11 / 100, Aniso22 / 100, Aniso33 / 100, Aniso12 / 100, Aniso23 / 100, Aniso13 / 100 } :
+ new[] { Aniso11, Aniso22, Aniso33, Aniso12, Aniso23, Aniso13 };
+
+ var anisoErr = UseTypeU ?
+ new[] { Aniso11Err / 100, Aniso22Err / 100, Aniso33Err / 100, Aniso12Err / 100, Aniso23Err / 100, Aniso13Err / 100 } :
+ new[] { Aniso11Err, Aniso22Err, Aniso33Err, Aniso12Err, Aniso23Err, Aniso13Err };
+
+ var dsf = new DiffuseScatteringFactor(UseTypeU ? DiffuseScatteringFactor.Type.U : DiffuseScatteringFactor.Type.B,
+ UseIsotropy, Iso / 100, IsoErr / 100, aniso, anisoErr, Crystal.CellValue);
+
var material = new Material(AtomColor.ToArgb(), (Ambient, Diffusion, Specular, Shininess, Emission), Alpha);
var atoms = new Atoms(Label, AtomNo, AtomSubNoXray, AtomSubNoElectron, IsotopicComposition,
@@ -647,6 +723,9 @@ private void listBoxAtoms_MouseLeave(object sender, EventArgs e)
// this.toolTip.SetToolTip(this.listBoxAtoms, "displya element, position, symmetry seeting for each atoms.");
}
+
+
+
private void buttonOriginShift_Click(object sender, EventArgs e)
{
var button = sender as Button;
diff --git a/Crystallography.Controls/Crystal/AtomControl.ja.resx b/Crystallography.Controls/Crystal/AtomControl.ja.resx
index 546c65c..88e9bbf 100644
--- a/Crystallography.Controls/Crystal/AtomControl.ja.resx
+++ b/Crystallography.Controls/Crystal/AtomControl.ja.resx
@@ -136,6 +136,9 @@
髱樒ュ画婿
+
+ 79, 4
+
-236, -25
@@ -191,50 +194,62 @@
390, 0
+
+ 1000, 22
+
- 87, 24
+ 87, 22
-
+
306, 0
-
- 84, 24
+
+ 84, 22
-
+
133, 48
-
- 84, 24
+
+ 84, 22
217, 24
+
+ 1000, 22
+
- 84, 24
+ 84, 22
217, 0
+
+ 1000, 22
+
- 84, 24
+ 84, 22
-
+
133, 24
-
- 84, 24
+
+ 84, 22
-
+
133, 0
-
- 84, 24
+
+ 84, 22
217, 48
+
+ 1000, 22
+
- 84, 24
+ 84, 22
477, 74
@@ -317,6 +332,12 @@
468, 3
+
+ 80, 51
+
+
+ 80, 27
+
4, 27
@@ -371,11 +392,8 @@
謨」荵ア蝗蟄
-
- 繝。繧、繝ェ繧ェ, 9pt
-
-
- 蜊雁セ
+
+ 90, 22
繝。繧、繝ェ繧ェ, 9pt
@@ -413,25 +431,21 @@
謾セ蟆
-
- Segoe UI Symbol, 9pt
-
-
-
- 0, 0, 0, 0
+
+ 繝。繧、繝ェ繧ェ, 9pt
-
-
+
+ 蜊雁セ
繝。繧、繝ェ繧ェ, 9pt
-
- 0, 2, 0, 0
-
蜴溷ュ舌ョ濶イ
+
+ 76, 20
+
4, 27
@@ -474,12 +488,6 @@
荳翫∈遘サ蜍
-
- 繝。繧、繝ェ繧ェ, 9pt
-
-
- 螟画峩
-
繝。繧、繝ェ繧ェ, 9pt
@@ -519,7 +527,7 @@
繧オ繧、繝亥ッセ遘ー諤ァ
-
+
563, 185
diff --git a/Crystallography.Controls/Crystal/AtomControl.resx b/Crystallography.Controls/Crystal/AtomControl.resx
index f5caa9a..26a1355 100644
--- a/Crystallography.Controls/Crystal/AtomControl.resx
+++ b/Crystallography.Controls/Crystal/AtomControl.resx
@@ -123,20 +123,20 @@
- Arial, 9pt
+ Segoe UI Symbol, 9.75pt
NoControl
- 3, 6
+ 53, 0
0, 0, 0, 0
- 68, 19
+ 74, 21
0
@@ -151,28 +151,28 @@
System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- tabPageDebyeWaller
+ flowLayoutPanel4
- 4
+ 1
True
- Arial, 9pt
+ Segoe UI Symbol, 9.75pt
NoControl
- 3, 28
+ 127, 0
0, 0, 0, 0
- 82, 19
+ 89, 21
1
@@ -187,10 +187,10 @@
System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- tabPageDebyeWaller
+ flowLayoutPanel4
- 3
+ 2
True
@@ -204,6 +204,12 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
Biso
@@ -223,7 +229,7 @@
1, 1, 1, 1
- 72, 24
+ 96, 24
0
@@ -232,7 +238,7 @@
numericBoxBiso
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelIso
@@ -243,8 +249,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 72, 0
+ 96, 0
0, 0, 0, 0
@@ -265,7 +280,7 @@
numericBoxBisoerr
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelIso
@@ -274,13 +289,13 @@
1
- 85, 4
+ 60, 26
0, 0, 0, 0
- 142, 24
+ 166, 24
2
@@ -295,7 +310,7 @@
tabPageDebyeWaller
- 5
+ 1
None
@@ -940,7 +955,7 @@
numericBox1
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanel8
@@ -1012,7 +1027,7 @@
numericBox2
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanel8
@@ -1135,7 +1150,7 @@
numericBox3
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanel9
@@ -1207,7 +1222,7 @@
numericBox4
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanel9
@@ -1325,7 +1340,7 @@
numericBoxOccerr
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1370,7 +1385,7 @@
numericBoxOcc
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1415,7 +1430,7 @@
numericBoxZ
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1448,7 +1463,7 @@
numericBoxYerr
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1481,7 +1496,7 @@
numericBoxXerr
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1526,7 +1541,7 @@
numericBoxY
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1571,7 +1586,7 @@
numericBoxX
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -1604,7 +1619,7 @@
numericBoxZerr
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tableLayoutPanel1
@@ -2255,7 +2270,7 @@
numericBoxOriginShiftZ
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageOriginShift
@@ -2300,7 +2315,7 @@
numericBoxOriginShiftY
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageOriginShift
@@ -2345,7 +2360,7 @@
numericBoxOriginShiftX
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageOriginShift
@@ -2377,6 +2392,237 @@
1
+
+ True
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ NoControl
+
+
+ 366, 3
+
+
+ 76, 17
+
+
+ 308
+
+
+ Dimension:
+
+
+ labelDimension
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageDebyeWaller
+
+
+ 0
+
+
+ True
+
+
+ GrowAndShrink
+
+
+ True
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ NoControl
+
+
+ 0, 1
+
+
+ 0, 1, 0, 0
+
+
+ 66, 17
+
+
+ 308
+
+
+ Notation:
+
+
+ label3
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ flowLayoutPanel5
+
+
+ 0
+
+
+ True
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ NoControl
+
+
+ 66, 0
+
+
+ 0, 0, 0, 0
+
+
+ 35, 21
+
+
+ 0
+
+
+ U
+
+
+ radioButtonDebyeWallerTypeU
+
+
+ System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ flowLayoutPanel5
+
+
+ 1
+
+
+ True
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ NoControl
+
+
+ 101, 0
+
+
+ 0, 0, 0, 0
+
+
+ 33, 21
+
+
+ 1
+
+
+ B
+
+
+ radioButtonDebyeWallerTypeB
+
+
+ System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ flowLayoutPanel5
+
+
+ 2
+
+
+ 3, 1
+
+
+ 134, 21
+
+
+ 307
+
+
+ flowLayoutPanel5
+
+
+ System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageDebyeWaller
+
+
+ 2
+
+
+ True
+
+
+ GrowAndShrink
+
+
+ True
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ NoControl
+
+
+ 0, 2
+
+
+ 0, 2, 0, 0
+
+
+ 53, 17
+
+
+ 308
+
+
+ Model:
+
+
+ label13
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ flowLayoutPanel4
+
+
+ 0
+
+
+ 143, 1
+
+
+ 216, 21
+
+
+ 307
+
+
+ flowLayoutPanel4
+
+
+ System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageDebyeWaller
+
+
+ 3
+
Top, Right
@@ -2390,7 +2636,7 @@
NoControl
- 453, 3
+ 481, 2
87, 19
@@ -2411,7 +2657,7 @@
tabPageDebyeWaller
- 0
+ 4
True
@@ -2422,6 +2668,15 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ B12
+
0, 0
@@ -2435,7 +2690,7 @@
1, 22
- 70, 24
+ 81, 24
0
@@ -2444,7 +2699,7 @@
numericBoxB22
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso2
@@ -2455,8 +2710,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 70, 0
+ 81, 0
0, 0, 0, 0
@@ -2468,7 +2732,7 @@
1, 22
- 70, 24
+ 66, 24
1
@@ -2477,7 +2741,7 @@
numericBoxB22err
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso2
@@ -2488,11 +2752,20 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ B23
+
- 140, 0
+ 152, 0
- 0, 0, 0, 0
+ 5, 0, 0, 0
1000, 24
@@ -2501,7 +2774,7 @@
1, 22
- 70, 24
+ 81, 24
2
@@ -2510,7 +2783,7 @@
numericBoxB23
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso2
@@ -2521,8 +2794,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 210, 0
+ 233, 0
0, 0, 0, 0
@@ -2534,7 +2816,7 @@
1, 22
- 70, 24
+ 66, 24
3
@@ -2543,7 +2825,7 @@
numericBoxB23err
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso2
@@ -2554,11 +2836,20 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ B31
+
- 280, 0
+ 304, 0
- 0, 0, 0, 0
+ 5, 0, 0, 0
1000, 24
@@ -2567,7 +2858,7 @@
1, 22
- 70, 24
+ 81, 24
4
@@ -2576,7 +2867,7 @@
numericBoxB33
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso2
@@ -2587,8 +2878,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 350, 0
+ 385, 0
0, 0, 0, 0
@@ -2600,7 +2900,7 @@
1, 22
- 70, 24
+ 66, 24
5
@@ -2609,7 +2909,7 @@
numericBoxB33err
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso2
@@ -2618,10 +2918,10 @@
5
- 84, 44
+ 62, 50
- 420, 24
+ 451, 24
4
@@ -2636,7 +2936,7 @@
tabPageDebyeWaller
- 1
+ 5
True
@@ -2647,6 +2947,15 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ B11
+
0, 0
@@ -2660,7 +2969,7 @@
1, 22
- 70, 24
+ 81, 24
0
@@ -2669,7 +2978,7 @@
numericBoxB11
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso1
@@ -2680,8 +2989,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 70, 0
+ 81, 0
0, 0, 0, 0
@@ -2693,7 +3011,7 @@
1, 22
- 70, 24
+ 66, 24
1
@@ -2702,7 +3020,7 @@
numericBoxB11err
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso1
@@ -2713,11 +3031,20 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ B22
+
- 140, 0
+ 152, 0
- 0, 0, 0, 0
+ 5, 0, 0, 0
1000, 24
@@ -2726,7 +3053,7 @@
1, 22
- 70, 24
+ 81, 24
2
@@ -2735,7 +3062,7 @@
numericBoxB12
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso1
@@ -2746,8 +3073,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 210, 0
+ 233, 0
0, 0, 0, 0
@@ -2759,7 +3095,7 @@
1, 22
- 70, 24
+ 66, 24
3
@@ -2768,7 +3104,7 @@
numericBoxB12err
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso1
@@ -2779,11 +3115,20 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ B11
+
- 280, 0
+ 304, 0
- 0, 0, 0, 0
+ 5, 0, 0, 0
1000, 24
@@ -2792,7 +3137,7 @@
1, 22
- 70, 24
+ 81, 24
4
@@ -2801,7 +3146,7 @@
numericBoxB13
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso1
@@ -2812,8 +3157,17 @@
Segoe UI Symbol, 9.75pt
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ ツア
+
- 350, 0
+ 385, 0
0, 0, 0, 0
@@ -2825,7 +3179,7 @@
1, 22
- 70, 24
+ 66, 24
5
@@ -2834,7 +3188,7 @@
numericBoxB13err
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
flowLayoutPanelAniso1
@@ -2843,10 +3197,10 @@
5
- 85, 20
+ 62, 27
- 420, 24
+ 451, 24
3
@@ -2861,7 +3215,7 @@
tabPageDebyeWaller
- 2
+ 6
4, 24
@@ -3223,6 +3577,9 @@
True
+
+ NoControl
+
225, 7
@@ -3247,26 +3604,224 @@
0
-
- GrowAndShrink
-
-
- Segoe UI Symbol, 9.75pt
-
-
- Segoe UI Symbol, 9pt
+
+ True
-
+
Segoe UI Symbol, 9pt
-
- 341, 48
+
+ NoControl
-
- 0, 0, 0, 0
+
+ 4, 33
-
- 1000, 25
+
+ 53, 15
+
+
+ 88
+
+
+ Ambient
+
+
+ label10
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageAppearance
+
+
+ 1
+
+
+ True
+
+
+ Segoe UI Symbol, 9pt
+
+
+ NoControl
+
+
+ 338, 33
+
+
+ 38, 15
+
+
+ 88
+
+
+ Alpha
+
+
+ label37
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageAppearance
+
+
+ 2
+
+
+ True
+
+
+ Segoe UI Symbol, 9pt
+
+
+ NoControl
+
+
+ 133, 33
+
+
+ 52, 15
+
+
+ 88
+
+
+ Specular
+
+
+ label38
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageAppearance
+
+
+ 3
+
+
+ True
+
+
+ Segoe UI Symbol, 9pt
+
+
+ NoControl
+
+
+ 70, 33
+
+
+ 55, 15
+
+
+ 88
+
+
+ Diffusion
+
+
+ label11
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageAppearance
+
+
+ 4
+
+
+ True
+
+
+ Segoe UI Symbol, 9pt
+
+
+ NoControl
+
+
+ 267, 33
+
+
+ 54, 15
+
+
+ 88
+
+
+ Emission
+
+
+ label35
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageAppearance
+
+
+ 5
+
+
+ True
+
+
+ Segoe UI Symbol, 9pt
+
+
+ NoControl
+
+
+ 201, 33
+
+
+ 56, 15
+
+
+ 88
+
+
+ Shininess
+
+
+ label36
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ tabPageAppearance
+
+
+ 6
+
+
+ GrowAndShrink
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ Segoe UI Symbol, 9pt
+
+
+ 341, 48
+
+
+ 0, 0, 0, 0
+
+
+ 1000, 25
1, 23
@@ -3284,13 +3839,13 @@
numericBoxAlpha
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 1
+ 7
GrowAndShrink
@@ -3329,13 +3884,13 @@
numericBoxEmission
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 2
+ 8
GrowAndShrink
@@ -3374,13 +3929,13 @@
numericBoxShininess
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 3
+ 9
GrowAndShrink
@@ -3419,13 +3974,13 @@
numericBoxSpecular
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 4
+ 10
GrowAndShrink
@@ -3464,13 +4019,13 @@
numericBoxDiffusion
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 5
+ 11
GrowAndShrink
@@ -3509,13 +4064,13 @@
numericBoxAmbient
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 6
+ 12
GrowAndShrink
@@ -3560,210 +4115,12 @@
numericBoxAtomRadius
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
- 7
-
-
- True
-
-
- Segoe UI Symbol, 9pt
-
-
- NoControl
-
-
- 4, 33
-
-
- 53, 15
-
-
- 88
-
-
- Ambient
-
-
- label10
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageAppearance
-
-
- 8
-
-
- True
-
-
- Segoe UI Symbol, 9pt
-
-
- NoControl
-
-
- 338, 33
-
-
- 38, 15
-
-
- 88
-
-
- Alpha
-
-
- label37
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageAppearance
-
-
- 9
-
-
- True
-
-
- Segoe UI Symbol, 9pt
-
-
- NoControl
-
-
- 133, 33
-
-
- 52, 15
-
-
- 88
-
-
- Specular
-
-
- label38
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageAppearance
-
-
- 10
-
-
- True
-
-
- Segoe UI Symbol, 9pt
-
-
- NoControl
-
-
- 70, 33
-
-
- 55, 15
-
-
- 88
-
-
- Diffusion
-
-
- label11
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageAppearance
-
-
- 11
-
-
- True
-
-
- Segoe UI Symbol, 9pt
-
-
- NoControl
-
-
- 267, 33
-
-
- 54, 15
-
-
- 88
-
-
- Emission
-
-
- label35
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageAppearance
-
-
- 12
-
-
- True
-
-
- Segoe UI Symbol, 9pt
-
-
- NoControl
-
-
- 201, 33
-
-
- 56, 15
-
-
- 88
-
-
- Shininess
-
-
- label36
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tabPageAppearance
-
-
13
@@ -3812,7 +4169,7 @@
colorControlAtomColor
- Crystallography.Controls.ColorControl, Crystallography.Controls, Version=2020.5.24.516, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.ColorControl, Crystallography.Controls, Version=2020.7.8.335, Culture=neutral, PublicKeyToken=null
tabPageAppearance
diff --git a/Crystallography.Controls/Crystal/AtomCoordinateTable.Designer.cs b/Crystallography.Controls/Crystal/AtomCoordinateTable.Designer.cs
index f82e2bd..438b230 100644
--- a/Crystallography.Controls/Crystal/AtomCoordinateTable.Designer.cs
+++ b/Crystallography.Controls/Crystal/AtomCoordinateTable.Designer.cs
@@ -56,6 +56,7 @@ private void InitializeComponent()
//
// comboBox
//
+ this.comboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox.FormattingEnabled = true;
this.comboBox.Location = new System.Drawing.Point(82, 1);
this.comboBox.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
@@ -209,21 +210,20 @@ private void InitializeComponent()
// label4
//
this.label4.AutoSize = true;
- this.label4.Font = new System.Drawing.Font("Arial Unicode MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(528, 6);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(16, 16);
+ this.label4.Size = new System.Drawing.Size(15, 15);
this.label4.TabIndex = 5;
this.label4.Text = "邃ォ";
- this.label4.Click += new System.EventHandler(this.label4_Click);
//
// label5
//
this.label5.AutoSize = true;
- this.label5.Font = new System.Drawing.Font("Arial Unicode MS", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.Location = new System.Drawing.Point(357, 7);
this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(16, 16);
+ this.label5.Size = new System.Drawing.Size(15, 15);
this.label5.TabIndex = 5;
this.label5.Text = "邃ォ";
//
@@ -245,7 +245,6 @@ private void InitializeComponent()
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.Name = "AtomCoordinateTable";
this.Size = new System.Drawing.Size(555, 201);
- this.Load += new System.EventHandler(this.AtomCoordinateTable_Load);
this.Resize += new System.EventHandler(this.AtomCoordinateTable_Resize_1);
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet)).EndInit();
diff --git a/Crystallography.Controls/Crystal/AtomCoordinateTable.cs b/Crystallography.Controls/Crystal/AtomCoordinateTable.cs
index 5b8c58b..8bcefc6 100644
--- a/Crystallography.Controls/Crystal/AtomCoordinateTable.cs
+++ b/Crystallography.Controls/Crystal/AtomCoordinateTable.cs
@@ -2,12 +2,16 @@
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
+using System.Threading;
+using System.Threading.Tasks;
using System.Windows.Forms;
namespace Crystallography.Controls
{
public partial class AtomCoordinateTable : UserControl
{
+ ReaderWriterLockSlim rwLock = new ReaderWriterLockSlim();
+ private bool skipEvent { get; set; } = false;
public AtomCoordinateTable()
{
InitializeComponent();
@@ -22,9 +26,11 @@ public Crystal Crystal
crystal = value;
if (crystal != null && crystal.Atoms != null && crystal.Atoms.Length > 0)
{
+ skipEvent = true;
comboBox.Items.Clear();
for (int i = 0; i < crystal.Atoms.Length; i++)
comboBox.Items.Add(crystal.Atoms[i].Label);
+ skipEvent = false;
comboBox.SelectedIndex = 0;
}
}
@@ -48,11 +54,13 @@ public Atoms Atom
}
}
}
- get { return atom; }
+ get => atom;
}
private void comboBox_SelectedIndexChanged(object sender, EventArgs e)
{
+ if (skipEvent)
+ return;
if (crystal != null && crystal.Atoms != null && crystal.Atoms.Length > 0 && comboBox.SelectedIndex < Crystal.Atoms.Length)
{
atom = Crystal.Atoms[comboBox.SelectedIndex];
@@ -60,11 +68,15 @@ private void comboBox_SelectedIndexChanged(object sender, EventArgs e)
}
}
+
+
+
+
private void RefreshTable()
{
if (crystal != null && crystal.Atoms != null && crystal.Atoms.Length > 0 && comboBox.SelectedIndex < Crystal.Atoms.Length)
{
- List atom = AtomCoordination.Search(Crystal, Atom, (double)numericUpDownMaxLength.Value);
+ var atom = Search(Crystal, Atom, (double)numericUpDownMaxLength.Value);
dataSet.Tables[0].Clear();
for (int i = 0; i < atom.Count; i++)
{
@@ -77,6 +89,51 @@ private void RefreshTable()
}
}
+
+ public List<(string Label, double Distance)> Search(Crystal crystal, Atoms targetAtom, double maxLengthAngstrom)
+ {
+ var mat = 10 * crystal.MatrixReal;
+ Vector3DBase pos = mat * targetAtom.Atom[0];
+ var max2 = maxLengthAngstrom * maxLengthAngstrom;
+ var atoms = new List<(string Label, double Distance)>();
+ //縺セ縺壹髫」繧雁粋縺」縺溷腰菴肴シ蟄舌ョ蜴溷ュ蝉ス咲スョ繧偵☆縺ケ縺ヲ謗「邏「縺励※CoordinatedAtom蝙九ョ繝ェ繧ケ繝医↓蜈ィ驛ィ蜈・繧後k
+ for (int max = 0; max < 8; max++)
+ {
+ bool flag = false;
+ Parallel.For(-max, max + 1, xShift =>
+ {
+ for (int yShift = -max; yShift <= max; yShift++)
+ for (int zShift = -max; zShift <= max; zShift++)
+ {
+ if (Math.Abs(xShift) == max || Math.Abs(yShift) == max || Math.Abs(zShift) == max)
+ {
+ foreach (Atoms atm in crystal.Atoms)
+ foreach (var v in atm.Atom)
+ {
+ var tempPos = mat * (v + new Vector3DBase(xShift, yShift, zShift));
+ if (max2 > (tempPos - pos).Length2)
+ {
+ rwLock.EnterWriteLock();
+ try
+ {
+ atoms.Add((atm.Label, (tempPos - pos).Length));
+ flag = true;//荳蛟九〒繧りヲ九▽縺代i繧後◆繧臥カ夊。
+ }
+ finally { rwLock.ExitWriteLock(); }
+ }
+ }
+ }
+ }
+ });
+ if (flag == false && max > 2)
+ break;
+ }
+ atoms.Sort((a1, a2) => a1.Distance.CompareTo(a2.Distance));
+ return atoms;
+ }
+
+
+
private Bitmap bmp;
private Graphics g;
private Point OriginPos = new Point(30, 30);
@@ -84,7 +141,7 @@ private void RefreshTable()
private Profile profile = new Profile();
private double BottomMargin = 0;
- private void DrawGraph(List atoms)
+ private void DrawGraph(List<(string Label, double Distance)> atoms)
{
if (pictureBox.Width <= 0 || pictureBox.Height <= 0 || atoms.Count == 0) return; bmp = new Bitmap(pictureBox.Width, pictureBox.Height);
g = Graphics.FromImage(bmp);
@@ -133,7 +190,7 @@ private void DrawGraph(List atoms)
pictureBox.Image = bmp;
}
- private class ControlPoint : System.IComparable
+ private class ControlPoint : IComparable
{
public double X;
public bool Flag;
@@ -150,7 +207,7 @@ public int CompareTo(object obj)
}
}
- private void DrawHistogram(List atoms)
+ private void DrawHistogram(List<(string Label, double Distance)> atoms)
{
SolidBrush solidBrush = new SolidBrush(Color.LawnGreen);
float zero = ConvToPicBoxCoord(0, 0).Y;
@@ -163,7 +220,7 @@ private void DrawHistogram(List atoms)
}
}
- private void DrawLabel(List atoms)
+ private void DrawLabel(List<(string Label, double Distance)> atoms)
{
PointF JustBeforePt = new PointF(-10, -10);
@@ -254,36 +311,11 @@ private PointD ConvToRealCoord(int x, int y)
#endregion 蠎ァ讓吝、画鋤髢「菫
- private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
- {
- }
-
- private void AtomCoordinateTable_Load(object sender, EventArgs e)
- {
- }
- private void label4_Click(object sender, EventArgs e)
- {
- }
+ private void numericUpDownWidth_ValueChanged(object sender, EventArgs e) => RefreshTable();
- private void numericUpDownWidth_ValueChanged(object sender, EventArgs e)
- {
- RefreshTable();
- }
+ private void numericUpDownMaxLength_ValueChanged(object sender, EventArgs e) => RefreshTable();
- private void numericUpDownMaxLength_ValueChanged(object sender, EventArgs e)
- {
- RefreshTable();
- }
-
- private void AtomCoordinateTable_Resize(object sender, EventArgs e)
- {
- RefreshTable();
- }
-
- private void AtomCoordinateTable_Resize_1(object sender, EventArgs e)
- {
- RefreshTable();
- }
+ private void AtomCoordinateTable_Resize_1(object sender, EventArgs e) => RefreshTable();
}
}
\ No newline at end of file
diff --git a/Crystallography.Controls/Crystal/CrystalControl.Designer.cs b/Crystallography.Controls/Crystal/CrystalControl.Designer.cs
index af7e00b..208c0d3 100644
--- a/Crystallography.Controls/Crystal/CrystalControl.Designer.cs
+++ b/Crystallography.Controls/Crystal/CrystalControl.Designer.cs
@@ -34,10 +34,16 @@ private void InitializeComponent()
this.tabPageBasicInfo = new System.Windows.Forms.TabPage();
this.panel5 = new System.Windows.Forms.Panel();
this.flowLayoutPanel4 = new System.Windows.Forms.FlowLayoutPanel();
- this.numericBoxZnumber = new Crystallography.Controls.NumericBox();
this.numericBoxVolume = new Crystallography.Controls.NumericBox();
+ this.numericBoxCellMass = new Crystallography.Controls.NumericBox();
+ this.numericBoxMolarVolume = new Crystallography.Controls.NumericBox();
+ this.numericBoxMolarMass = new Crystallography.Controls.NumericBox();
this.numericBoxDensity = new Crystallography.Controls.NumericBox();
this.colorControl = new Crystallography.Controls.ColorControl();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.textBoxFormula = new System.Windows.Forms.TextBox();
+ this.numericBoxZnumber = new Crystallography.Controls.NumericBox();
+ this.label90 = new System.Windows.Forms.Label();
this.symmetryControl = new Crystallography.Controls.SymmetryControl();
this.tabPageAtom = new System.Windows.Forms.TabPage();
this.atomControl = new Crystallography.Controls.AtomControl();
@@ -179,8 +185,6 @@ private void InitializeComponent()
this.revertCellConstantsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.strainControlToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.textBoxFormula = new System.Windows.Forms.TextBox();
- this.label90 = new System.Windows.Forms.Label();
this.textBoxName = new System.Windows.Forms.TextBox();
this.label22 = new System.Windows.Forms.Label();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
@@ -191,6 +195,7 @@ private void InitializeComponent()
this.tabPageBasicInfo.SuspendLayout();
this.panel5.SuspendLayout();
this.flowLayoutPanel4.SuspendLayout();
+ this.panel1.SuspendLayout();
this.tabPageAtom.SuspendLayout();
this.panelAtom.SuspendLayout();
this.contextMenuStrip2.SuspendLayout();
@@ -248,61 +253,94 @@ private void InitializeComponent()
// panel5
//
this.panel5.Controls.Add(this.flowLayoutPanel4);
+ this.panel5.Controls.Add(this.panel1);
this.panel5.Controls.Add(this.symmetryControl);
resources.ApplyResources(this.panel5, "panel5");
this.panel5.Name = "panel5";
//
// flowLayoutPanel4
//
- this.flowLayoutPanel4.Controls.Add(this.numericBoxZnumber);
this.flowLayoutPanel4.Controls.Add(this.numericBoxVolume);
+ this.flowLayoutPanel4.Controls.Add(this.numericBoxCellMass);
+ this.flowLayoutPanel4.Controls.Add(this.numericBoxMolarVolume);
+ this.flowLayoutPanel4.Controls.Add(this.numericBoxMolarMass);
this.flowLayoutPanel4.Controls.Add(this.numericBoxDensity);
this.flowLayoutPanel4.Controls.Add(this.colorControl);
resources.ApplyResources(this.flowLayoutPanel4, "flowLayoutPanel4");
this.flowLayoutPanel4.Name = "flowLayoutPanel4";
//
- // numericBoxZnumber
- //
- resources.ApplyResources(this.numericBoxZnumber, "numericBoxZnumber");
- this.numericBoxZnumber.BackColor = System.Drawing.Color.Transparent;
- this.numericBoxZnumber.DecimalPlaces = -2;
- this.numericBoxZnumber.Name = "numericBoxZnumber";
- this.numericBoxZnumber.RadianValue = 0D;
- this.numericBoxZnumber.ReadOnly = true;
- this.numericBoxZnumber.RestrictLimitValue = true;
- this.numericBoxZnumber.SkipEventDuringInput = false;
- this.numericBoxZnumber.SmartIncrement = true;
- this.numericBoxZnumber.TextBoxBackColor = System.Drawing.SystemColors.Control;
- this.numericBoxZnumber.ThonsandsSeparator = true;
- //
// numericBoxVolume
//
resources.ApplyResources(this.numericBoxVolume, "numericBoxVolume");
this.numericBoxVolume.BackColor = System.Drawing.SystemColors.Control;
this.numericBoxVolume.DecimalPlaces = 4;
- this.numericBoxVolume.Name = "numericBoxVolume";
- this.numericBoxVolume.RadianValue = 0D;
+ this.numericBoxVolume.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxVolume.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxVolume.Name = "numericBoxVolume";
this.numericBoxVolume.ReadOnly = true;
this.numericBoxVolume.RestrictLimitValue = false;
this.numericBoxVolume.SkipEventDuringInput = false;
this.numericBoxVolume.SmartIncrement = true;
this.numericBoxVolume.TextBoxBackColor = System.Drawing.SystemColors.Control;
this.numericBoxVolume.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- //
+ //
+ // numericBoxCellMass
+ //
+ resources.ApplyResources(this.numericBoxCellMass, "numericBoxCellMass");
+ this.numericBoxCellMass.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCellMass.DecimalPlaces = 4;
+ this.numericBoxCellMass.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCellMass.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCellMass.Name = "numericBoxCellMass";
+ this.numericBoxCellMass.ReadOnly = true;
+ this.numericBoxCellMass.RestrictLimitValue = false;
+ this.numericBoxCellMass.SkipEventDuringInput = false;
+ this.numericBoxCellMass.SmartIncrement = true;
+ this.numericBoxCellMass.TextBoxBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCellMass.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ //
+ // numericBoxMolarVolume
+ //
+ resources.ApplyResources(this.numericBoxMolarVolume, "numericBoxMolarVolume");
+ this.numericBoxMolarVolume.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarVolume.DecimalPlaces = 4;
+ this.numericBoxMolarVolume.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarVolume.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarVolume.Name = "numericBoxMolarVolume";
+ this.numericBoxMolarVolume.ReadOnly = true;
+ this.numericBoxMolarVolume.RestrictLimitValue = false;
+ this.numericBoxMolarVolume.SkipEventDuringInput = false;
+ this.numericBoxMolarVolume.SmartIncrement = true;
+ this.numericBoxMolarVolume.TextBoxBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarVolume.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ //
+ // numericBoxMolarMass
+ //
+ resources.ApplyResources(this.numericBoxMolarMass, "numericBoxMolarMass");
+ this.numericBoxMolarMass.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarMass.DecimalPlaces = 4;
+ this.numericBoxMolarMass.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarMass.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarMass.Name = "numericBoxMolarMass";
+ this.numericBoxMolarMass.ReadOnly = true;
+ this.numericBoxMolarMass.RestrictLimitValue = false;
+ this.numericBoxMolarMass.SkipEventDuringInput = false;
+ this.numericBoxMolarMass.SmartIncrement = true;
+ this.numericBoxMolarMass.TextBoxBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxMolarMass.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ //
// numericBoxDensity
//
resources.ApplyResources(this.numericBoxDensity, "numericBoxDensity");
this.numericBoxDensity.BackColor = System.Drawing.Color.Transparent;
this.numericBoxDensity.DecimalPlaces = 4;
- this.numericBoxDensity.Name = "numericBoxDensity";
- this.numericBoxDensity.RadianValue = 0D;
+ this.numericBoxDensity.Name = "numericBoxDensity";
this.numericBoxDensity.ReadOnly = true;
- this.numericBoxDensity.RestrictLimitValue = true;
this.numericBoxDensity.SkipEventDuringInput = false;
this.numericBoxDensity.SmartIncrement = true;
this.numericBoxDensity.TextBoxBackColor = System.Drawing.SystemColors.Control;
- this.numericBoxDensity.ThonsandsSeparator = true;
- //
+ this.numericBoxDensity.ThonsandsSeparator = true;
+ //
// colorControl
//
this.colorControl.Argb = -986896;
@@ -318,12 +356,43 @@ private void InitializeComponent()
this.colorControl.Red = 240;
this.colorControl.RedF = 0.9411765F;
//
+ // panel1
+ //
+ resources.ApplyResources(this.panel1, "panel1");
+ this.panel1.Controls.Add(this.textBoxFormula);
+ this.panel1.Controls.Add(this.numericBoxZnumber);
+ this.panel1.Controls.Add(this.label90);
+ this.panel1.Name = "panel1";
+ //
+ // textBoxFormula
+ //
+ resources.ApplyResources(this.textBoxFormula, "textBoxFormula");
+ this.textBoxFormula.Name = "textBoxFormula";
+ this.textBoxFormula.ReadOnly = true;
+ //
+ // numericBoxZnumber
+ //
+ resources.ApplyResources(this.numericBoxZnumber, "numericBoxZnumber");
+ this.numericBoxZnumber.BackColor = System.Drawing.Color.Transparent;
+ this.numericBoxZnumber.Name = "numericBoxZnumber";
+ this.numericBoxZnumber.ReadOnly = true;
+ this.numericBoxZnumber.SkipEventDuringInput = false;
+ this.numericBoxZnumber.SmartIncrement = true;
+ this.numericBoxZnumber.TextBoxBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxZnumber.ThonsandsSeparator = true;
+ //
+ // label90
+ //
+ resources.ApplyResources(this.label90, "label90");
+ this.label90.Name = "label90";
+ //
// symmetryControl
//
this.symmetryControl.CellConstants = ((System.ValueTuple)(resources.GetObject("symmetryControl.CellConstants")));
this.symmetryControl.CellConstantsErr = ((System.ValueTuple)(resources.GetObject("symmetryControl.CellConstantsErr")));
resources.ApplyResources(this.symmetryControl, "symmetryControl");
this.symmetryControl.Name = "symmetryControl";
+ this.symmetryControl.ShowError = false;
this.symmetryControl.SkipEvent = false;
this.symmetryControl.SymmetrySeriesNumber = 0;
this.symmetryControl.ItemChanged += new System.EventHandler(this.symmetryControl_ItemChanged);
@@ -340,6 +409,18 @@ private void InitializeComponent()
//
this.atomControl.Alpha = 0F;
this.atomControl.Ambient = 0F;
+ this.atomControl.Aniso11 = 0D;
+ this.atomControl.Aniso11Err = 0D;
+ this.atomControl.Aniso12 = 0D;
+ this.atomControl.Aniso12Err = 0D;
+ this.atomControl.Aniso13 = 0D;
+ this.atomControl.Aniso13Err = 0D;
+ this.atomControl.Aniso22 = 0D;
+ this.atomControl.Aniso22Err = 0D;
+ this.atomControl.Aniso23 = 0D;
+ this.atomControl.Aniso23Err = 0D;
+ this.atomControl.Aniso33 = 0D;
+ this.atomControl.Aniso33Err = 0D;
this.atomControl.AppearanceTabVisible = false;
this.atomControl.AtomColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.atomControl.AtomicPositionError = false;
@@ -347,28 +428,15 @@ private void InitializeComponent()
this.atomControl.AtomSubNoElectron = -1;
this.atomControl.AtomSubNoXray = -1;
resources.ApplyResources(this.atomControl, "atomControl");
- this.atomControl.B11 = 0D;
- this.atomControl.B11Err = 0D;
- this.atomControl.B12 = 0D;
- this.atomControl.B12Err = 0D;
- this.atomControl.B13 = 0D;
- this.atomControl.B13Err = 0D;
- this.atomControl.B22 = 0D;
- this.atomControl.B22Err = 0D;
- this.atomControl.B23 = 0D;
- this.atomControl.B23Err = 0D;
- this.atomControl.B33 = 0D;
- this.atomControl.B33Err = 0D;
- this.atomControl.Biso = 0D;
- this.atomControl.BisoErr = 0D;
this.atomControl.Crystal = null;
this.atomControl.DebyeWallerError = false;
this.atomControl.DebyeWallerTabVisible = true;
this.atomControl.Diffusion = 0F;
this.atomControl.ElementAndPositionTabVisible = true;
this.atomControl.Emission = 0F;
+ this.atomControl.Iso = 0D;
+ this.atomControl.IsoErr = 0D;
this.atomControl.IsotopicComposition = null;
- this.atomControl.Istoropy = false;
this.atomControl.Label = "";
this.atomControl.Name = "atomControl";
this.atomControl.Occ = 0D;
@@ -378,8 +446,11 @@ private void InitializeComponent()
this.atomControl.ScatteringFactorTabVisible = true;
this.atomControl.SelectedTabIndex = 0;
this.atomControl.Shininess = 0F;
+ this.atomControl.ShowLabel = false;
this.atomControl.SkipEvent = false;
this.atomControl.Specular = 0F;
+ this.atomControl.UseIsotropy = false;
+ this.atomControl.UseTypeU = false;
this.atomControl.X = 0D;
this.atomControl.XErr = 0D;
this.atomControl.Y = 0D;
@@ -561,27 +632,27 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_C, "numericBoxEOS_C");
this.numericBoxEOS_C.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_C.DecimalPlaces = -1;
- this.numericBoxEOS_C.Name = "numericBoxEOS_C";
- this.numericBoxEOS_C.RadianValue = 0D;
+ this.numericBoxEOS_C.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_C.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_C.Name = "numericBoxEOS_C";
this.numericBoxEOS_C.RestrictLimitValue = false;
this.numericBoxEOS_C.SkipEventDuringInput = false;
this.numericBoxEOS_C.SmartIncrement = true;
this.numericBoxEOS_C.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_C.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_C.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// numericBoxEOS_B
//
resources.ApplyResources(this.numericBoxEOS_B, "numericBoxEOS_B");
this.numericBoxEOS_B.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_B.DecimalPlaces = -1;
- this.numericBoxEOS_B.Name = "numericBoxEOS_B";
- this.numericBoxEOS_B.RadianValue = 0D;
+ this.numericBoxEOS_B.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_B.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_B.Name = "numericBoxEOS_B";
this.numericBoxEOS_B.RestrictLimitValue = false;
this.numericBoxEOS_B.SkipEventDuringInput = false;
this.numericBoxEOS_B.SmartIncrement = true;
this.numericBoxEOS_B.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_B.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_B.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// textBox1
//
@@ -601,40 +672,40 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_A, "numericBoxEOS_A");
this.numericBoxEOS_A.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_A.DecimalPlaces = -1;
- this.numericBoxEOS_A.Name = "numericBoxEOS_A";
- this.numericBoxEOS_A.RadianValue = 0D;
+ this.numericBoxEOS_A.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_A.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_A.Name = "numericBoxEOS_A";
this.numericBoxEOS_A.RestrictLimitValue = false;
this.numericBoxEOS_A.SkipEventDuringInput = false;
this.numericBoxEOS_A.SmartIncrement = true;
this.numericBoxEOS_A.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_A.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_A.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// numericBoxEOS_KperT
//
resources.ApplyResources(this.numericBoxEOS_KperT, "numericBoxEOS_KperT");
this.numericBoxEOS_KperT.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_KperT.DecimalPlaces = -1;
- this.numericBoxEOS_KperT.Name = "numericBoxEOS_KperT";
- this.numericBoxEOS_KperT.RadianValue = 0D;
+ this.numericBoxEOS_KperT.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_KperT.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_KperT.Name = "numericBoxEOS_KperT";
this.numericBoxEOS_KperT.RestrictLimitValue = false;
this.numericBoxEOS_KperT.SkipEventDuringInput = false;
this.numericBoxEOS_KperT.SmartIncrement = true;
this.numericBoxEOS_KperT.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_KperT.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_KperT.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// numericBoxEOS_Gamma0
//
resources.ApplyResources(this.numericBoxEOS_Gamma0, "numericBoxEOS_Gamma0");
this.numericBoxEOS_Gamma0.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_Gamma0.DecimalPlaces = -1;
- this.numericBoxEOS_Gamma0.Name = "numericBoxEOS_Gamma0";
- this.numericBoxEOS_Gamma0.RadianValue = 0D;
+ this.numericBoxEOS_Gamma0.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_Gamma0.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_Gamma0.Name = "numericBoxEOS_Gamma0";
this.numericBoxEOS_Gamma0.RestrictLimitValue = false;
this.numericBoxEOS_Gamma0.SkipEventDuringInput = false;
this.numericBoxEOS_Gamma0.SmartIncrement = true;
this.numericBoxEOS_Gamma0.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_Gamma0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_Gamma0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// label76
//
@@ -730,28 +801,29 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_Theta0, "numericBoxEOS_Theta0");
this.numericBoxEOS_Theta0.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_Theta0.DecimalPlaces = -1;
- this.numericBoxEOS_Theta0.Name = "numericBoxEOS_Theta0";
+ this.numericBoxEOS_Theta0.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_Theta0.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_Theta0.Name = "numericBoxEOS_Theta0";
this.numericBoxEOS_Theta0.RadianValue = 5.2359877559829888D;
this.numericBoxEOS_Theta0.RestrictLimitValue = false;
this.numericBoxEOS_Theta0.SkipEventDuringInput = false;
this.numericBoxEOS_Theta0.SmartIncrement = true;
this.numericBoxEOS_Theta0.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_Theta0.Value = 300D;
+ this.numericBoxEOS_Theta0.Value = 300D;
this.numericBoxEOS_Theta0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// numericBoxEOS_Q
//
resources.ApplyResources(this.numericBoxEOS_Q, "numericBoxEOS_Q");
this.numericBoxEOS_Q.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_Q.DecimalPlaces = -1;
- this.numericBoxEOS_Q.Name = "numericBoxEOS_Q";
- this.numericBoxEOS_Q.RadianValue = 0D;
+ this.numericBoxEOS_Q.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_Q.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_Q.Name = "numericBoxEOS_Q";
this.numericBoxEOS_Q.RestrictLimitValue = false;
this.numericBoxEOS_Q.SkipEventDuringInput = false;
this.numericBoxEOS_Q.SmartIncrement = true;
this.numericBoxEOS_Q.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_Q.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_Q.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// label3
//
@@ -830,23 +902,17 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_V0perMol, "numericBoxEOS_V0perMol");
this.numericBoxEOS_V0perMol.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_V0perMol.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxEOS_V0perMol.Name = "numericBoxEOS_V0perMol";
+ this.numericBoxEOS_V0perMol.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_V0perMol.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_V0perMol.Name = "numericBoxEOS_V0perMol";
this.numericBoxEOS_V0perMol.RadianValue = 5.2359877559829888D;
this.numericBoxEOS_V0perMol.ReadOnly = true;
this.numericBoxEOS_V0perMol.RestrictLimitValue = false;
-
this.numericBoxEOS_V0perMol.SkipEventDuringInput = false;
this.numericBoxEOS_V0perMol.SmartIncrement = true;
this.numericBoxEOS_V0perMol.TextBoxBackColor = System.Drawing.SystemColors.Control;
this.numericBoxEOS_V0perMol.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_V0perMol.UpDown_Increment = 1D;
this.numericBoxEOS_V0perMol.Value = 300D;
- this.numericBoxEOS_V0perMol.WordWrap = true;
this.numericBoxEOS_V0perMol.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_V0perMol_ValueChanged);
this.numericBoxEOS_V0perMol.Click2 += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_V0perMol_Click2);
//
@@ -854,14 +920,15 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_V0perCell, "numericBoxEOS_V0perCell");
this.numericBoxEOS_V0perCell.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_V0perCell.DecimalPlaces = -1;
- this.numericBoxEOS_V0perCell.Name = "numericBoxEOS_V0perCell";
+ this.numericBoxEOS_V0perCell.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_V0perCell.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_V0perCell.Name = "numericBoxEOS_V0perCell";
this.numericBoxEOS_V0perCell.RadianValue = 5.2359877559829888D;
this.numericBoxEOS_V0perCell.RestrictLimitValue = false;
this.numericBoxEOS_V0perCell.SkipEventDuringInput = false;
this.numericBoxEOS_V0perCell.SmartIncrement = true;
this.numericBoxEOS_V0perCell.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_V0perCell.Value = 300D;
+ this.numericBoxEOS_V0perCell.Value = 300D;
this.numericBoxEOS_V0perCell.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
this.numericBoxEOS_V0perCell.Click2 += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_V0perCell_Click2);
//
@@ -869,14 +936,14 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_KT0, "numericBoxEOS_KT0");
this.numericBoxEOS_KT0.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_KT0.DecimalPlaces = -1;
- this.numericBoxEOS_KT0.Name = "numericBoxEOS_KT0";
- this.numericBoxEOS_KT0.RadianValue = 0D;
+ this.numericBoxEOS_KT0.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_KT0.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_KT0.Name = "numericBoxEOS_KT0";
this.numericBoxEOS_KT0.RestrictLimitValue = false;
this.numericBoxEOS_KT0.SkipEventDuringInput = false;
this.numericBoxEOS_KT0.SmartIncrement = true;
this.numericBoxEOS_KT0.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_KT0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
+ this.numericBoxEOS_KT0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// label70
//
@@ -907,14 +974,15 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_KprimeT0, "numericBoxEOS_KprimeT0");
this.numericBoxEOS_KprimeT0.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_KprimeT0.DecimalPlaces = -1;
- this.numericBoxEOS_KprimeT0.Name = "numericBoxEOS_KprimeT0";
+ this.numericBoxEOS_KprimeT0.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_KprimeT0.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_KprimeT0.Name = "numericBoxEOS_KprimeT0";
this.numericBoxEOS_KprimeT0.RadianValue = 0.069813170079773182D;
this.numericBoxEOS_KprimeT0.RestrictLimitValue = false;
this.numericBoxEOS_KprimeT0.SkipEventDuringInput = false;
this.numericBoxEOS_KprimeT0.SmartIncrement = true;
this.numericBoxEOS_KprimeT0.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxEOS_KprimeT0.Value = 4D;
+ this.numericBoxEOS_KprimeT0.Value = 4D;
this.numericBoxEOS_KprimeT0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// radioButtonVinet
@@ -937,34 +1005,28 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxEOS_T0, "numericBoxEOS_T0");
this.numericBoxEOS_T0.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxEOS_T0.DecimalPlaces = -1;
- this.numericBoxEOS_T0.Name = "numericBoxEOS_T0";
+ this.numericBoxEOS_T0.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_T0.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxEOS_T0.Name = "numericBoxEOS_T0";
this.numericBoxEOS_T0.RadianValue = 5.2359877559829888D;
this.numericBoxEOS_T0.RestrictLimitValue = false;
this.numericBoxEOS_T0.SkipEventDuringInput = false;
this.numericBoxEOS_T0.SmartIncrement = true;
- this.numericBoxEOS_T0.Value = 300D;
+ this.numericBoxEOS_T0.Value = 300D;
this.numericBoxEOS_T0.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// numericBoxTemperature
//
resources.ApplyResources(this.numericBoxTemperature, "numericBoxTemperature");
this.numericBoxTemperature.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxTemperature.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxTemperature.Name = "numericBoxTemperature";
+ this.numericBoxTemperature.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxTemperature.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxTemperature.Name = "numericBoxTemperature";
this.numericBoxTemperature.RadianValue = 5.2359877559829888D;
-
this.numericBoxTemperature.RestrictLimitValue = false;
-
this.numericBoxTemperature.SkipEventDuringInput = false;
this.numericBoxTemperature.SmartIncrement = true;
- this.numericBoxTemperature.UpDown_Increment = 1D;
this.numericBoxTemperature.Value = 300D;
- this.numericBoxTemperature.WordWrap = true;
this.numericBoxTemperature.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxEOS_State_ValueChanged);
//
// numericBoxPressure
@@ -972,14 +1034,15 @@ private void InitializeComponent()
resources.ApplyResources(this.numericBoxPressure, "numericBoxPressure");
this.numericBoxPressure.BackColor = System.Drawing.SystemColors.Control;
this.numericBoxPressure.DecimalPlaces = 5;
- this.numericBoxPressure.Name = "numericBoxPressure";
- this.numericBoxPressure.RadianValue = 0D;
+ this.numericBoxPressure.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxPressure.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxPressure.Name = "numericBoxPressure";
this.numericBoxPressure.ReadOnly = true;
this.numericBoxPressure.RestrictLimitValue = false;
this.numericBoxPressure.SkipEventDuringInput = false;
this.numericBoxPressure.SmartIncrement = true;
this.numericBoxPressure.TextBoxBackColor = System.Drawing.SystemColors.Control;
- //
+ //
// tabPageElasticity
//
this.tabPageElasticity.BackColor = System.Drawing.SystemColors.Control;
@@ -1034,22 +1097,15 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxHill, "numericBoxHill");
this.numericBoxHill.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxHill.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxHill.Name = "numericBoxHill";
+ this.numericBoxHill.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxHill.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxHill.Name = "numericBoxHill";
this.numericBoxHill.RadianValue = 0.017453292519943295D;
-
this.numericBoxHill.RestrictLimitValue = false;
-
this.numericBoxHill.SkipEventDuringInput = false;
this.numericBoxHill.SmartIncrement = true;
this.numericBoxHill.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxHill.UpDown_Increment = 1D;
this.numericBoxHill.Value = 1D;
- this.numericBoxHill.WordWrap = true;
//
// label116
//
@@ -1135,241 +1191,145 @@ private void InitializeComponent()
//
resources.ApplyResources(this.numericBoxStress33, "numericBoxStress33");
this.numericBoxStress33.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStress33.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStress33.Name = "numericBoxStress33";
- this.numericBoxStress33.RadianValue = 0D;
-
+ this.numericBoxStress33.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress33.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress33.Name = "numericBoxStress33";
this.numericBoxStress33.RestrictLimitValue = false;
-
this.numericBoxStress33.SkipEventDuringInput = false;
this.numericBoxStress33.SmartIncrement = true;
this.numericBoxStress33.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStress33.UpDown_Increment = 1D;
- this.numericBoxStress33.WordWrap = true;
//
// numericBoxStress22
//
resources.ApplyResources(this.numericBoxStress22, "numericBoxStress22");
this.numericBoxStress22.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStress22.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStress22.Name = "numericBoxStress22";
- this.numericBoxStress22.RadianValue = 0D;
-
+ this.numericBoxStress22.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress22.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress22.Name = "numericBoxStress22";
this.numericBoxStress22.RestrictLimitValue = false;
-
this.numericBoxStress22.SkipEventDuringInput = false;
this.numericBoxStress22.SmartIncrement = true;
this.numericBoxStress22.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStress22.UpDown_Increment = 1D;
- this.numericBoxStress22.WordWrap = true;
//
// numericBoxStress11
//
resources.ApplyResources(this.numericBoxStress11, "numericBoxStress11");
this.numericBoxStress11.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStress11.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStress11.Name = "numericBoxStress11";
- this.numericBoxStress11.RadianValue = 0D;
-
+ this.numericBoxStress11.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress11.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress11.Name = "numericBoxStress11";
this.numericBoxStress11.RestrictLimitValue = false;
-
this.numericBoxStress11.SkipEventDuringInput = false;
this.numericBoxStress11.SmartIncrement = true;
this.numericBoxStress11.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStress11.UpDown_Increment = 1D;
- this.numericBoxStress11.WordWrap = true;
//
// numericBoxStress23
//
resources.ApplyResources(this.numericBoxStress23, "numericBoxStress23");
this.numericBoxStress23.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStress23.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStress23.Name = "numericBoxStress23";
- this.numericBoxStress23.RadianValue = 0D;
-
+ this.numericBoxStress23.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress23.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress23.Name = "numericBoxStress23";
this.numericBoxStress23.RestrictLimitValue = false;
-
this.numericBoxStress23.SkipEventDuringInput = false;
this.numericBoxStress23.SmartIncrement = true;
this.numericBoxStress23.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStress23.UpDown_Increment = 1D;
- this.numericBoxStress23.WordWrap = true;
//
// numericBoxStress13
//
resources.ApplyResources(this.numericBoxStress13, "numericBoxStress13");
this.numericBoxStress13.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStress13.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStress13.Name = "numericBoxStress13";
- this.numericBoxStress13.RadianValue = 0D;
-
+ this.numericBoxStress13.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress13.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress13.Name = "numericBoxStress13";
this.numericBoxStress13.RestrictLimitValue = false;
-
this.numericBoxStress13.SkipEventDuringInput = false;
this.numericBoxStress13.SmartIncrement = true;
this.numericBoxStress13.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStress13.UpDown_Increment = 1D;
- this.numericBoxStress13.WordWrap = true;
//
// numericBoxStress12
//
resources.ApplyResources(this.numericBoxStress12, "numericBoxStress12");
this.numericBoxStress12.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStress12.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStress12.Name = "numericBoxStress12";
- this.numericBoxStress12.RadianValue = 0D;
-
+ this.numericBoxStress12.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress12.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStress12.Name = "numericBoxStress12";
this.numericBoxStress12.RestrictLimitValue = false;
-
this.numericBoxStress12.SkipEventDuringInput = false;
this.numericBoxStress12.SmartIncrement = true;
this.numericBoxStress12.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStress12.UpDown_Increment = 1D;
- this.numericBoxStress12.WordWrap = true;
//
// numericBoxStrain33
//
resources.ApplyResources(this.numericBoxStrain33, "numericBoxStrain33");
this.numericBoxStrain33.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStrain33.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStrain33.Name = "numericBoxStrain33";
- this.numericBoxStrain33.RadianValue = 0D;
-
+ this.numericBoxStrain33.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain33.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain33.Name = "numericBoxStrain33";
this.numericBoxStrain33.RestrictLimitValue = false;
-
this.numericBoxStrain33.SkipEventDuringInput = false;
this.numericBoxStrain33.SmartIncrement = true;
this.numericBoxStrain33.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStrain33.UpDown_Increment = 1D;
- this.numericBoxStrain33.WordWrap = true;
//
// numericBoxStrain11
//
resources.ApplyResources(this.numericBoxStrain11, "numericBoxStrain11");
this.numericBoxStrain11.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStrain11.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStrain11.Name = "numericBoxStrain11";
- this.numericBoxStrain11.RadianValue = 0D;
-
+ this.numericBoxStrain11.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain11.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain11.Name = "numericBoxStrain11";
this.numericBoxStrain11.RestrictLimitValue = false;
-
this.numericBoxStrain11.SkipEventDuringInput = false;
this.numericBoxStrain11.SmartIncrement = true;
this.numericBoxStrain11.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStrain11.UpDown_Increment = 1D;
- this.numericBoxStrain11.WordWrap = true;
//
// numericBoxStrain22
//
resources.ApplyResources(this.numericBoxStrain22, "numericBoxStrain22");
this.numericBoxStrain22.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStrain22.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStrain22.Name = "numericBoxStrain22";
- this.numericBoxStrain22.RadianValue = 0D;
-
+ this.numericBoxStrain22.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain22.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain22.Name = "numericBoxStrain22";
this.numericBoxStrain22.RestrictLimitValue = false;
-
this.numericBoxStrain22.SkipEventDuringInput = false;
this.numericBoxStrain22.SmartIncrement = true;
this.numericBoxStrain22.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStrain22.UpDown_Increment = 1D;
- this.numericBoxStrain22.WordWrap = true;
//
// numericBoxStrain12
//
resources.ApplyResources(this.numericBoxStrain12, "numericBoxStrain12");
this.numericBoxStrain12.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStrain12.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStrain12.Name = "numericBoxStrain12";
- this.numericBoxStrain12.RadianValue = 0D;
-
+ this.numericBoxStrain12.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain12.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain12.Name = "numericBoxStrain12";
this.numericBoxStrain12.RestrictLimitValue = false;
-
this.numericBoxStrain12.SkipEventDuringInput = false;
this.numericBoxStrain12.SmartIncrement = true;
this.numericBoxStrain12.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStrain12.UpDown_Increment = 1D;
- this.numericBoxStrain12.WordWrap = true;
//
// numericBoxStrain23
//
resources.ApplyResources(this.numericBoxStrain23, "numericBoxStrain23");
this.numericBoxStrain23.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStrain23.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStrain23.Name = "numericBoxStrain23";
- this.numericBoxStrain23.RadianValue = 0D;
-
+ this.numericBoxStrain23.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain23.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain23.Name = "numericBoxStrain23";
this.numericBoxStrain23.RestrictLimitValue = false;
-
this.numericBoxStrain23.SkipEventDuringInput = false;
this.numericBoxStrain23.SmartIncrement = true;
this.numericBoxStrain23.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStrain23.UpDown_Increment = 1D;
- this.numericBoxStrain23.WordWrap = true;
//
// numericBoxStrain13
//
resources.ApplyResources(this.numericBoxStrain13, "numericBoxStrain13");
this.numericBoxStrain13.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxStrain13.DecimalPlaces = -1;
-
-
-
-
- this.numericBoxStrain13.Name = "numericBoxStrain13";
- this.numericBoxStrain13.RadianValue = 0D;
-
+ this.numericBoxStrain13.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain13.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxStrain13.Name = "numericBoxStrain13";
this.numericBoxStrain13.RestrictLimitValue = false;
-
this.numericBoxStrain13.SkipEventDuringInput = false;
this.numericBoxStrain13.SmartIncrement = true;
this.numericBoxStrain13.TextFont = new System.Drawing.Font("Arial Narrow", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericBoxStrain13.UpDown_Increment = 1D;
- this.numericBoxStrain13.WordWrap = true;
//
// tabPagePolycrystalline
//
@@ -1659,17 +1619,6 @@ private void InitializeComponent()
resources.ApplyResources(this.strainControlToolStripMenuItem, "strainControlToolStripMenuItem");
this.strainControlToolStripMenuItem.Click += new System.EventHandler(this.strainControlToolStripMenuItem_Click);
//
- // textBoxFormula
- //
- resources.ApplyResources(this.textBoxFormula, "textBoxFormula");
- this.textBoxFormula.Name = "textBoxFormula";
- this.textBoxFormula.ReadOnly = true;
- //
- // label90
- //
- resources.ApplyResources(this.label90, "label90");
- this.label90.Name = "label90";
- //
// textBoxName
//
resources.ApplyResources(this.textBoxName, "textBoxName");
@@ -1701,8 +1650,6 @@ private void InitializeComponent()
//
// panel4
//
- this.panel4.Controls.Add(this.textBoxFormula);
- this.panel4.Controls.Add(this.label90);
this.panel4.Controls.Add(this.textBoxName);
this.panel4.Controls.Add(this.label22);
this.panel4.Controls.Add(this.buttonReset);
@@ -1727,8 +1674,11 @@ private void InitializeComponent()
this.tabControl.ResumeLayout(false);
this.tabPageBasicInfo.ResumeLayout(false);
this.panel5.ResumeLayout(false);
+ this.panel5.PerformLayout();
this.flowLayoutPanel4.ResumeLayout(false);
this.flowLayoutPanel4.PerformLayout();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
this.tabPageAtom.ResumeLayout(false);
this.tabPageAtom.PerformLayout();
this.panelAtom.ResumeLayout(false);
@@ -1933,5 +1883,9 @@ private void InitializeComponent()
private NumericBox numericBoxZnumber;
private NumericBox numericBoxDensity;
public SymmetryControl symmetryControl;
+ private System.Windows.Forms.Panel panel1;
+ private NumericBox numericBoxMolarVolume;
+ private NumericBox numericBoxCellMass;
+ private NumericBox numericBoxMolarMass;
}
}
\ No newline at end of file
diff --git a/Crystallography.Controls/Crystal/CrystalControl.cs b/Crystallography.Controls/Crystal/CrystalControl.cs
index 195fed3..ab5cc1d 100644
--- a/Crystallography.Controls/Crystal/CrystalControl.cs
+++ b/Crystallography.Controls/Crystal/CrystalControl.cs
@@ -1,6 +1,5 @@
サソusing MathNet.Numerics.LinearAlgebra.Double;
using System;
-using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.IO;
@@ -246,8 +245,12 @@ public void SetToInterface(bool ChangeCellParameter = true)
numericBoxDensity.Value = Crystal.Density;
numericBoxVolume.Value = Crystal.Volume * 1000;
+ numericBoxMolarVolume.Value = Crystal.Volume * UniversalConstants.A / Crystal.ChemicalFormulaZ * 1E-21;
numericBoxZnumber.Value = Crystal.ChemicalFormulaZ;
+ numericBoxMolarMass.Value = numericBoxDensity.Value * numericBoxMolarVolume.Value;
+ numericBoxCellMass.Value = numericBoxDensity.Value * numericBoxVolume.Value;
+
SymmetrySeriesNumber = Crystal.SymmetrySeriesNumber;//SymmetrySeriesNumber繧偵ヵ繧」繝シ繝ォ繝峨°繧峨励Ο繝代ユ繧」縺ォ螟画峩縲Tet{}縺ョ謇縺ァ繧ウ繝ウ繝懊懊ャ繧ッ繧ケ繧偵そ繝繝医☆繧九(20170526)
if (ChangeCellParameter)
@@ -313,8 +316,16 @@ public void FormCrystal_DragDrop(object sender, DragEventArgs e)
string[] fileName = (string[])e.Data.GetData(DataFormats.FileDrop, false);
if (fileName.Length == 1)
{
- try { Crystal = ConvertCrystalData.ConvertToCrystal(fileName[0]); }
- catch { return; }
+ try {
+ Crystal = ConvertCrystalData.ConvertToCrystal(fileName[0]);
+ }
+ catch (Exception ex)
+ {
+#if DEBUG
+ MessageBox.Show(ex.ToString());
+#endif
+ return;
+ }
}
}
@@ -325,7 +336,6 @@ private void FormCrystal_DragEnter(object sender, DragEventArgs e)
#endregion 繝峨Λ繝繧ー繝峨Ο繝繝励う繝吶Φ繝
-
private void buttonReset_Click(object sender, EventArgs e) => Crystal = new Crystal();
#region 蜿ウ繧ッ繝ェ繝繧ッ繝。繝九Η繝シ
@@ -374,7 +384,7 @@ private void sendThisCrystalToOtherSoftwareToolStripMenuItem_Click(object sender
private void resetToolStripMenuItem_Click(object sender, EventArgs e)
{
for (int i = 0; i < crystal.Atoms.Length; i++)
- crystal.Atoms[i].Dsf = new DiffuseScatteringFactor(true, 0, 0, 0, 0, 0, 0, 0);
+ crystal.Atoms[i].Dsf = new DiffuseScatteringFactor(DiffuseScatteringFactor.Type.B, true, 0, 0, null, null, Crystal.CellValue);
}
#endregion 蜿ウ繧ッ繝ェ繝繧ッ繝。繝九Η繝シ
diff --git a/Crystallography.Controls/Crystal/CrystalControl.ja.resx b/Crystallography.Controls/Crystal/CrystalControl.ja.resx
index 70443c1..d06cc4d 100644
--- a/Crystallography.Controls/Crystal/CrystalControl.ja.resx
+++ b/Crystallography.Controls/Crystal/CrystalControl.ja.resx
@@ -118,97 +118,86 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- 462, 402
-
-
- 譬シ蟄/蟇セ遘ー諤ァ
-
-
+
繝。繧、繝ェ繧ェ, 9pt
-
-
- 2, 2, 2, 2
-
-
- 462, 402
+
+ 蜊倅ス肴シ蟄蝉ス鍋ゥ
-
- 蜴溷ュ先ュ蝣ア
+
+ 189, 27
-
- 2, 2, 2, 2
+
+ テ10^-24 g
-
- 462, 402
+
+ 繝。繧、繝ェ繧ェ, 9pt
-
- 螟夐擇菴/邨仙粋謠冗判險ュ螳
+
+ 蜊倅ス肴シ蟄占ウェ驥
-
- 462, 402
+
+ 209, 4
-
- 蠑慕畑譁迪ョ
+
+ 1000, 27
-
- 462, 402
+
+ 239, 27
-
- 迥カ諷区婿遞句シ
+
+ 繝。繧、繝ェ繧ェ, 9pt
-
- 462, 402
+
+ 繝「繝ォ菴鍋ゥ
-
- 蠑セ諤ァ螳壽焚
+
+ 198, 27
-
- 462, 402
+
+ 繝。繧、繝ェ繧ェ, 9pt
-
- 462, 348
+
+ 繝「繝ォ菴鍋ゥ
-
- 462, 27
+
+ 218, 31
-
- 462, 27
+
+ 179, 27
-
- 462, 402
+
+ 繝。繧、繝ェ繧ェ, 9pt
-
- 462, 402
+
+ 蟇蠎ヲ
-
- 462, 402
+
+ 148, 25
-
+
繝。繧、繝ェ繧ェ, 9pt
-
- 0, 22
+
+ 繝励Ο繝輔ぃ繧、繝ォ縺ョ濶イ
-
- 0, 24
+
+ 168, 61
-
- 3, 1
+
+ 124, 20
-
-
- True
+
+ 0, 178
-
- 470, 432
+
+ 456, 214
-
- 456, 396
+
+ 71, 3
-
- 456, 217
+
+ 286, 39
繝。繧、繝ェ繧ェ, 9pt
@@ -219,89 +208,99 @@
Z謨ー
-
- 1000, 27
+
+ 363, 0
- 106, 27
-
-
- 繝。繧、繝ェ繧ェ, 9pt
+ 93, 25
-
- 蜊倅ス肴シ蟄蝉ス鍋ゥ
-
-
- 1000, 27
-
-
- 189, 27
-
-
- 繝。繧、繝ェ繧ェ, 9pt
-
-
- 蟇蠎ヲ
+
+ 繝。繧、繝ェ繧ェ, 9.75pt
-
- 10, 27
+
+ 6, 3
-
- 1000, 27
+
+ 65, 22
-
- 148, 27
+
+ 蛹門ュヲ邨謌
-
- 繝。繧、繝ェ繧ェ, 9pt
+
+ 456, 42
-
- 繝励Ο繝輔ぃ繧、繝ォ縺ョ濶イ
+
+ 456, 136
-
- 168, 30
+
+ 456, 392
-
- 124, 20
+
+ 462, 398
-
- 456, 179
+
+ 譬シ蟄/蟇セ遘ー諤ァ
2, 2
- 458, 398
+ 458, 394
2, 2
+
+ 繝。繧、繝ェ繧ェ, 9pt
+
+
+
+ 2, 2, 2, 2
+
+
+ 462, 398
+
+
+ 蜴溷ュ先ュ蝣ア
+
2, 2
- 458, 398
+ 458, 394
-
- 350, 284
+
+ 2, 2, 2, 2
-
- 繧ソ繧、繝医Ν
+
+ 462, 398
+
+
+ 螟夐擇菴/邨仙粋謠冗判險ュ螳
繝。繧、繝ェ繧ェ, 9pt
- 344, 260
+ 344, 256
+
+
+ 350, 280
+
+
+ 繧ソ繧、繝医Ν
+
+
+ 100, 256
- 106, 284
+ 106, 280
闡苓
-
- 100, 260
+
+ 450, 31
456, 55
@@ -309,14 +308,17 @@
髮題ェ悟錐
-
- 450, 31
+
+ 450, 33
456, 57
-
- 450, 33
+
+ 462, 398
+
+
+ 蠑慕畑譁迪ョ
209, 25
@@ -324,173 +326,32 @@
77, 22
-
- 1000, 24
-
-
- 54, 24
-
-
- 1000, 24
-
-
- 54, 24
-
-
- 1000, 24
-
-
- 54, 24
-
-
- 1000, 24
-
-
- 62, 24
-
-
- 1000, 24
-
-
- 40, 24
-
-
- 1000, 24
-
-
- 35, 24
-
-
- 1000, 24
-
-
- 38, 24
-
-
- 1000, 24
-
-
- 60, 24
-
-
- 1000, 24
-
-
- 60, 24
-
-
- 1000, 24
-
-
- 57, 24
-
6, 37
-
- 1000, 24
-
-
- 40, 24
-
-
- 1000, 27
-
-
- 100, 27
-
-
- 1000, 27
-
-
- 88, 27
-
-
- 1000, 27
-
-
- 132, 27
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
+
+ 462, 398
-
- 47, 24
+
+ 迥カ諷区婿遞句シ
-
- 1000, 24
+
+ 462, 398
-
- 47, 24
+
+ 蠑セ諤ァ螳壽焚
120, 123
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
-
-
- 1000, 24
-
-
- 47, 24
+
+ 462, 398
-
- 1000, 24
+
+ 462, 344
-
- 47, 24
+
+ 462, 27
繝。繧、繝ェ繧ェ, 9pt
@@ -513,38 +374,51 @@
358, 4
+
+ 462, 27
+
+
+ 462, 398
+
- 456, 396
+ 456, 392
+
+
+ 462, 398
- 456, 396
+ 456, 392
-
- Strain control
+
+ 462, 398
-
- 257, 0
+
+ 繝。繧、繝ェ繧ェ, 9pt
-
- 147, 22
+
+ 0, 22
-
- 繝。繧、繝ェ繧ェ, 9.75pt
+
+ 0, 28
-
- 192, 0
+
+ 3, 1
-
- 65, 22
+
+
+ True
-
- 蛹門ュヲ邨謌
+
+ 470, 428
+
+
+ Strain control
48, 0
- 144, 25
+ 356, 25
繝。繧、繝ェ繧ェ, 9.75pt
@@ -565,7 +439,7 @@
0, 0, 0, 0
- 66, 22
+ 66, 26
繝ェ繧サ繝繝
@@ -574,7 +448,7 @@
470, 0
- 470, 24
+ 470, 28
470, 456
diff --git a/Crystallography.Controls/Crystal/CrystalControl.resx b/Crystallography.Controls/Crystal/CrystalControl.resx
index 2288aad..a8a65bf 100644
--- a/Crystallography.Controls/Crystal/CrystalControl.resx
+++ b/Crystallography.Controls/Crystal/CrystalControl.resx
@@ -118,121 +118,187 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
GrowAndShrink
-
+
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
+
+ 邃ォ^3
-
- 0, 0, 0, 0
+
+ Cell Volume
-
-
+
+ 10, 4
-
+
+ 10, 0, 0, 0
+
+
+ 1000, 27
+
+
+ 1, 25
+
+
+ 0, 0, 1, 0
+
+
+ 185, 27
+
+
+
+ 90
+
+
+ numericBoxVolume
+
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
+
+
+ flowLayoutPanel4
+
+
+ 0
+
+
+ GrowAndShrink
+
+
Segoe UI Symbol, 9.75pt
-
- Z number
+
+ テ 10^-24 g
-
- 0, 0
+
+ Cell Mass
-
- 0, 0, 0, 0
+
+ 205, 4
-
+
+ 10, 0, 0, 0
+
+
1000, 27
-
+
1, 25
-
+
0, 0, 1, 0
-
- 106, 27
+
+ 234, 27
-
-
- 95
+
+ 90
-
-
+
+ numericBoxCellMass
-
- numericBoxZnumber
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
-
-
+
flowLayoutPanel4
-
- 0
+
+ 1
-
+
GrowAndShrink
-
+
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
+
+ cm^3/mol
-
- 0, 0, 0, 0
+
+ Molar Volume
-
- 邃ォ^3
+
+ 10, 31
-
+
+ 10, 0, 0, 0
+
+
+ 1000, 27
+
+
+ 1, 25
+
+
+ 0, 0, 1, 0
+
+
+ 233, 27
+
+
+ 90
+
+
+ numericBoxMolarVolume
+
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
+
+
+ flowLayoutPanel4
+
+
+ 2
+
+
+ GrowAndShrink
+
+
Segoe UI Symbol, 9.75pt
-
- Cell Volume
+
+ g/mol
-
- 116, 0
+
+ Molar Mass
-
+
+ 253, 31
+
+
10, 0, 0, 0
-
+
1000, 27
-
+
1, 25
-
+
0, 0, 1, 0
-
- 173, 27
+
+ 194, 27
-
+
90
-
-
+
+ numericBoxMolarMass
-
- numericBoxVolume
-
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
-
+
flowLayoutPanel4
-
- 1
+
+ 3
GrowAndShrink
@@ -240,29 +306,20 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
g/cm^3
-
- Segoe UI Symbol, 9.75pt
-
Density
- 299, 0
+ 10, 58
10, 0, 0, 0
- 1000, 27
+ 1000, 25
1, 25
@@ -271,25 +328,22 @@
0, 0, 1, 0
- 163, 27
+ 163, 25
95
-
-
-
numericBoxDensity
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
flowLayoutPanel4
- 2
+ 4
True
@@ -319,7 +373,7 @@
Profile color
- 10, 30
+ 183, 61
10, 3, 3, 3
@@ -337,25 +391,28 @@
colorControl
- Crystallography.Controls.ColorControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.ColorControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
flowLayoutPanel4
- 3
+ 5
Fill
- 0, 179
+ 0, 180
4, 4, 4, 4
+
+ 0, 4, 0, 0
+
- 546, 182
+ 562, 181
94
@@ -372,6 +429,153 @@
0
+
+ True
+
+
+ Top, Left, Right
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ 59, 3
+
+
+ 0, 3, 0, 0
+
+
+ True
+
+
+ Vertical
+
+
+ 406, 41
+
+
+ 76
+
+
+ textBoxFormula
+
+
+ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ panel1
+
+
+ 0
+
+
+ Top, Right
+
+
+ GrowAndShrink
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ Z number
+
+
+ 469, 0
+
+
+ 0, 0, 0, 0
+
+
+ 1000, 25
+
+
+ 1, 25
+
+
+ 0, 0, 1, 0
+
+
+ 89, 25
+
+
+ 95
+
+
+ numericBoxZnumber
+
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
+
+
+ panel1
+
+
+ 1
+
+
+ True
+
+
+ Segoe UI Symbol, 9.75pt
+
+
+ NoControl
+
+
+ 0, 3
+
+
+ 0, 0, 0, 0
+
+
+ 4, 2, 0, 0
+
+
+ 59, 19
+
+
+ 85
+
+
+ Formula
+
+
+ label90
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ panel1
+
+
+ 2
+
+
+ Top
+
+
+ 0, 136
+
+
+ 562, 44
+
+
+ 98
+
+
+ panel1
+
+
+ System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ panel5
+
+
+ 1
+
AAEAAAD/////AQAAAAAAAAAMAgAAAOsEbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1u
@@ -418,7 +622,7 @@
3, 11, 3, 11
- 546, 179
+ 562, 136
93
@@ -427,13 +631,13 @@
symmetryControl
- Crystallography.Controls.SymmetryControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.SymmetryControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
panel5
- 1
+ 2
Fill
@@ -445,7 +649,7 @@
2, 2, 2, 2
- 546, 361
+ 562, 361
93
@@ -469,7 +673,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
4
@@ -511,7 +715,7 @@
446, 108
- 552, 367
+ 568, 367
0
@@ -520,7 +724,7 @@
atomControl
- Crystallography.Controls.AtomControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.AtomControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageAtom
@@ -619,7 +823,7 @@
0, 0, 0, 0
- 552, 367
+ 568, 367
0
@@ -658,7 +862,7 @@
0, 0, 0, 0
- 552, 367
+ 568, 367
0
@@ -667,7 +871,7 @@
bondControl
- Crystallography.Controls.BondInputControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.BondInputControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageBondsPolyhedra
@@ -679,7 +883,7 @@
4, 26
- 552, 367
+ 568, 367
3
@@ -715,7 +919,7 @@
Vertical
- 434, 225
+ 450, 225
0
@@ -739,7 +943,7 @@
109, 115
- 440, 249
+ 456, 249
3
@@ -835,7 +1039,7 @@
Vertical
- 540, 31
+ 556, 31
0
@@ -859,7 +1063,7 @@
3, 60
- 546, 55
+ 562, 55
1
@@ -892,7 +1096,7 @@
True
- 540, 33
+ 556, 33
0
@@ -916,7 +1120,7 @@
3, 3
- 546, 57
+ 562, 57
0
@@ -943,7 +1147,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
1
@@ -1053,21 +1257,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
168, 83
@@ -1089,14 +1278,11 @@
9
-
-
-
numericBoxEOS_C
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -1110,21 +1296,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
168, 62
@@ -1146,14 +1317,11 @@
8
-
-
-
numericBoxEOS_B
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -1230,21 +1398,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
168, 41
@@ -1266,14 +1419,11 @@
7
-
-
-
numericBoxEOS_A
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -1287,21 +1437,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
33, 82
@@ -1323,14 +1458,11 @@
6
-
-
-
numericBoxEOS_KperT
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -1344,21 +1476,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
125, 15
@@ -1380,14 +1497,11 @@
2
-
-
-
numericBoxEOS_Gamma0
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -1992,21 +2106,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
187, 15
@@ -2028,14 +2127,11 @@
3
-
-
-
numericBoxEOS_Theta0
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -2049,21 +2145,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
250, 15
@@ -2085,14 +2166,11 @@
4
-
-
-
numericBoxEOS_Q
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox3
@@ -2418,21 +2496,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
34, 53
@@ -2454,14 +2517,11 @@
1
-
-
-
numericBoxEOS_V0perMol
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox2
@@ -2475,21 +2535,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
34, 31
@@ -2511,14 +2556,11 @@
0
-
-
-
numericBoxEOS_V0perCell
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox2
@@ -2532,21 +2574,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
40, 77
@@ -2568,14 +2595,11 @@
2
-
-
-
numericBoxEOS_KT0
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox2
@@ -2754,21 +2778,6 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
40, 100
@@ -2790,14 +2799,11 @@
3
-
-
-
numericBoxEOS_KprimeT0
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
groupBox2
@@ -2898,18 +2904,9 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
K
-
- Segoe UI Symbol, 9.75pt
-
T0
@@ -2920,7 +2917,7 @@
3, 4, 3, 4
- 1000, 27
+ 1000, 25
1, 25
@@ -2929,19 +2926,16 @@
1, 1, 1, 1
- 100, 27
+ 100, 25
- 0
-
-
-
+ 0
numericBoxEOS_T0
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageEOS
@@ -2955,18 +2949,9 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
K
-
- Segoe UI Symbol, 9.75pt
-
T
@@ -2977,7 +2962,7 @@
3, 4, 3, 4
- 1000, 27
+ 1000, 25
1, 25
@@ -2986,19 +2971,16 @@
1, 1, 1, 1
- 88, 27
+ 88, 25
1
-
-
-
numericBoxTemperature
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageEOS
@@ -3012,18 +2994,9 @@
Arial, 9pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
GPa
-
- Segoe UI Symbol, 9.75pt
-
P
@@ -3034,7 +3007,7 @@
3, 4, 3, 4
- 1000, 27
+ 1000, 25
1, 25
@@ -3043,19 +3016,16 @@
1, 1, 1, 1
- 132, 27
+ 132, 25
0
-
-
-
numericBoxPressure
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageEOS
@@ -3070,7 +3040,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
5
@@ -3109,7 +3079,7 @@
elasticityControl1
- Crystallography.Controls.ElasticityControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.ElasticityControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageElasticity
@@ -3124,7 +3094,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
6
@@ -3150,21 +3120,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
306, 159
@@ -3186,14 +3141,11 @@
13
-
-
-
numericBoxHill
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -3784,21 +3736,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
305, 125
@@ -3820,14 +3757,11 @@
11
-
-
-
numericBoxStress33
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -3841,21 +3775,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
257, 84
@@ -3877,14 +3796,11 @@
9
-
-
-
numericBoxStress22
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -3898,21 +3814,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
209, 46
@@ -3934,14 +3835,11 @@
6
-
-
-
numericBoxStress11
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -3955,21 +3853,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
307, 84
@@ -3991,14 +3874,11 @@
10
-
-
-
numericBoxStress23
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4012,21 +3892,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
307, 46
@@ -4048,14 +3913,11 @@
8
-
-
-
numericBoxStress13
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4069,21 +3931,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
258, 46
@@ -4105,14 +3952,11 @@
7
-
-
-
numericBoxStress12
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4126,21 +3970,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
120, 121
@@ -4162,14 +3991,11 @@
5
-
-
-
numericBoxStrain33
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4183,21 +4009,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
22, 46
@@ -4219,14 +4030,11 @@
0
-
-
-
numericBoxStrain11
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4240,21 +4048,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
71, 84
@@ -4276,14 +4069,11 @@
3
-
-
-
numericBoxStrain22
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4297,21 +4087,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
71, 46
@@ -4333,14 +4108,11 @@
1
-
-
-
numericBoxStrain12
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4354,21 +4126,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
120, 84
@@ -4390,14 +4147,11 @@
4
-
-
-
numericBoxStrain23
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4411,21 +4165,6 @@
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9.75pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9.75pt
-
-
-
-
120, 46
@@ -4447,14 +4186,11 @@
2
-
-
-
numericBoxStrain13
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageStrainStress
@@ -4469,7 +4205,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
7
@@ -4550,7 +4286,7 @@
4, 2, 4, 2
- 552, 313
+ 568, 313
133
@@ -4559,7 +4295,7 @@
poleFigureControl
- Crystallography.Controls.PoleFigureControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.PoleFigureControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPagePolycrystalline
@@ -4616,7 +4352,7 @@
0, 27
- 552, 27
+ 568, 27
149
@@ -4877,7 +4613,7 @@
0, 2, 0, 0
- 552, 27
+ 568, 27
148
@@ -4901,7 +4637,7 @@
4, 26
- 552, 367
+ 568, 367
8
@@ -4934,7 +4670,7 @@
3, 4, 3, 4
- 546, 361
+ 562, 361
0
@@ -4943,7 +4679,7 @@
boundControl
- Crystallography.Controls.BoundControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.BoundControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageBounds
@@ -4958,7 +4694,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
9
@@ -4991,7 +4727,7 @@
3, 4, 3, 4
- 546, 361
+ 562, 361
0
@@ -5000,7 +4736,7 @@
latticePlaneControl
- Crystallography.Controls.LatticePlaneControl, Crystallography.Controls, Version=2020.5.16.1450, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.LatticePlaneControl, Crystallography.Controls, Version=2020.7.28.918, Culture=neutral, PublicKeyToken=null
tabPageLatticePlane
@@ -5015,7 +4751,7 @@
3, 3, 3, 3
- 552, 367
+ 568, 367
10
@@ -5048,7 +4784,7 @@
0, 2, 0, 0
- 560, 397
+ 576, 397
0
@@ -5134,86 +4870,8 @@
System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- Fill
-
-
- Segoe UI Symbol, 9.75pt
-
-
- 201, 0
-
-
- 0, 3, 0, 0
-
-
- True
-
-
- Vertical
-
-
- 301, 25
-
-
- 76
-
-
- textBoxFormula
-
-
- System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel4
-
-
- 0
-
-
- True
-
-
- Left
-
-
- Segoe UI Symbol, 9.75pt
-
-
- NoControl
-
-
- 142, 0
-
-
- 3, 5, 3, 0
-
-
- 4, 2, 0, 0
-
-
- 59, 19
-
-
- 85
-
-
- Formula
-
-
- label90
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- panel4
-
-
- 1
-
- Left
+ Fill
Segoe UI Symbol, 9.75pt
@@ -5225,7 +4883,7 @@
0, 3, 0, 0
- 99, 25
+ 475, 25
0
@@ -5240,7 +4898,7 @@
panel4
- 2
+ 0
True
@@ -5282,7 +4940,7 @@
panel4
- 3
+ 1
17, 17
@@ -5303,7 +4961,7 @@
NoControl
- 502, 0
+ 518, 0
58, 25
@@ -5327,7 +4985,7 @@
panel4
- 4
+ 2
True
@@ -5342,7 +5000,7 @@
0, 0
- 560, 0
+ 576, 0
86
@@ -5369,7 +5027,7 @@
0, 0, 0, 2
- 560, 27
+ 576, 27
87
@@ -5402,7 +5060,7 @@
0, 0, 0, 0
- 560, 424
+ 576, 424
resetToolStripMenuItem
diff --git a/Crystallography.Controls/Crystal/SymmetryControl.Designer.cs b/Crystallography.Controls/Crystal/SymmetryControl.Designer.cs
index 7a29384..5e2ff37 100644
--- a/Crystallography.Controls/Crystal/SymmetryControl.Designer.cs
+++ b/Crystallography.Controls/Crystal/SymmetryControl.Designer.cs
@@ -29,19 +29,7 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SymmetryControl));
- this.tableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
- this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
- this.numericBoxGammaErr = new Crystallography.Controls.NumericBox();
- this.numericBoxBetaErr = new Crystallography.Controls.NumericBox();
- this.numericBoxAlphaErr = new Crystallography.Controls.NumericBox();
- this.label7 = new System.Windows.Forms.Label();
- this.label10 = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.numericBoxAlpha = new Crystallography.Controls.NumericBox();
- this.numericBoxGamma = new Crystallography.Controls.NumericBox();
- this.numericBoxBeta = new Crystallography.Controls.NumericBox();
this.label28 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
@@ -50,20 +38,11 @@ private void InitializeComponent()
this.label48 = new System.Windows.Forms.Label();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label45 = new System.Windows.Forms.Label();
- this.numericBoxAErr = new Crystallography.Controls.NumericBox();
this.label44 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
- this.numericBoxCErr = new Crystallography.Controls.NumericBox();
- this.numericBoxBErr = new Crystallography.Controls.NumericBox();
this.label25 = new System.Windows.Forms.Label();
- this.numericBoxA = new Crystallography.Controls.NumericBox();
- this.numericBoxB = new Crystallography.Controls.NumericBox();
- this.label6 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.numericBoxC = new Crystallography.Controls.NumericBox();
this.groupBoxSymmetry = new System.Windows.Forms.GroupBox();
this.comboBoxSpaceGroup = new System.Windows.Forms.ComboBox();
this.comboBoxPointGroup = new System.Windows.Forms.ComboBox();
@@ -74,154 +53,32 @@ private void InitializeComponent()
this.textBoxSearch = new System.Windows.Forms.TextBox();
this.label21 = new System.Windows.Forms.Label();
this.comboBoxSearchResult = new System.Windows.Forms.ComboBox();
- this.tableLayoutPanel.SuspendLayout();
+ this.checkBoxShowError = new System.Windows.Forms.CheckBox();
+ this.numericBoxBeta = new Crystallography.Controls.NumericBox();
+ this.numericBoxAlpha = new Crystallography.Controls.NumericBox();
+ this.numericBoxGammaErr = new Crystallography.Controls.NumericBox();
+ this.numericBoxAlphaErr = new Crystallography.Controls.NumericBox();
+ this.numericBoxBetaErr = new Crystallography.Controls.NumericBox();
+ this.numericBoxA = new Crystallography.Controls.NumericBox();
+ this.numericBoxGamma = new Crystallography.Controls.NumericBox();
+ this.numericBoxBErr = new Crystallography.Controls.NumericBox();
+ this.numericBoxB = new Crystallography.Controls.NumericBox();
+ this.numericBoxC = new Crystallography.Controls.NumericBox();
+ this.numericBoxCErr = new Crystallography.Controls.NumericBox();
+ this.numericBoxAErr = new Crystallography.Controls.NumericBox();
this.groupBox4.SuspendLayout();
- this.tableLayoutPanel4.SuspendLayout();
- this.tableLayoutPanel2.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.groupBoxSymmetry.SuspendLayout();
this.SuspendLayout();
//
- // tableLayoutPanel
- //
- resources.ApplyResources(this.tableLayoutPanel, "tableLayoutPanel");
- this.tableLayoutPanel.Controls.Add(this.groupBox4, 0, 0);
- this.tableLayoutPanel.Controls.Add(this.groupBoxSymmetry, 1, 0);
- this.tableLayoutPanel.Name = "tableLayoutPanel";
- //
// groupBox4
//
- this.groupBox4.Controls.Add(this.tableLayoutPanel4);
+ this.groupBox4.Controls.Add(this.checkBoxShowError);
+ this.groupBox4.Controls.Add(this.tableLayoutPanel1);
resources.ApplyResources(this.groupBox4, "groupBox4");
this.groupBox4.Name = "groupBox4";
this.groupBox4.TabStop = false;
//
- // tableLayoutPanel4
- //
- resources.ApplyResources(this.tableLayoutPanel4, "tableLayoutPanel4");
- this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel2, 0, 1);
- this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel1, 0, 0);
- this.tableLayoutPanel4.Name = "tableLayoutPanel4";
- //
- // tableLayoutPanel2
- //
- resources.ApplyResources(this.tableLayoutPanel2, "tableLayoutPanel2");
- this.tableLayoutPanel2.Controls.Add(this.numericBoxGammaErr, 3, 2);
- this.tableLayoutPanel2.Controls.Add(this.numericBoxBetaErr, 3, 1);
- this.tableLayoutPanel2.Controls.Add(this.numericBoxAlphaErr, 3, 0);
- this.tableLayoutPanel2.Controls.Add(this.label7, 2, 2);
- this.tableLayoutPanel2.Controls.Add(this.label10, 2, 1);
- this.tableLayoutPanel2.Controls.Add(this.label11, 2, 0);
- this.tableLayoutPanel2.Controls.Add(this.numericBoxAlpha, 1, 0);
- this.tableLayoutPanel2.Controls.Add(this.numericBoxGamma, 1, 2);
- this.tableLayoutPanel2.Controls.Add(this.numericBoxBeta, 1, 1);
- this.tableLayoutPanel2.Controls.Add(this.label28, 0, 2);
- this.tableLayoutPanel2.Controls.Add(this.label27, 0, 1);
- this.tableLayoutPanel2.Controls.Add(this.label26, 0, 0);
- this.tableLayoutPanel2.Controls.Add(this.label46, 4, 0);
- this.tableLayoutPanel2.Controls.Add(this.label47, 4, 1);
- this.tableLayoutPanel2.Controls.Add(this.label48, 4, 2);
- this.tableLayoutPanel2.Name = "tableLayoutPanel2";
- //
- // numericBoxGammaErr
- //
- resources.ApplyResources(this.numericBoxGammaErr, "numericBoxGammaErr");
- this.numericBoxGammaErr.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxGammaErr.DecimalPlaces = -1;
- this.numericBoxGammaErr.Name = "numericBoxGammaErr";
- this.numericBoxGammaErr.RadianValue = 0D;
- this.numericBoxGammaErr.RestrictLimitValue = false;
- this.numericBoxGammaErr.ShowUpDown = false;
- this.numericBoxGammaErr.SkipEventDuringInput = false;
- this.numericBoxGammaErr.SmartIncrement = true;
- this.numericBoxGammaErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxGammaErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // numericBoxBetaErr
- //
- resources.ApplyResources(this.numericBoxBetaErr, "numericBoxBetaErr");
- this.numericBoxBetaErr.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxBetaErr.DecimalPlaces = -1;
- this.numericBoxBetaErr.Name = "numericBoxBetaErr";
- this.numericBoxBetaErr.RadianValue = 0D;
- this.numericBoxBetaErr.RestrictLimitValue = false;
- this.numericBoxBetaErr.ShowUpDown = false;
- this.numericBoxBetaErr.SkipEventDuringInput = false;
- this.numericBoxBetaErr.SmartIncrement = true;
- this.numericBoxBetaErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxBetaErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // numericBoxAlphaErr
- //
- resources.ApplyResources(this.numericBoxAlphaErr, "numericBoxAlphaErr");
- this.numericBoxAlphaErr.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxAlphaErr.DecimalPlaces = -1;
- this.numericBoxAlphaErr.Name = "numericBoxAlphaErr";
- this.numericBoxAlphaErr.RadianValue = 0D;
- this.numericBoxAlphaErr.RestrictLimitValue = false;
- this.numericBoxAlphaErr.ShowUpDown = false;
- this.numericBoxAlphaErr.SkipEventDuringInput = false;
- this.numericBoxAlphaErr.SmartIncrement = true;
- this.numericBoxAlphaErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxAlphaErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // label7
- //
- resources.ApplyResources(this.label7, "label7");
- this.label7.Name = "label7";
- //
- // label10
- //
- resources.ApplyResources(this.label10, "label10");
- this.label10.Name = "label10";
- //
- // label11
- //
- resources.ApplyResources(this.label11, "label11");
- this.label11.Name = "label11";
- //
- // numericBoxAlpha
- //
- resources.ApplyResources(this.numericBoxAlpha, "numericBoxAlpha");
- this.numericBoxAlpha.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxAlpha.DecimalPlaces = -1;
- this.numericBoxAlpha.Name = "numericBoxAlpha";
- this.numericBoxAlpha.RadianValue = 0D;
- this.numericBoxAlpha.RestrictLimitValue = false;
- this.numericBoxAlpha.ShowUpDown = false;
- this.numericBoxAlpha.SkipEventDuringInput = false;
- this.numericBoxAlpha.SmartIncrement = true;
- this.numericBoxAlpha.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxAlpha.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // numericBoxGamma
- //
- resources.ApplyResources(this.numericBoxGamma, "numericBoxGamma");
- this.numericBoxGamma.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxGamma.DecimalPlaces = -1;
- this.numericBoxGamma.Name = "numericBoxGamma";
- this.numericBoxGamma.RadianValue = 0D;
- this.numericBoxGamma.RestrictLimitValue = false;
- this.numericBoxGamma.ShowUpDown = false;
- this.numericBoxGamma.SkipEventDuringInput = false;
- this.numericBoxGamma.SmartIncrement = true;
- this.numericBoxGamma.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxGamma.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // numericBoxBeta
- //
- resources.ApplyResources(this.numericBoxBeta, "numericBoxBeta");
- this.numericBoxBeta.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxBeta.DecimalPlaces = -1;
- this.numericBoxBeta.Name = "numericBoxBeta";
- this.numericBoxBeta.RadianValue = 0D;
- this.numericBoxBeta.RestrictLimitValue = false;
- this.numericBoxBeta.ShowUpDown = false;
- this.numericBoxBeta.SkipEventDuringInput = false;
- this.numericBoxBeta.SmartIncrement = true;
- this.numericBoxBeta.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxBeta.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
// label28
//
resources.ApplyResources(this.label28, "label28");
@@ -255,21 +112,30 @@ private void InitializeComponent()
// tableLayoutPanel1
//
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
- this.tableLayoutPanel1.Controls.Add(this.label45, 4, 1);
- this.tableLayoutPanel1.Controls.Add(this.numericBoxAErr, 3, 0);
- this.tableLayoutPanel1.Controls.Add(this.label44, 4, 2);
+ this.tableLayoutPanel1.Controls.Add(this.label48, 7, 2);
+ this.tableLayoutPanel1.Controls.Add(this.label46, 7, 1);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxBeta, 5, 1);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxAlpha, 5, 0);
+ this.tableLayoutPanel1.Controls.Add(this.label47, 7, 0);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxGammaErr, 6, 2);
this.tableLayoutPanel1.Controls.Add(this.label23, 0, 0);
- this.tableLayoutPanel1.Controls.Add(this.label18, 4, 0);
- this.tableLayoutPanel1.Controls.Add(this.label24, 0, 1);
- this.tableLayoutPanel1.Controls.Add(this.numericBoxCErr, 3, 2);
- this.tableLayoutPanel1.Controls.Add(this.numericBoxBErr, 3, 1);
- this.tableLayoutPanel1.Controls.Add(this.label25, 0, 2);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxAlphaErr, 6, 0);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxBetaErr, 6, 1);
this.tableLayoutPanel1.Controls.Add(this.numericBoxA, 1, 0);
+ this.tableLayoutPanel1.Controls.Add(this.label26, 4, 0);
+ this.tableLayoutPanel1.Controls.Add(this.label45, 3, 2);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxGamma, 5, 2);
+ this.tableLayoutPanel1.Controls.Add(this.label18, 3, 1);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxBErr, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.numericBoxB, 1, 1);
- this.tableLayoutPanel1.Controls.Add(this.label6, 2, 0);
- this.tableLayoutPanel1.Controls.Add(this.label1, 2, 2);
- this.tableLayoutPanel1.Controls.Add(this.label2, 2, 1);
+ this.tableLayoutPanel1.Controls.Add(this.label24, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.label25, 0, 2);
+ this.tableLayoutPanel1.Controls.Add(this.label28, 4, 2);
+ this.tableLayoutPanel1.Controls.Add(this.label27, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.numericBoxC, 1, 2);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxCErr, 2, 2);
+ this.tableLayoutPanel1.Controls.Add(this.numericBoxAErr, 2, 0);
+ this.tableLayoutPanel1.Controls.Add(this.label44, 3, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
//
// label45
@@ -277,20 +143,6 @@ private void InitializeComponent()
resources.ApplyResources(this.label45, "label45");
this.label45.Name = "label45";
//
- // numericBoxAErr
- //
- resources.ApplyResources(this.numericBoxAErr, "numericBoxAErr");
- this.numericBoxAErr.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxAErr.DecimalPlaces = -1;
- this.numericBoxAErr.Name = "numericBoxAErr";
- this.numericBoxAErr.RadianValue = 0D;
- this.numericBoxAErr.RestrictLimitValue = false;
- this.numericBoxAErr.ShowUpDown = false;
- this.numericBoxAErr.SkipEventDuringInput = false;
- this.numericBoxAErr.SmartIncrement = true;
- this.numericBoxAErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxAErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
// label44
//
resources.ApplyResources(this.label44, "label44");
@@ -311,96 +163,11 @@ private void InitializeComponent()
resources.ApplyResources(this.label24, "label24");
this.label24.Name = "label24";
//
- // numericBoxCErr
- //
- resources.ApplyResources(this.numericBoxCErr, "numericBoxCErr");
- this.numericBoxCErr.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxCErr.DecimalPlaces = -1;
- this.numericBoxCErr.Name = "numericBoxCErr";
- this.numericBoxCErr.RadianValue = 0D;
- this.numericBoxCErr.RestrictLimitValue = false;
- this.numericBoxCErr.ShowUpDown = false;
- this.numericBoxCErr.SkipEventDuringInput = false;
- this.numericBoxCErr.SmartIncrement = true;
- this.numericBoxCErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxCErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // numericBoxBErr
- //
- resources.ApplyResources(this.numericBoxBErr, "numericBoxBErr");
- this.numericBoxBErr.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxBErr.DecimalPlaces = -1;
- this.numericBoxBErr.Name = "numericBoxBErr";
- this.numericBoxBErr.RadianValue = 0D;
- this.numericBoxBErr.RestrictLimitValue = false;
- this.numericBoxBErr.ShowUpDown = false;
- this.numericBoxBErr.SkipEventDuringInput = false;
- this.numericBoxBErr.SmartIncrement = true;
- this.numericBoxBErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxBErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
// label25
//
resources.ApplyResources(this.label25, "label25");
this.label25.Name = "label25";
//
- // numericBoxA
- //
- resources.ApplyResources(this.numericBoxA, "numericBoxA");
- this.numericBoxA.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxA.DecimalPlaces = -1;
- this.numericBoxA.Name = "numericBoxA";
- this.numericBoxA.RadianValue = 0D;
- this.numericBoxA.RestrictLimitValue = false;
- this.numericBoxA.ShowUpDown = false;
- this.numericBoxA.SkipEventDuringInput = false;
- this.numericBoxA.SmartIncrement = true;
- this.numericBoxA.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxA.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // numericBoxB
- //
- resources.ApplyResources(this.numericBoxB, "numericBoxB");
- this.numericBoxB.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxB.DecimalPlaces = -1;
- this.numericBoxB.Name = "numericBoxB";
- this.numericBoxB.RadianValue = 0D;
- this.numericBoxB.RestrictLimitValue = false;
- this.numericBoxB.ShowUpDown = false;
- this.numericBoxB.SkipEventDuringInput = false;
- this.numericBoxB.SmartIncrement = true;
- this.numericBoxB.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxB.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
- // label6
- //
- resources.ApplyResources(this.label6, "label6");
- this.label6.Name = "label6";
- //
- // label1
- //
- resources.ApplyResources(this.label1, "label1");
- this.label1.Name = "label1";
- //
- // label2
- //
- resources.ApplyResources(this.label2, "label2");
- this.label2.Name = "label2";
- //
- // numericBoxC
- //
- resources.ApplyResources(this.numericBoxC, "numericBoxC");
- this.numericBoxC.BackColor = System.Drawing.SystemColors.Control;
- this.numericBoxC.DecimalPlaces = -1;
- this.numericBoxC.Name = "numericBoxC";
- this.numericBoxC.RadianValue = 0D;
- this.numericBoxC.RestrictLimitValue = false;
- this.numericBoxC.ShowUpDown = false;
- this.numericBoxC.SkipEventDuringInput = false;
- this.numericBoxC.SmartIncrement = true;
- this.numericBoxC.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
- this.numericBoxC.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
- //
// groupBoxSymmetry
//
this.groupBoxSymmetry.Controls.Add(this.comboBoxSpaceGroup);
@@ -487,17 +254,178 @@ private void InitializeComponent()
this.comboBoxSearchResult.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.comboBoxSpaceGroup_DrawItem);
this.comboBoxSearchResult.SelectedIndexChanged += new System.EventHandler(this.comboBoxSearchResult_SelectedIndexChanged);
//
+ // checkBoxShowError
+ //
+ resources.ApplyResources(this.checkBoxShowError, "checkBoxShowError");
+ this.checkBoxShowError.Name = "checkBoxShowError";
+ this.checkBoxShowError.UseVisualStyleBackColor = true;
+ this.checkBoxShowError.CheckedChanged += new System.EventHandler(this.checkBoxShowError_CheckedChanged);
+ //
+ // numericBoxBeta
+ //
+ resources.ApplyResources(this.numericBoxBeta, "numericBoxBeta");
+ this.numericBoxBeta.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBeta.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBeta.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBeta.Name = "numericBoxBeta";
+ this.numericBoxBeta.RestrictLimitValue = false;
+ this.numericBoxBeta.SkipEventDuringInput = false;
+ this.numericBoxBeta.SmartIncrement = true;
+ this.numericBoxBeta.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxBeta.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxAlpha
+ //
+ resources.ApplyResources(this.numericBoxAlpha, "numericBoxAlpha");
+ this.numericBoxAlpha.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAlpha.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAlpha.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAlpha.Name = "numericBoxAlpha";
+ this.numericBoxAlpha.RestrictLimitValue = false;
+ this.numericBoxAlpha.SkipEventDuringInput = false;
+ this.numericBoxAlpha.SmartIncrement = true;
+ this.numericBoxAlpha.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxAlpha.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxGammaErr
+ //
+ resources.ApplyResources(this.numericBoxGammaErr, "numericBoxGammaErr");
+ this.numericBoxGammaErr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxGammaErr.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxGammaErr.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxGammaErr.Name = "numericBoxGammaErr";
+ this.numericBoxGammaErr.RestrictLimitValue = false;
+ this.numericBoxGammaErr.SkipEventDuringInput = false;
+ this.numericBoxGammaErr.SmartIncrement = true;
+ this.numericBoxGammaErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxGammaErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxAlphaErr
+ //
+ resources.ApplyResources(this.numericBoxAlphaErr, "numericBoxAlphaErr");
+ this.numericBoxAlphaErr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAlphaErr.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAlphaErr.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAlphaErr.Name = "numericBoxAlphaErr";
+ this.numericBoxAlphaErr.RestrictLimitValue = false;
+ this.numericBoxAlphaErr.SkipEventDuringInput = false;
+ this.numericBoxAlphaErr.SmartIncrement = true;
+ this.numericBoxAlphaErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxAlphaErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxBetaErr
+ //
+ resources.ApplyResources(this.numericBoxBetaErr, "numericBoxBetaErr");
+ this.numericBoxBetaErr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBetaErr.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBetaErr.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBetaErr.Name = "numericBoxBetaErr";
+ this.numericBoxBetaErr.RestrictLimitValue = false;
+ this.numericBoxBetaErr.SkipEventDuringInput = false;
+ this.numericBoxBetaErr.SmartIncrement = true;
+ this.numericBoxBetaErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxBetaErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxA
+ //
+ resources.ApplyResources(this.numericBoxA, "numericBoxA");
+ this.numericBoxA.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxA.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxA.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxA.Name = "numericBoxA";
+ this.numericBoxA.RestrictLimitValue = false;
+ this.numericBoxA.SkipEventDuringInput = false;
+ this.numericBoxA.SmartIncrement = true;
+ this.numericBoxA.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxA.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxGamma
+ //
+ resources.ApplyResources(this.numericBoxGamma, "numericBoxGamma");
+ this.numericBoxGamma.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxGamma.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxGamma.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxGamma.Name = "numericBoxGamma";
+ this.numericBoxGamma.RestrictLimitValue = false;
+ this.numericBoxGamma.SkipEventDuringInput = false;
+ this.numericBoxGamma.SmartIncrement = true;
+ this.numericBoxGamma.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxGamma.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxBErr
+ //
+ resources.ApplyResources(this.numericBoxBErr, "numericBoxBErr");
+ this.numericBoxBErr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBErr.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBErr.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxBErr.Name = "numericBoxBErr";
+ this.numericBoxBErr.RestrictLimitValue = false;
+ this.numericBoxBErr.SkipEventDuringInput = false;
+ this.numericBoxBErr.SmartIncrement = true;
+ this.numericBoxBErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxBErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxB
+ //
+ resources.ApplyResources(this.numericBoxB, "numericBoxB");
+ this.numericBoxB.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxB.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxB.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxB.Name = "numericBoxB";
+ this.numericBoxB.RestrictLimitValue = false;
+ this.numericBoxB.SkipEventDuringInput = false;
+ this.numericBoxB.SmartIncrement = true;
+ this.numericBoxB.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxB.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxC
+ //
+ resources.ApplyResources(this.numericBoxC, "numericBoxC");
+ this.numericBoxC.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxC.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxC.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxC.Name = "numericBoxC";
+ this.numericBoxC.RestrictLimitValue = false;
+ this.numericBoxC.SkipEventDuringInput = false;
+ this.numericBoxC.SmartIncrement = true;
+ this.numericBoxC.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxC.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxCErr
+ //
+ resources.ApplyResources(this.numericBoxCErr, "numericBoxCErr");
+ this.numericBoxCErr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCErr.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCErr.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxCErr.Name = "numericBoxCErr";
+ this.numericBoxCErr.RestrictLimitValue = false;
+ this.numericBoxCErr.SkipEventDuringInput = false;
+ this.numericBoxCErr.SmartIncrement = true;
+ this.numericBoxCErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxCErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
+ // numericBoxAErr
+ //
+ resources.ApplyResources(this.numericBoxAErr, "numericBoxAErr");
+ this.numericBoxAErr.BackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAErr.FooterBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAErr.HeaderBackColor = System.Drawing.SystemColors.Control;
+ this.numericBoxAErr.Name = "numericBoxAErr";
+ this.numericBoxAErr.RestrictLimitValue = false;
+ this.numericBoxAErr.SkipEventDuringInput = false;
+ this.numericBoxAErr.SmartIncrement = true;
+ this.numericBoxAErr.TextFont = new System.Drawing.Font("Segoe UI Symbol", 9F);
+ this.numericBoxAErr.ValueChanged += new Crystallography.Controls.NumericBox.MyEventHandler(this.numericBoxCellConstants_ValueChanged);
+ //
// SymmetryControl
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
- this.Controls.Add(this.tableLayoutPanel);
+ this.Controls.Add(this.groupBox4);
+ this.Controls.Add(this.groupBoxSymmetry);
this.Name = "SymmetryControl";
- this.tableLayoutPanel.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
- this.tableLayoutPanel4.ResumeLayout(false);
- this.tableLayoutPanel2.ResumeLayout(false);
- this.tableLayoutPanel2.PerformLayout();
+ this.groupBox4.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.groupBoxSymmetry.ResumeLayout(false);
@@ -507,17 +435,10 @@ private void InitializeComponent()
}
#endregion
-
- private System.Windows.Forms.TableLayoutPanel tableLayoutPanel;
private System.Windows.Forms.GroupBox groupBox4;
- private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
- private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private NumericBox numericBoxGammaErr;
private NumericBox numericBoxBetaErr;
private NumericBox numericBoxAlphaErr;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.Label label11;
private NumericBox numericBoxAlpha;
private NumericBox numericBoxGamma;
private NumericBox numericBoxBeta;
@@ -539,9 +460,6 @@ private void InitializeComponent()
private System.Windows.Forms.Label label25;
private NumericBox numericBoxA;
private NumericBox numericBoxB;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
private NumericBox numericBoxC;
private System.Windows.Forms.GroupBox groupBoxSymmetry;
public System.Windows.Forms.ComboBox comboBoxSpaceGroup;
@@ -553,5 +471,6 @@ private void InitializeComponent()
public System.Windows.Forms.TextBox textBoxSearch;
private System.Windows.Forms.Label label21;
public System.Windows.Forms.ComboBox comboBoxSearchResult;
+ private System.Windows.Forms.CheckBox checkBoxShowError;
}
-}
+}
\ No newline at end of file
diff --git a/Crystallography.Controls/Crystal/SymmetryControl.cs b/Crystallography.Controls/Crystal/SymmetryControl.cs
index 0a48902..0f86bf7 100644
--- a/Crystallography.Controls/Crystal/SymmetryControl.cs
+++ b/Crystallography.Controls/Crystal/SymmetryControl.cs
@@ -1,11 +1,7 @@
サソusing System;
-using System.Collections.Generic;
-using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using System.Windows.Forms;
namespace Crystallography.Controls
@@ -15,9 +11,9 @@ public partial class SymmetryControl : UserControl
#region 繝励Ο繝代ユ繧」縲√ヵ繧」繝シ繝ォ繝峨√う繝吶Φ繝医ワ繝ウ繝峨Λ
public bool SkipEvent { get; set; } = false;
- public int CrystalSystemIndex { get => comboBoxCrystalSystem.SelectedIndex; }
- public int PointGroupIndex { get => comboBoxPointGroup.SelectedIndex; }
- public int SpaceGroupIndex { get => comboBoxSpaceGroup.SelectedIndex; }
+ public int CrystalSystemIndex => comboBoxCrystalSystem.SelectedIndex;
+ public int PointGroupIndex => comboBoxPointGroup.SelectedIndex;
+ public int SpaceGroupIndex => comboBoxSpaceGroup.SelectedIndex;
public int SymmetrySeriesNumber
@@ -64,7 +60,6 @@ public int SymmetrySeriesNumber
numericBoxBeta.RadianValue = value.Beta;
numericBoxGamma.RadianValue = value.Gamma;
SkipEvent = false;
-
}
}
@@ -86,6 +81,18 @@ public int SymmetrySeriesNumber
}
}
+ public bool ShowError
+ {
+ get => checkBoxShowError.Checked;
+ set
+ {
+ SkipEvent = true;
+ checkBoxShowError.Checked = value;
+ SkipEvent = false;
+ tableLayoutPanel1.ColumnStyles[2].Width = tableLayoutPanel1.ColumnStyles[6].Width = checkBoxShowError.Checked ? 25 : 0;
+ }
+ }
+
public event EventHandler ItemChanged;
#endregion
@@ -96,6 +103,7 @@ public SymmetryControl()
{
InitializeComponent();
SymmetrySeriesNumber = 0;
+ tableLayoutPanel1.ColumnStyles[2].Width = tableLayoutPanel1.ColumnStyles[6].Width= 0;
}
#endregion
@@ -392,9 +400,17 @@ private void numericBoxCellConstants_ValueChanged(object sender, EventArgs e)
if (SkipEvent) return;
if (!(sender as NumericBox).ReadOnly)//閾ェ蛻縺瑚ェュ縺ソ霎シ縺ソ蟆ら畑縺ァ縺ェ縺代l縺ー
SetCellConstantsBySymmetry();
- }
- #endregion
+ }
+ #endregion
+ #region 繧ィ繝ゥ繝シ陦ィ遉コ/髱櫁。ィ遉コ
+ private void checkBoxShowError_CheckedChanged(object sender, EventArgs e)
+ {
+ if (SkipEvent)
+ return;
+ ShowError = checkBoxShowError.Checked;
+ }
+ #endregion
}
}
diff --git a/Crystallography.Controls/Crystal/SymmetryControl.resx b/Crystallography.Controls/Crystal/SymmetryControl.resx
index d4642b8..600daa9 100644
--- a/Crystallography.Controls/Crystal/SymmetryControl.resx
+++ b/Crystallography.Controls/Crystal/SymmetryControl.resx
@@ -117,305 +117,170 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- 2
-
-
- 1
-
-
- 5
-
-
- GrowAndShrink
+
+ Bottom, Right
-
- Fill
+
+
+ True
-
- Segoe UI Symbol, 9.75pt
-
-
- Segoe UI Symbol, 9pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
+
Segoe UI Symbol, 9pt
-
-
-
-
- 112, 50
-
-
- 0, 0, 0, 0
-
-
- 1000, 25
-
-
- 1, 23
+
+ NoControl
-
- 0, 0, 1, 0
+
+ 249, 111
-
- 65, 25
+
+ 80, 19
-
- 5
+
+ 2
-
-
+
+ ShowError
-
- numericBoxGammaErr
+
+ checkBoxShowError
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.3.357, Culture=neutral, PublicKeyToken=null
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tableLayoutPanel2
+
+ groupBox4
-
+
0
-
- GrowAndShrink
+
+ 8
-
- Fill
+
+ True
-
+
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9pt
-
-
-
+
+ NoControl
-
- 112, 25
+
+ 314, 52
-
+
0, 0, 0, 0
-
- 1000, 25
-
-
- 1, 23
-
-
- 0, 0, 1, 0
-
-
- 65, 25
-
-
- 4
-
-
-
-
-
- numericBoxBetaErr
-
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.3.357, Culture=neutral, PublicKeyToken=null
-
-
- tableLayoutPanel2
+
+ 13, 17
-
+
1
-
- GrowAndShrink
-
-
- Fill
-
-
- Segoe UI Symbol, 9.75pt
-
-
- Segoe UI Symbol, 9pt
-
-
- 0, 0, 0, 0
-
-
-
-
-
- Segoe UI Symbol, 9pt
-
-
-
-
-
- 112, 0
-
-
- 0, 0, 0, 0
-
-
- 1000, 25
-
-
- 1, 23
-
-
- 0, 0, 1, 0
-
-
- 65, 25
-
-
- 3
-
-
-
+
+ ツー
-
- numericBoxAlphaErr
+
+ label48
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.3.357, Culture=neutral, PublicKeyToken=null
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tableLayoutPanel2
+
+ tableLayoutPanel1
-
- 2
+
+ 0
-
+
True
-
+
Segoe UI Symbol, 9.75pt
-
+
NoControl
-
- 95, 50
+
+ 314, 26
-
+
0, 0, 0, 0
-
- 17, 17
+
+ 13, 17
-
+
1
-
- ツア
+
+ ツー
-
- label7
+
+ label46
-
+
System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tableLayoutPanel2
-
-
- 3
-
-
- True
-
-
- Segoe UI Symbol, 9.75pt
-
-
- NoControl
-
-
- 95, 25
-
-
- 0, 0, 0, 0
-
-
- 17, 17
+
+ tableLayoutPanel1
-
+
1
-
- ツア
+
+ GrowAndShrink
-
- label10
+
+ Fill
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Segoe UI Symbol, 9.75pt
-
- tableLayoutPanel2
+
+ Segoe UI Symbol, 9pt
-
- 4
+
+ Segoe UI Symbol, 9pt
-
- True
+
+ 184, 26
-
- Segoe UI Symbol, 9.75pt
+
+ 0, 0, 0, 0
-
- NoControl
+
+ 1000, 23
-
- 95, 0
+
+ 1, 23
-
- 0, 0, 0, 0
+
+ 0, 0, 1, 0
-
- 17, 17
+
+ 65, 23
-
+
1
-
- ツア
+
+ Beta in degree
-
- label11
+
+ numericBoxBeta
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.6.6.635, Culture=neutral, PublicKeyToken=null
-
- tableLayoutPanel2
+
+ tableLayoutPanel1
-
- 5
+
+ 2
GrowAndShrink
@@ -429,26 +294,17 @@
Segoe UI Symbol, 9pt
-
- 0, 0, 0, 0
-
-
-
-
Segoe UI Symbol, 9pt
-
-
-
- 16, 0
+ 184, 0
0, 0, 0, 0
- 1000, 25
+ 1000, 23
1, 23
@@ -457,7 +313,7 @@
0, 0, 1, 0
- 79, 25
+ 65, 23
0
@@ -469,685 +325,448 @@
numericBoxAlpha
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.3.357, Culture=neutral, PublicKeyToken=null
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.6.6.635, Culture=neutral, PublicKeyToken=null
- tableLayoutPanel2
+ tableLayoutPanel1
- 6
-
-
- GrowAndShrink
+ 3
-
- Fill
+
+ True
-
+
Segoe UI Symbol, 9.75pt
-
- Segoe UI Symbol, 9pt
+
+ NoControl
-
+
+ 314, 0
+
+
0, 0, 0, 0
-
-
+
+ 13, 17
-
- Segoe UI Symbol, 9pt
+
+ 1
-
-
+
+ ツー
-
- 16, 50
+
+ label47
-
- 0, 0, 0, 0
-
-
- 1000, 25
-
-
- 1, 23
-
-
- 0, 0, 1, 0
-
-
- 79, 25
-
-
- 2
-
-
- Gamma in degree
-
-
- numericBoxGamma
-
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.3.357, Culture=neutral, PublicKeyToken=null
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- tableLayoutPanel2
+
+ tableLayoutPanel1
-
- 7
+
+ 4
-
+
GrowAndShrink
-
+
Fill
-
+
Segoe UI Symbol, 9.75pt
-
+
Segoe UI Symbol, 9pt
-
- 0, 0, 0, 0
-
-
-
-
-
+
Segoe UI Symbol, 9pt
-
-
+
+ ツア
-
- 16, 25
+
+ 249, 52
-
+
0, 0, 0, 0
-
- 1000, 25
+
+ 1000, 23
-
+
1, 23
-
+
0, 0, 1, 0
-
- 79, 25
-
-
- 1
-
-
- Beta in degree
-
-
- numericBoxBeta
-
-
- Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.5.3.357, Culture=neutral, PublicKeyToken=null
-
-
- tableLayoutPanel2
-
-
- 8
-
-
- True
-
-
- Times New Roman, 11.25pt, style=Italic
-
-
- NoControl
-
-
- 0, 50
-
-
- 0, 0, 0, 0
-
-
- 14, 17
-
-
- 1
-
-
- ホウ
-
-
- label28
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- tableLayoutPanel2
-
-
- 9
-
-
- True
-
-
- Times New Roman, 11.25pt, style=Italic
-
-
- NoControl
-
-
- 0, 25
-
-
- 0, 0, 0, 0
-
-
- 15, 17
-
-
- 1
+
+ 65, 23
-
- ホイ
+
+ 5
-
- label27
+
+ numericBoxGammaErr
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ Crystallography.Controls.NumericBox, Crystallography.Controls, Version=2020.6.6.635, Culture=neutral, PublicKeyToken=null
-
- tableLayoutPanel2
+
+ tableLayoutPanel1
-
- 10
+
+ 5
-
+
True
-
+
Times New Roman, 11.25pt, style=Italic
-
+
NoControl
-
+
0, 0
-
+
0, 0, 0, 0
-
+