Skip to content

Commit

Permalink
Build n.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Plenyx committed Apr 15, 2019
1 parent 1e2b6d8 commit 73006a4
Show file tree
Hide file tree
Showing 10 changed files with 4,894 additions and 436 deletions.
97 changes: 97 additions & 0 deletions FormDPSReportServer.Designer.cs

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

31 changes: 31 additions & 0 deletions FormDPSReportServer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using System.Windows.Forms;

namespace PlenBotLogUploader
{
public partial class FormDPSReportServer : Form
{
// fields
private FormMain mainLink;

public FormDPSReportServer(FormMain mainLink)
{
this.mainLink = mainLink;
InitializeComponent();
}

private void FormDPSReportServer_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
Hide();
mainLink.RegistryAccess.SetValue("dpsReportServer", (radioButtonA.Checked) ? 1 : 0);
if (radioButtonA.Checked)
{
mainLink.DPSReportServer = "a.dps.report";
}
else
{
mainLink.DPSReportServer = "dps.report";
}
}
}
}
Loading

0 comments on commit 73006a4

Please sign in to comment.