summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spedytor/Form1.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/spedytor/Form1.cs b/spedytor/Form1.cs
index 1b2afe2..7742c3f 100644
--- a/spedytor/Form1.cs
+++ b/spedytor/Form1.cs
@@ -194,7 +194,7 @@ namespace spedytor
bTimer.Image = spedytor.Properties.Resources.stop;
bTimer.Text = "Zatrzymaj";
this.setControlState(false, bTimer);
- tInterval_Tick(null, null);
+ tInterval_Tick(this.bTimer, null);
}
else
{
@@ -222,7 +222,7 @@ namespace spedytor
string filePath = Path.Combine(this.repeatFilePath, dbName + DateTime.Now.ToString("-yyyyMMdd-HHmmss") + ".sql");
threadList.Add(this.invokeSave(filePath, dbName, false));
}
- if (e == null) // programmatic invoke, not actual button click
+ if (sender == null) // programmatic invoke, not actual button click
{
foreach (Thread t in threadList)
{