Пример #1
0
 private void startServer()
 {
     simpleServer = new SimpleHTTPServer(txtRootDirectory.Text, (int)numPort.Value, !isAdmin, settings.UseCustomPrefixes, settings.CustomPrefixes);
     showNotification("WebServer listening " + (isAdmin?"":"locally") + " on port " + numPort.Value.ToString(), ToolTipIcon.Info, 3000);
     toolStripServerStatus.Text = "Server Status : Listening " + (isAdmin ? "" : "locally") + " on port " + numPort.Value.ToString();
 }
Пример #2
0
 private void startServer()
 {
     simpleServer = new SimpleHTTPServer(txtRootDirectory.Text, (int)numPort.Value, !isAdmin, settings.UseCustomPrefixes, settings.CustomPrefixes);
     showNotification("WebServer listening " + (isAdmin?"":"locally") + " on port " + numPort.Value.ToString(), ToolTipIcon.Info, 3000);
     toolStripServerStatus.Text = "Server Status : Listening " + (isAdmin ? "" : "locally") + " on port " + numPort.Value.ToString();
 }