From ddf35c84987e31d58c244dd01def9ae0aeb66d31 Mon Sep 17 00:00:00 2001 From: Dmitri Suvorov Date: Sat, 5 Sep 2015 17:39:29 +0300 Subject: [PATCH] Fixed typos --- ScreenTask/frmMain.Designer.cs | 6 +++--- ScreenTask/frmMain.cs | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ScreenTask/frmMain.Designer.cs b/ScreenTask/frmMain.Designer.cs index d088038..0b4a40a 100644 --- a/ScreenTask/frmMain.Designer.cs +++ b/ScreenTask/frmMain.Designer.cs @@ -272,7 +272,7 @@ private void InitializeComponent() this.txtURL.ReadOnly = true; this.txtURL.Size = new System.Drawing.Size(338, 20); this.txtURL.TabIndex = 17; - this.txtURL.Text = "the URL will displayed here after starting the server..."; + this.txtURL.Text = "the URL will be displayed here after starting the server..."; // // label1 // @@ -304,7 +304,7 @@ private void InitializeComponent() this.cbScreenshotEvery.Name = "cbScreenshotEvery"; this.cbScreenshotEvery.Size = new System.Drawing.Size(144, 17); this.cbScreenshotEvery.TabIndex = 29; - this.cbScreenshotEvery.Text = "Take Screenshot Every :"; + this.cbScreenshotEvery.Text = "Take Screenshots Every :"; this.cbScreenshotEvery.UseVisualStyleBackColor = false; this.cbScreenshotEvery.CheckedChanged += new System.EventHandler(this.cbScreenshotEvery_CheckedChanged); // @@ -316,7 +316,7 @@ private void InitializeComponent() this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(61, 13); this.label6.TabIndex = 31; - this.label6.Text = "Mellisecond"; + this.label6.Text = "Milliseconds"; // // numShotEvery // diff --git a/ScreenTask/frmMain.cs b/ScreenTask/frmMain.cs index 28e41ea..3290e50 100644 --- a/ScreenTask/frmMain.cs +++ b/ScreenTask/frmMain.cs @@ -51,7 +51,7 @@ private async void btnStartServer_Click(object sender, EventArgs e) btnStartServer.Text = "Start Server"; isWorking = false; isTakingScreenshots = false; - Log("Server Stoped."); + Log("Server Stopped."); return; } @@ -92,7 +92,7 @@ private async Task StartServer() //serv.Prefixes.Add("http://*:" + numPort.Value.ToString() + "/"); // Uncomment this to Allow Public IP Over Internet. [Commented for Security Reasons.] serv.Prefixes.Add(url + "/"); serv.Start(); - Log("Server Started Successfuly!"); + Log("Server Started Successfully!"); Log("Private Network URL : " + url); Log("Localhost URL : " + "http://localhost:" + numPort.Value.ToString() + "/"); while (isWorking) @@ -173,7 +173,7 @@ private async Task StartServer() rwl.ReleaseReaderLock(); var fileinfo = new FileInfo(page); - if (fileinfo.Extension == ".css") // important for IE -> Content-Type must be defiend for CSS files unless will ignored !!! + if (fileinfo.Extension == ".css") // important for IE -> Content-Type must be defiend for CSS files unless will be ignored !!! ctx.Response.ContentType = "text/css"; else if (fileinfo.Extension == ".html" || fileinfo.Extension == ".htm") ctx.Response.ContentType = "text/html"; // Important For Chrome Otherwise will display the HTML as plain text. @@ -336,7 +336,7 @@ private void btnStopServer_Click(object sender, EventArgs e) isTakingScreenshots = false; btnStartServer.Enabled = true; btnStopServer.Enabled = false; - Log("Server Stoped."); + Log("Server Stopped."); } private void cbPrivate_CheckedChanged(object sender, EventArgs e)