Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohne authored Nov 14, 2018
1 parent 66ced64 commit 1392251
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
21 changes: 13 additions & 8 deletions PlanetoidDB/PlanetoidDBForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ private void PlanetoidDBForm_Load(object sender, EventArgs e)
{
if (readLine != "")
{
//arrDB.Add(readLine);
strIndex = readLine.Substring(0, 7); strIndex = strIndex.Trim();
arrDB.Add(readLine);
/*strIndex = readLine.Substring(0, 7); strIndex = strIndex.Trim();
strMagAbs = readLine.Substring(8, 5); strMagAbs = strMagAbs.Trim();
if (strMagAbs == "") doubleMagAbs = 0; else doubleMagAbs = Convert.ToDouble(strMagAbs);
strSlopeParam = readLine.Substring(14, 5); strSlopeParam = strSlopeParam.Trim();
Expand Down Expand Up @@ -187,17 +187,14 @@ private void PlanetoidDBForm_Load(object sender, EventArgs e)
arrComputerName.Add(strComputerName);
arrFlags.Add(strFlags);
arrDesgnName.Add(strDesgnName);
arrObsLastDate.Add(doubleObsLastDate);
arrObsLastDate.Add(doubleObsLastDate);*/

}
}
}
sr.Close();
formSplashScreen.Close();



/*for (int i = 0; i < arrDB.Count; i++)
for (int i = 0; i < arrDB.Count; i++)
{
strIndex = arrDB[i].ToString().Substring(0, 7); strIndex = strIndex.Trim();
strMagAbs = arrDB[i].ToString().Substring(8, 5); strMagAbs = strMagAbs.Trim();
Expand Down Expand Up @@ -253,7 +250,15 @@ private void PlanetoidDBForm_Load(object sender, EventArgs e)
arrFlags.Add(strFlags);
arrDesgnName.Add(strDesgnName);
arrObsLastDate.Add(strObsLastDate);
}*/

float percent = 100 * i / (arrDB.Count - 1);
step = (int)percent;
formSplashScreen.setProgressbar(step);
}

formSplashScreen.Close();
arrDB.Clear();


numericUpDownGotoIndex.Minimum = 1;
numericUpDownGotoIndex.Maximum = arrIndex.Count;
Expand Down
4 changes: 2 additions & 2 deletions PlanetoidDB/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.2.7")]
[assembly: AssemblyFileVersion("0.0.2.7")]
[assembly: AssemblyVersion("0.0.3.8")]
[assembly: AssemblyFileVersion("0.0.3.8")]

0 comments on commit 1392251

Please sign in to comment.