Skip to content

Commit

Permalink
update pins
Browse files Browse the repository at this point in the history
  • Loading branch information
SK21 committed Jan 10, 2024
1 parent ee6e34a commit 695fcf7
Show file tree
Hide file tree
Showing 17 changed files with 13 additions and 8 deletions.
Binary file modified RateAppSource/RateController/Resources/Pins.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions RateAppSource/RateController/frmModule.Designer.cs

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

16 changes: 10 additions & 6 deletions RateAppSource/RateController/frmModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ private void btnSave_Click(object sender, EventArgs e)
{
try
{
File.WriteAllText(mf.Tls.FilesDir() + "\\Ethernet.txt", tbEthernet.Text);
File.WriteAllText(mf.Tls.FilesDir() + "\\Serial.txt", tbSerial.Text);
File.WriteAllText(mf.Tls.FilesDir() + "\\Activity.txt", tbActivity.Text);
File.WriteAllText(mf.Tls.FilesDir() + "\\Errors.txt", tbErrors.Text);
File.WriteAllText(mf.Tls.FilesDir() + "\\Ethernet Log.txt", tbEthernet.Text);
File.WriteAllText(mf.Tls.FilesDir() + "\\Serial Log.txt", tbSerial.Text);
mf.Tls.ShowHelp("File saved.", "Save", 10000);
}
catch (Exception ex)
Expand All @@ -46,6 +44,14 @@ private void btnSave_Click(object sender, EventArgs e)
}
}

private void btnSave_HelpRequested(object sender, HelpEventArgs hlpevent)
{
string Message = "Save information to file.";

mf.Tls.ShowHelp(Message, "Save");
hlpevent.Handled = true;
}

private void btnStart_Click(object sender, EventArgs e)
{
if (FreezeUpdate)
Expand Down Expand Up @@ -142,8 +148,6 @@ private void UpdateLogs()
tbErrors.Text = mf.Tls.ReadTextFile("Error Log.txt");
tbErrors.Select(tbErrors.Text.Length, 0);
tbErrors.ScrollToCaret();
//tbErrors.SelectionStart= tbErrors.Text.Length;
//tbErrors.SelectionLength = 0;
}
}
}
4 changes: 2 additions & 2 deletions RateAppSource/RateController/frmPins.Designer.cs

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

Binary file not shown.
Binary file not shown.
Binary file modified RateAppSource/RateController/obj/Debug/RateController.exe
Binary file not shown.
Binary file modified RateAppSource/RateController/obj/Debug/RateController.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified RateControllerApp/RateController.exe
Binary file not shown.
Binary file modified RateControllerApp/de/RateController.resources.dll
Binary file not shown.
Binary file modified RateControllerApp/fr/RateController.resources.dll
Binary file not shown.
Binary file modified RateControllerApp/hu/RateController.resources.dll
Binary file not shown.
Binary file modified RateControllerApp/nl/RateController.resources.dll
Binary file not shown.
Binary file modified RateControllerApp/pl/RateController.resources.dll
Binary file not shown.
Binary file modified RateControllerApp/ru/RateController.resources.dll
Binary file not shown.

0 comments on commit 695fcf7

Please sign in to comment.