diff --git a/.gitignore b/.gitignore
index 463e3995..7ef7e873 100644
--- a/.gitignore
+++ b/.gitignore
@@ -190,3 +190,4 @@ FakesAssemblies/
# Visual Studio 6 workspace options file
*.opt
+.vs/
\ No newline at end of file
diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config
deleted file mode 100644
index c2abfb48..00000000
--- a/.vs/config/applicationhost.config
+++ /dev/null
@@ -1,1030 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/README.md b/README.md
index dc5f4b10..84e4f96a 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
# nUpdate - .NET Update Solution
-[![Release](https://img.shields.io/badge/release-v3.1.8-blue.svg)](https://github.com/ProgTrade/nUpdate/releases)
-[![NuGet](https://img.shields.io/badge/nuget%20nUpdate.ProvideTAP-v3.1.8-red.svg)](https://www.nuget.org/packages/nUpdate.ProvideTAP/)
-[![NuGet](https://img.shields.io/badge/nuget%20nUpdate.WithoutTAP-v3.1.8-red.svg)](https://www.nuget.org/packages/nUpdate.WithoutTAP/)
+[![Release](https://img.shields.io/badge/release-v/pseminardemo/-blue.svg)](https://github.com/ProgTrade/nUpdate/releases)
+[![NuGet](https://img.shields.io/badge/nuget%20nUpdate.ProvideTAP-v3.2-red.svg)](https://www.nuget.org/packages/nUpdate.ProvideTAP/)
+[![NuGet](https://img.shields.io/badge/nuget%20nUpdate.WithoutTAP-v3.2-red.svg)](https://www.nuget.org/packages/nUpdate.WithoutTAP/)
[![Issues](https://img.shields.io/github/issues/ProgTrade/nUpdate.svg)](https://github.com/ProgTrade/nUpdate/issues)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/ProgTrade/nUpdate/master/LICENSE)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dominic%2ebeger%40hotmail%2ede&lc=DE&item_name=nUpdate&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest)
@@ -39,13 +39,13 @@ You can get the necessary libraries and applications from the current [releases]
If you want to use nUpdate with the Taskbased Asynchronous Pattern including `async` and `await`, then install this package:
```
-PM> Install-Package nUpdate.ProvideTAP -Version 3.1.8
+PM> Install-Package nUpdate.ProvideTAP -Version 3.2
```
Otherwise, if you want to use the Eventbased Asynchronous Pattern only, make sure to install this package:
```
-PM> Install-Package nUpdate.WithoutTAP -Version 3.1.8
+PM> Install-Package nUpdate.WithoutTAP -Version 3.2
```
## Web
diff --git a/nUpdate.Administration/Core/Application/UpdateProject.cs b/nUpdate.Administration/Core/Application/UpdateProject.cs
index bfeb2412..685380df 100644
--- a/nUpdate.Administration/Core/Application/UpdateProject.cs
+++ b/nUpdate.Administration/Core/Application/UpdateProject.cs
@@ -5,7 +5,7 @@
using System.IO;
using System.Net;
using nUpdate.Administration.Core.History;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
using Starksoft.Aspen.Ftps;
namespace nUpdate.Administration.Core.Application
diff --git a/nUpdate.Administration/Core/Operations/Panels/FileDeleteOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/FileDeleteOperationPanel.cs
index 64977b2e..eefc8ffc 100644
--- a/nUpdate.Administration/Core/Operations/Panels/FileDeleteOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/FileDeleteOperationPanel.cs
@@ -6,7 +6,7 @@
using System.Linq;
using System.Windows.Forms;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/FileRenameOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/FileRenameOperationPanel.cs
index aca4bf8e..5db4dc92 100644
--- a/nUpdate.Administration/Core/Operations/Panels/FileRenameOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/FileRenameOperationPanel.cs
@@ -6,7 +6,7 @@
using System.Windows.Forms;
using nUpdate.Administration.UI.Controls;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/IOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/IOperationPanel.cs
index 82af6316..03b6de7a 100644
--- a/nUpdate.Administration/Core/Operations/Panels/IOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/IOperationPanel.cs
@@ -1,6 +1,6 @@
// Author: Dominic Beger (Trade/ProgTrade) 2016
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/ProcessStartOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/ProcessStartOperationPanel.cs
index 7454db65..4096eeb3 100644
--- a/nUpdate.Administration/Core/Operations/Panels/ProcessStartOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/ProcessStartOperationPanel.cs
@@ -4,7 +4,7 @@
using System.Drawing;
using System.Windows.Forms;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/ProcessStopOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/ProcessStopOperationPanel.cs
index a67f0a8d..ce08b047 100644
--- a/nUpdate.Administration/Core/Operations/Panels/ProcessStopOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/ProcessStopOperationPanel.cs
@@ -4,7 +4,7 @@
using System.Drawing;
using System.Windows.Forms;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/RegistryDeleteValueOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/RegistryDeleteValueOperationPanel.cs
index 9d3f0f6e..0ee63661 100644
--- a/nUpdate.Administration/Core/Operations/Panels/RegistryDeleteValueOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/RegistryDeleteValueOperationPanel.cs
@@ -4,7 +4,7 @@
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.Designer.cs b/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.Designer.cs
index c47e4679..c058b913 100644
--- a/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.Designer.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.Core.Operations.Panels
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.Core.Operations.Panels
{
partial class RegistrySetValueOperationPanel
{
@@ -48,7 +50,7 @@ private void InitializeComponent()
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.label4 = new System.Windows.Forms.Label();
this.nameTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
@@ -224,7 +226,7 @@ private void InitializeComponent()
//
// line1
//
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(2, 41);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(455, 13);
@@ -285,6 +287,6 @@ private void InitializeComponent()
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.Label label4;
private UI.Controls.CueTextBox nameTextBox;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
}
}
diff --git a/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.cs
index 16bdb311..36aa2d7f 100644
--- a/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/RegistrySetValueOperationPanel.cs
@@ -5,7 +5,7 @@
using System.Linq;
using System.Windows.Forms;
using Microsoft.Win32;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyCreateOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyCreateOperationPanel.cs
index 87b8b50e..a3556081 100644
--- a/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyCreateOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyCreateOperationPanel.cs
@@ -4,7 +4,7 @@
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyDeleteOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyDeleteOperationPanel.cs
index 7482a190..358e8c39 100644
--- a/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyDeleteOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/RegistrySubKeyDeleteOperationPanel.cs
@@ -4,7 +4,7 @@
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/ScriptExecuteOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/ScriptExecuteOperationPanel.cs
index ab4cd761..590449e4 100644
--- a/nUpdate.Administration/Core/Operations/Panels/ScriptExecuteOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/ScriptExecuteOperationPanel.cs
@@ -10,7 +10,7 @@
using System.Windows.Forms;
using FastColoredTextBoxNS;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/ServiceStartOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/ServiceStartOperationPanel.cs
index 148759dd..3ad02f94 100644
--- a/nUpdate.Administration/Core/Operations/Panels/ServiceStartOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/ServiceStartOperationPanel.cs
@@ -3,7 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/Operations/Panels/ServiceStopOperationPanel.cs b/nUpdate.Administration/Core/Operations/Panels/ServiceStopOperationPanel.cs
index e7f52d90..236f0254 100644
--- a/nUpdate.Administration/Core/Operations/Panels/ServiceStopOperationPanel.cs
+++ b/nUpdate.Administration/Core/Operations/Panels/ServiceStopOperationPanel.cs
@@ -1,7 +1,7 @@
// Author: Dominic Beger (Trade/ProgTrade) 2016
using System.Windows.Forms;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core.Operations;
namespace nUpdate.Administration.Core.Operations.Panels
{
diff --git a/nUpdate.Administration/Core/ProjectConfiguration.cs b/nUpdate.Administration/Core/ProjectConfiguration.cs
index 1c478094..0cab27d1 100644
--- a/nUpdate.Administration/Core/ProjectConfiguration.cs
+++ b/nUpdate.Administration/Core/ProjectConfiguration.cs
@@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
namespace nUpdate.Administration.Core
{
diff --git a/nUpdate.Administration/Program.cs b/nUpdate.Administration/Program.cs
index 9314e4b6..8e9cf400 100644
--- a/nUpdate.Administration/Program.cs
+++ b/nUpdate.Administration/Program.cs
@@ -54,7 +54,7 @@ public static class Program
///
/// The version string shown in all dialog titles.
///
- public static string VersionString => "nUpdate Administration v3.1.8";
+ public static string VersionString => "nUpdate Administration v3.2.0";
public static string AesKeyPassword => "VZh7mLRPNI";
public static string AesIvPassword => "cOijH2vgwR";
diff --git a/nUpdate.Administration/Properties/AssemblyInfo.cs b/nUpdate.Administration/Properties/AssemblyInfo.cs
index ffa22ec9..eb028065 100644
--- a/nUpdate.Administration/Properties/AssemblyInfo.cs
+++ b/nUpdate.Administration/Properties/AssemblyInfo.cs
@@ -38,6 +38,6 @@
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.1.8.0")]
-[assembly: AssemblyFileVersion("3.1.8.0")]
+[assembly: AssemblyVersion("3.2.0.0")]
+[assembly: AssemblyFileVersion("3.2.0.0")]
[assembly: NeutralResourcesLanguage("")]
\ No newline at end of file
diff --git a/nUpdate.Administration/UI/Dialogs/CredentialsDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/CredentialsDialog.Designer.cs
index ec3a7cab..14b1d881 100644
--- a/nUpdate.Administration/UI/Dialogs/CredentialsDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/CredentialsDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class CredentialsDialog
{
@@ -35,7 +37,7 @@ private void InitializeComponent()
this.ftpPasswordLabel = new System.Windows.Forms.Label();
this.proxyPasswordLabel = new System.Windows.Forms.Label();
this.continueButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.cancelButton = new System.Windows.Forms.Button();
this.controlPanel1.SuspendLayout();
this.SuspendLayout();
@@ -148,7 +150,7 @@ private void InitializeComponent()
#endregion
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button continueButton;
private System.Windows.Forms.Label headerLabel;
private System.Windows.Forms.TextBox usernameTextBox;
diff --git a/nUpdate.Administration/UI/Dialogs/DirectorySearchDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/DirectorySearchDialog.Designer.cs
index 210b62ae..c04b37ae 100644
--- a/nUpdate.Administration/UI/Dialogs/DirectorySearchDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/DirectorySearchDialog.Designer.cs
@@ -1,4 +1,6 @@
using System.Windows.Forms;
+using nUpdate.Internal.UI.Controls;
+
namespace nUpdate.Administration.UI.Dialogs
{
partial class DirectorySearchDialog
@@ -34,7 +36,7 @@ private void InitializeComponent()
this.serverImageList = new System.Windows.Forms.ImageList(this.components);
this.continueButton = new System.Windows.Forms.Button();
this.cancelButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.backButton = new ExplorerNavigationButton.ExplorerNavigationButton();
this.forwardButton = new ExplorerNavigationButton.ExplorerNavigationButton();
this.serverDataTreeView = new nUpdate.Administration.UI.Controls.ExplorerTreeView();
@@ -256,7 +258,7 @@ private void InitializeComponent()
#endregion
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Button continueButton;
private System.Windows.Forms.ImageList serverImageList;
diff --git a/nUpdate.Administration/UI/Dialogs/FeedbackDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/FeedbackDialog.Designer.cs
index 9ecc2e60..f168e962 100644
--- a/nUpdate.Administration/UI/Dialogs/FeedbackDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/FeedbackDialog.Designer.cs
@@ -1,4 +1,5 @@
using nUpdate.Administration.UI.Controls;
+using nUpdate.Internal.UI.Controls;
namespace nUpdate.Administration.UI.Dialogs
{
@@ -36,7 +37,7 @@ private void InitializeComponent()
this.nameTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
this.emailTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
this.contentTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
- this.cpnl = new nUpdate.UI.Controls.BottomPanel();
+ this.cpnl = new BottomPanel();
this.headerLabel = new System.Windows.Forms.Label();
this.cpnl.SuspendLayout();
this.SuspendLayout();
@@ -142,7 +143,7 @@ private void InitializeComponent()
#endregion
- private nUpdate.UI.Controls.BottomPanel cpnl;
+ private BottomPanel cpnl;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Button sendButton;
private CueTextBox contentTextBox;
diff --git a/nUpdate.Administration/UI/Dialogs/FeedbackDialog.cs b/nUpdate.Administration/UI/Dialogs/FeedbackDialog.cs
index 34ecb606..dc5e5bba 100644
--- a/nUpdate.Administration/UI/Dialogs/FeedbackDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/FeedbackDialog.cs
@@ -5,7 +5,7 @@
using System.Net.Mail;
using nUpdate.Administration.Core;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
namespace nUpdate.Administration.UI.Dialogs
{
diff --git a/nUpdate.Administration/UI/Dialogs/FtpAssemblyInputDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/FtpAssemblyInputDialog.Designer.cs
index c574df28..7058e582 100644
--- a/nUpdate.Administration/UI/Dialogs/FtpAssemblyInputDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/FtpAssemblyInputDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class FtpAssemblyInputDialog
{
@@ -31,7 +33,7 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FtpAssemblyInputDialog));
this.assemblyFilePathTextBox = new nUpdate.Administration.UI.Controls.ButtonTextBox();
this.label1 = new System.Windows.Forms.Label();
- this.bottomPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.bottomPanel1 = new BottomPanel();
this.cancelButton = new System.Windows.Forms.Button();
this.continueButton = new System.Windows.Forms.Button();
this.bottomPanel1.SuspendLayout();
@@ -113,7 +115,7 @@ private void InitializeComponent()
private Controls.ButtonTextBox assemblyFilePathTextBox;
private System.Windows.Forms.Label label1;
- private nUpdate.UI.Controls.BottomPanel bottomPanel1;
+ private BottomPanel bottomPanel1;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Button continueButton;
}
diff --git a/nUpdate.Administration/UI/Dialogs/InfoDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/InfoDialog.Designer.cs
index ecde6b49..8899aa15 100644
--- a/nUpdate.Administration/UI/Dialogs/InfoDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/InfoDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class InfoDialog
{
@@ -31,9 +33,9 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InfoDialog));
this.closeButton = new System.Windows.Forms.Button();
this.donatePictureBox = new System.Windows.Forms.PictureBox();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
this.label13 = new System.Windows.Forms.Label();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.websiteLinkLabel = new System.Windows.Forms.LinkLabel();
this.label12 = new System.Windows.Forms.Label();
this.ll_github = new System.Windows.Forms.LinkLabel();
@@ -50,7 +52,7 @@ private void InitializeComponent()
this.copyrightLabel = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.headerLabel = new System.Windows.Forms.Label();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.label1 = new System.Windows.Forms.Label();
this.dotNetZipLinkLabel = new System.Windows.Forms.LinkLabel();
this.jsonNetLinkLabel = new System.Windows.Forms.LinkLabel();
@@ -90,7 +92,7 @@ private void InitializeComponent()
//
// line1
//
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(17, 157);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(401, 14);
@@ -105,7 +107,7 @@ private void InitializeComponent()
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(75, 13);
this.label13.TabIndex = 20;
- this.label13.Text = "v3.1.8";
+ this.label13.Text = "v3.2.0";
//
// controlPanel1
//
@@ -287,7 +289,7 @@ private void InitializeComponent()
//
// line2
//
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(21, 273);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(397, 10);
@@ -484,12 +486,12 @@ private void InitializeComponent()
private System.Windows.Forms.LinkLabel ll_github;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.LinkLabel websiteLinkLabel;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button closeButton;
private System.Windows.Forms.Label label13;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private System.Windows.Forms.PictureBox donatePictureBox;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.LinkLabel dotNetZipLinkLabel;
private System.Windows.Forms.LinkLabel jsonNetLinkLabel;
diff --git a/nUpdate.Administration/UI/Dialogs/JsonEditorDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/JsonEditorDialog.Designer.cs
index cd0a7e4f..62caa24a 100644
--- a/nUpdate.Administration/UI/Dialogs/JsonEditorDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/JsonEditorDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class JsonEditorDialog
{
@@ -34,7 +36,7 @@ private void InitializeComponent()
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(JsonEditorDialog));
this.codeTextBox = new FastColoredTextBoxNS.FastColoredTextBox();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.cancelButton = new System.Windows.Forms.Button();
this.saveLanguageButton = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.codeTextBox)).BeginInit();
@@ -140,7 +142,7 @@ private void InitializeComponent()
#endregion
private FastColoredTextBoxNS.FastColoredTextBox codeTextBox;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button saveLanguageButton;
private System.Windows.Forms.Button cancelButton;
diff --git a/nUpdate.Administration/UI/Dialogs/MainDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/MainDialog.Designer.cs
index ecbeac16..f226da83 100644
--- a/nUpdate.Administration/UI/Dialogs/MainDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/MainDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class MainDialog
{
@@ -39,7 +41,7 @@ private void InitializeComponent()
this.sectionsListView = new nUpdate.Administration.UI.Controls.ExplorerListView();
this.itemName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.itemDescription = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
@@ -105,7 +107,7 @@ private void InitializeComponent()
//
// line1
//
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
resources.ApplyResources(this.line1, "line1");
this.line1.Name = "line1";
//
@@ -142,7 +144,7 @@ private void InitializeComponent()
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label headerLabel;
private System.Windows.Forms.Label infoLabel;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private UI.Controls.ExplorerListView sectionsListView;
private System.Windows.Forms.ColumnHeader itemName;
private System.Windows.Forms.ColumnHeader itemDescription;
diff --git a/nUpdate.Administration/UI/Dialogs/MainDialog.cs b/nUpdate.Administration/UI/Dialogs/MainDialog.cs
index 8dcf17f3..1785345a 100644
--- a/nUpdate.Administration/UI/Dialogs/MainDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/MainDialog.cs
@@ -12,7 +12,7 @@
using nUpdate.Administration.Core.Localization;
using nUpdate.Administration.Properties;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
namespace nUpdate.Administration.UI.Dialogs
{
diff --git a/nUpdate.Administration/UI/Dialogs/NewProjectDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/NewProjectDialog.Designer.cs
index 7dbf5549..f52ac658 100644
--- a/nUpdate.Administration/UI/Dialogs/NewProjectDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/NewProjectDialog.Designer.cs
@@ -1,4 +1,5 @@
using nUpdate.Administration.UI.Controls;
+using nUpdate.Internal.UI.Controls;
namespace nUpdate.Administration.UI.Dialogs
{
@@ -34,7 +35,7 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewProjectDialog));
this.continueButton = new System.Windows.Forms.Button();
this.cancelButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.backButton = new System.Windows.Forms.Button();
this.informationCategoriesTabControl = new nUpdate.Administration.UI.Controls.TablessTabControl();
this.keyPairTabPage = new System.Windows.Forms.TabPage();
@@ -71,7 +72,7 @@ private void InitializeComponent()
this.ftpImportButton = new System.Windows.Forms.Button();
this.securityInfoButton = new System.Windows.Forms.Button();
this.searchOnServerButton = new System.Windows.Forms.Button();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
this.ftpProtocolComboBox = new System.Windows.Forms.ComboBox();
this.ftpProtocolLabel = new System.Windows.Forms.Label();
this.ftpModeComboBox = new System.Windows.Forms.ComboBox();
@@ -88,7 +89,7 @@ private void InitializeComponent()
this.ftpHostLabel = new System.Windows.Forms.Label();
this.ftpHeaderLabel = new System.Windows.Forms.Label();
this.statisticsServerTabPage = new System.Windows.Forms.TabPage();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.selectServerButton = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.doNotUseStatisticsServerButton = new System.Windows.Forms.RadioButton();
@@ -420,7 +421,7 @@ private void InitializeComponent()
//
// line1
//
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
resources.ApplyResources(this.line1, "line1");
this.line1.Name = "line1";
//
@@ -537,7 +538,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.SystemColors.Window;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
resources.ApplyResources(this.line2, "line2");
this.line2.Name = "line2";
//
@@ -768,7 +769,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label ftpHostLabel;
private System.Windows.Forms.Label ftpHeaderLabel;
private CueTextBox nameTextBox;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.TextBox ftpPasswordTextBox;
private CueTextBox ftpUserTextBox;
private CueTextBox ftpHostTextBox;
@@ -807,7 +808,7 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox sqlPasswordTextBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label3;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.Button selectServerButton;
private System.Windows.Forms.Label databaseNameLabel;
private System.Windows.Forms.Button continueButton;
@@ -826,7 +827,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label5;
private System.Windows.Forms.ComboBox ipVersionComboBox;
private System.Windows.Forms.Label ipVersionLabel;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private System.Windows.Forms.TabPage httpAuthenticationTabPage;
private System.Windows.Forms.Panel httpAuthenticationPanel;
private CueTextBox httpAuthenticationPasswordTextBox;
diff --git a/nUpdate.Administration/UI/Dialogs/NewProjectDialog.cs b/nUpdate.Administration/UI/Dialogs/NewProjectDialog.cs
index d8412b08..331e3705 100644
--- a/nUpdate.Administration/UI/Dialogs/NewProjectDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/NewProjectDialog.cs
@@ -16,7 +16,7 @@
using nUpdate.Administration.Core.Application;
using nUpdate.Administration.Properties;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
using Starksoft.Aspen.Ftps;
namespace nUpdate.Administration.UI.Dialogs
diff --git a/nUpdate.Administration/UI/Dialogs/PackageAddDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/PackageAddDialog.Designer.cs
index e796150b..81e74a6c 100644
--- a/nUpdate.Administration/UI/Dialogs/PackageAddDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/PackageAddDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class PackageAddDialog
{
@@ -90,18 +92,18 @@ private void InitializeComponent()
this.loadingLabel = new System.Windows.Forms.Label();
this.createButton = new System.Windows.Forms.Button();
this.cancelButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.categoryTabControl = new nUpdate.Administration.UI.Controls.TablessTabControl();
this.generalTabPage = new System.Windows.Forms.TabPage();
this.generalPanel = new System.Windows.Forms.Panel();
this.includeIntoStatisticsInfoLabel = new System.Windows.Forms.Label();
this.includeIntoStatisticsCheckBox = new System.Windows.Forms.CheckBox();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.developmentBuildNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.necessaryUpdateInfoLabel = new System.Windows.Forms.Label();
this.necessaryUpdateCheckBox = new System.Windows.Forms.CheckBox();
- this.line3 = new nUpdate.UI.Controls.Line();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line3 = new Line();
+ this.line1 = new Line();
this.architectureInfoLabel = new System.Windows.Forms.Label();
this.buildNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.descriptionLabel = new System.Windows.Forms.Label();
@@ -402,7 +404,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.SystemColors.Window;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(9, 323);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(437, 10);
@@ -442,7 +444,7 @@ private void InitializeComponent()
// line3
//
this.line3.BackColor = System.Drawing.SystemColors.Window;
- this.line3.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line3.LineAlignment = Line.Alignment.Horizontal;
this.line3.Location = new System.Drawing.Point(10, 231);
this.line3.Name = "line3";
this.line3.Size = new System.Drawing.Size(437, 10);
@@ -452,7 +454,7 @@ private void InitializeComponent()
// line1
//
this.line1.BackColor = System.Drawing.SystemColors.Window;
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(7, 153);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(437, 14);
@@ -1414,18 +1416,18 @@ private void InitializeComponent()
private System.Windows.Forms.Panel loadingPanel;
private System.Windows.Forms.Label loadingLabel;
private System.Windows.Forms.PictureBox pictureBox1;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private Controls.ExplorerTreeView categoryTreeView;
private System.Windows.Forms.ImageList categoryImageList;
private System.Windows.Forms.Label necessaryUpdateInfoLabel;
private System.Windows.Forms.CheckBox necessaryUpdateCheckBox = new System.Windows.Forms.CheckBox();
- private nUpdate.UI.Controls.Line line3;
+ private Line line3;
private Controls.ExplorerListView operationsListView;
private System.Windows.Forms.ColumnHeader itemName;
private System.Windows.Forms.ColumnHeader Description;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private Controls.ExplorerTreeView filesDataTreeView;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.NumericUpDown developmentBuildNumericUpDown;
private Controls.TablessTabControl categoryTabControl;
private System.Windows.Forms.TabPage generalTabPage;
@@ -1435,7 +1437,7 @@ private void InitializeComponent()
private System.Windows.Forms.TabPage replaceFilesTabPage;
private System.Windows.Forms.Label includeIntoStatisticsInfoLabel;
private System.Windows.Forms.CheckBox includeIntoStatisticsCheckBox;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.ToolStripComboBox changelogLanguageComboBox;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private Controls.TablessTabControl changelogContentTabControl;
diff --git a/nUpdate.Administration/UI/Dialogs/PackageAddDialog.cs b/nUpdate.Administration/UI/Dialogs/PackageAddDialog.cs
index b7ecdbb6..d26b891c 100644
--- a/nUpdate.Administration/UI/Dialogs/PackageAddDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/PackageAddDialog.cs
@@ -23,7 +23,8 @@
using nUpdate.Administration.UI.Controls;
using nUpdate.Administration.UI.Popups;
using nUpdate.Core;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core;
+using nUpdate.Internal.Core.Operations;
using nUpdate.Updating;
using Starksoft.Aspen.Ftps;
using TransferProgressEventArgs = nUpdate.Administration.TransferInterface.TransferProgressEventArgs;
@@ -951,7 +952,11 @@ private void CreateFilesNode(DirectoryInfo directoryInfo, TreeNode directoryNode
fileNode = new TreeNode(file.Name, 1, 1) {Tag = file.FullName};
else
{
- if (filesImageList.Images.ContainsKey(file.Extension))
+ if (string.IsNullOrEmpty(file.Extension))
+ {
+ fileNode = new TreeNode(file.Name, 1, 1) { Tag = file.FullName };
+ }
+ else if (filesImageList.Images.ContainsKey(file.Extension))
{
var index = filesImageList.Images.IndexOfKey(file.Extension);
fileNode = new TreeNode(file.Name, index, index) {Tag = file.FullName};
@@ -1020,7 +1025,11 @@ private void addFilesButton_Click(object sender, EventArgs e)
{
TreeNode fileNode;
var fileInfo = new FileInfo(fileName);
- if (filesImageList.Images.ContainsKey(fileInfo.Extension))
+ if (string.IsNullOrEmpty(fileInfo.Extension))
+ {
+ fileNode = new TreeNode(fileInfo.Name, 1, 1) { Tag = fileInfo.FullName };
+ }
+ else if (filesImageList.Images.ContainsKey(fileInfo.Extension))
{
var index = filesImageList.Images.IndexOfKey(fileInfo.Extension);
fileNode = new TreeNode(fileInfo.Name, index, index) {Tag = fileInfo.FullName};
diff --git a/nUpdate.Administration/UI/Dialogs/PackageEditDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/PackageEditDialog.Designer.cs
index da98440f..8c3630b4 100644
--- a/nUpdate.Administration/UI/Dialogs/PackageEditDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/PackageEditDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class PackageEditDialog
{
@@ -85,18 +87,18 @@ private void InitializeComponent()
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.loadingLabel = new System.Windows.Forms.Label();
this.categoryTreeView = new nUpdate.Administration.UI.Controls.ExplorerTreeView();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.categoryTabControl = new nUpdate.Administration.UI.Controls.TablessTabControl();
this.generalTabPage = new System.Windows.Forms.TabPage();
this.generalPanel = new System.Windows.Forms.Panel();
this.includeIntoStatisticsInfoLabel = new System.Windows.Forms.Label();
this.includeIntoStatisticsCheckBox = new System.Windows.Forms.CheckBox();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.developmentBuildNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.necessaryUpdateInfoLabel = new System.Windows.Forms.Label();
this.necessaryUpdateCheckBox = new System.Windows.Forms.CheckBox();
- this.line3 = new nUpdate.UI.Controls.Line();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line3 = new Line();
+ this.line1 = new Line();
this.architectureInfoLabel = new System.Windows.Forms.Label();
this.buildNumericUpDown = new System.Windows.Forms.NumericUpDown();
this.descriptionLabel = new System.Windows.Forms.Label();
@@ -402,7 +404,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.SystemColors.Window;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(9, 262);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(437, 10);
@@ -441,7 +443,7 @@ private void InitializeComponent()
// line3
//
this.line3.BackColor = System.Drawing.SystemColors.Window;
- this.line3.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line3.LineAlignment = Line.Alignment.Horizontal;
this.line3.Location = new System.Drawing.Point(10, 170);
this.line3.Name = "line3";
this.line3.Size = new System.Drawing.Size(437, 10);
@@ -451,7 +453,7 @@ private void InitializeComponent()
// line1
//
this.line1.BackColor = System.Drawing.SystemColors.Window;
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(7, 92);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(437, 14);
@@ -1129,13 +1131,13 @@ private void InitializeComponent()
private Controls.ExplorerTreeView categoryTreeView;
private System.Windows.Forms.Label includeIntoStatisticsInfoLabel;
private System.Windows.Forms.CheckBox includeIntoStatisticsCheckBox;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.Panel generalPanel;
private System.Windows.Forms.NumericUpDown developmentBuildNumericUpDown;
private System.Windows.Forms.Label necessaryUpdateInfoLabel;
private System.Windows.Forms.CheckBox necessaryUpdateCheckBox;
- private nUpdate.UI.Controls.Line line3;
- private nUpdate.UI.Controls.Line line1;
+ private Line line3;
+ private Line line1;
private System.Windows.Forms.Label architectureInfoLabel;
private System.Windows.Forms.NumericUpDown buildNumericUpDown;
private System.Windows.Forms.Label descriptionLabel;
@@ -1149,7 +1151,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label devStageLabel;
private System.Windows.Forms.NumericUpDown minorNumericUpDown;
private System.Windows.Forms.TabPage generalTabPage;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button saveButton;
private System.Windows.Forms.Button cancelButton;
private Controls.TablessTabControl categoryTabControl;
diff --git a/nUpdate.Administration/UI/Dialogs/PackageEditDialog.cs b/nUpdate.Administration/UI/Dialogs/PackageEditDialog.cs
index 07c80907..dbc37fea 100644
--- a/nUpdate.Administration/UI/Dialogs/PackageEditDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/PackageEditDialog.cs
@@ -18,8 +18,8 @@
using nUpdate.Administration.Core.Operations.Panels;
using nUpdate.Administration.UI.Controls;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
-using nUpdate.Core.Operations;
+using nUpdate.Internal.Core;
+using nUpdate.Internal.Core.Operations;
using nUpdate.Updating;
using Newtonsoft.Json.Linq;
using Starksoft.Aspen.Ftps;
diff --git a/nUpdate.Administration/UI/Dialogs/PackagesToAffectDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/PackagesToAffectDialog.Designer.cs
index 10eb0bd9..f75124c3 100644
--- a/nUpdate.Administration/UI/Dialogs/PackagesToAffectDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/PackagesToAffectDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class PackagesToAffectDialog
{
@@ -30,7 +32,7 @@ private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PackagesToAffectDialog));
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.cancelButton = new System.Windows.Forms.Button();
this.continueButton = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
@@ -132,7 +134,7 @@ private void InitializeComponent()
#endregion
private System.Windows.Forms.CheckedListBox checkedListBox1;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button continueButton;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Label label4;
diff --git a/nUpdate.Administration/UI/Dialogs/PreferencesDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/PreferencesDialog.Designer.cs
index 923808b2..24baa48a 100644
--- a/nUpdate.Administration/UI/Dialogs/PreferencesDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/PreferencesDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class PreferencesDialog
{
@@ -32,7 +34,7 @@ private void InitializeComponent()
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.saveButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.cancelButton = new System.Windows.Forms.Button();
this.languagesComboBox = new System.Windows.Forms.ComboBox();
this.label7 = new System.Windows.Forms.Label();
@@ -145,7 +147,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button saveButton;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.ComboBox languagesComboBox;
diff --git a/nUpdate.Administration/UI/Dialogs/PreferencesDialog.cs b/nUpdate.Administration/UI/Dialogs/PreferencesDialog.cs
index 5946f78d..7268f481 100644
--- a/nUpdate.Administration/UI/Dialogs/PreferencesDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/PreferencesDialog.cs
@@ -12,7 +12,7 @@
using nUpdate.Administration.Core.Localization;
using nUpdate.Administration.Properties;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
namespace nUpdate.Administration.UI.Dialogs
{
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/ProjectDialog.Designer.cs
index 0b76058b..0d41ed52 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectDialog.Designer.cs
@@ -1,4 +1,5 @@
using nUpdate.Administration.UI.Controls;
+using nUpdate.Internal.UI.Controls;
namespace nUpdate.Administration.UI.Dialogs
{
@@ -45,7 +46,7 @@ private void InitializeComponent()
this.assemblyPathTextBox = new nUpdate.Administration.UI.Controls.ButtonTextBox();
this.label8 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
- this.line5 = new nUpdate.UI.Controls.Line();
+ this.line5 = new Line();
this.label3 = new System.Windows.Forms.Label();
this.stepTwoLabel = new System.Windows.Forms.Label();
this.programmingLanguageComboBox = new System.Windows.Forms.ComboBox();
@@ -55,7 +56,7 @@ private void InitializeComponent()
this.assumeHeader = new System.Windows.Forms.Label();
this.checkingUrlPictureBox = new System.Windows.Forms.PictureBox();
this.tickPictureBox = new System.Windows.Forms.PictureBox();
- this.line3 = new nUpdate.UI.Controls.Line();
+ this.line3 = new Line();
this.newestPackageLabel = new System.Windows.Forms.Label();
this.amountLabel = new System.Windows.Forms.Label();
this.checkUpdateConfigurationLinkLabel = new System.Windows.Forms.LinkLabel();
@@ -70,15 +71,15 @@ private void InitializeComponent()
this.projectIdLabel = new System.Windows.Forms.Label();
this.publicKeyTextBox = new System.Windows.Forms.TextBox();
this.publicKeyLabel = new System.Windows.Forms.Label();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.projectDataHeader = new System.Windows.Forms.Label();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
this.ftpDirectoryLabel = new System.Windows.Forms.Label();
this.ftpHostLabel = new System.Windows.Forms.Label();
this.overviewHeader = new System.Windows.Forms.Label();
this.newestPackageReleasedLabel = new System.Windows.Forms.Label();
this.releasedPackagesAmountLabel = new System.Windows.Forms.Label();
- this.line4 = new nUpdate.UI.Controls.Line();
+ this.line4 = new Line();
this.panel2 = new System.Windows.Forms.Panel();
this.loadFromAssemblyRadioButton = new System.Windows.Forms.RadioButton();
this.enterVersionManuallyRadioButton = new System.Windows.Forms.RadioButton();
@@ -107,7 +108,7 @@ private void InitializeComponent()
this.searchTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
this.statisticsTabPage = new System.Windows.Forms.TabPage();
this.updateStatisticsButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.lastUpdatedLabel = new System.Windows.Forms.Label();
this.chartPanel = new System.Windows.Forms.Panel();
this.gatheringStatisticsPictureBox = new System.Windows.Forms.PictureBox();
@@ -247,7 +248,7 @@ private void InitializeComponent()
// line5
//
this.line5.BackColor = System.Drawing.Color.White;
- this.line5.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line5.LineAlignment = Line.Alignment.Horizontal;
this.line5.Location = new System.Drawing.Point(132, 368);
this.line5.Name = "line5";
this.line5.Size = new System.Drawing.Size(398, 13);
@@ -350,7 +351,7 @@ private void InitializeComponent()
// line3
//
this.line3.BackColor = System.Drawing.Color.White;
- this.line3.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line3.LineAlignment = Line.Alignment.Horizontal;
this.line3.Location = new System.Drawing.Point(25, 167);
this.line3.Name = "line3";
this.line3.Size = new System.Drawing.Size(505, 10);
@@ -496,7 +497,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.Color.White;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(110, 270);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(420, 13);
@@ -518,7 +519,7 @@ private void InitializeComponent()
// line1
//
this.line1.BackColor = System.Drawing.Color.White;
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(144, 24);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(386, 13);
@@ -577,7 +578,7 @@ private void InitializeComponent()
// line4
//
this.line4.BackColor = System.Drawing.Color.White;
- this.line4.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line4.LineAlignment = Line.Alignment.Horizontal;
this.line4.Location = new System.Drawing.Point(101, 532);
this.line4.Name = "line4";
this.line4.Size = new System.Drawing.Size(432, 10);
@@ -1085,9 +1086,9 @@ private void InitializeComponent()
private System.Windows.Forms.Label projectIdLabel;
private System.Windows.Forms.TextBox publicKeyTextBox;
private System.Windows.Forms.Label publicKeyLabel;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.Label projectDataHeader;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private System.Windows.Forms.Label ftpDirectoryLabel;
private System.Windows.Forms.Label ftpHostLabel;
private System.Windows.Forms.Label overviewHeader;
@@ -1099,11 +1100,11 @@ private void InitializeComponent()
private System.Windows.Forms.Label newestPackageLabel;
private System.Windows.Forms.Label amountLabel;
private System.Windows.Forms.LinkLabel checkUpdateConfigurationLinkLabel;
- private nUpdate.UI.Controls.Line line3;
+ private Line line3;
private System.Windows.Forms.PictureBox tickPictureBox;
private System.Windows.Forms.PictureBox checkingUrlPictureBox;
private System.Windows.Forms.Label assumeHeader;
- private nUpdate.UI.Controls.Line line4;
+ private Line line4;
private System.Windows.Forms.Button copySourceButton;
private System.Windows.Forms.Label stepTwoLabel;
private System.Windows.Forms.ComboBox programmingLanguageComboBox;
@@ -1115,7 +1116,7 @@ private void InitializeComponent()
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.Label label2;
- private nUpdate.UI.Controls.Line line5;
+ private Line line5;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TabPage statisticsTabPage;
private System.Windows.Forms.PictureBox pictureBox2;
@@ -1136,7 +1137,7 @@ private void InitializeComponent()
private System.Windows.Forms.ToolTip updateStatisticsButtonToolTip;
private System.Windows.Forms.PictureBox gatheringStatisticsPictureBox;
private System.Windows.Forms.Panel chartPanel;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Label lastUpdatedLabel;
private ButtonTextBox assemblyPathTextBox;
private System.Windows.Forms.ContextMenuStrip packagesContextMenuStrip;
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectDialog.cs b/nUpdate.Administration/UI/Dialogs/ProjectDialog.cs
index d594cea0..89205a03 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectDialog.cs
@@ -22,6 +22,7 @@
using nUpdate.Administration.UI.Controls;
using nUpdate.Administration.UI.Popups;
using nUpdate.Core;
+using nUpdate.Internal.Core;
using nUpdate.Updating;
namespace nUpdate.Administration.UI.Dialogs
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.Designer.cs
index 52b6a339..2719f3b2 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class ProjectEditDialog
{
@@ -38,7 +40,7 @@ private void InitializeComponent()
this.loadingPanel = new System.Windows.Forms.Panel();
this.loadingLabel = new System.Windows.Forms.Label();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.backButton = new System.Windows.Forms.Button();
this.tablessTabControl1 = new nUpdate.Administration.UI.Controls.TablessTabControl();
this.generalTabPage = new System.Windows.Forms.TabPage();
@@ -69,7 +71,7 @@ private void InitializeComponent()
this.ftpImportButton = new System.Windows.Forms.Button();
this.securityInfoButton = new System.Windows.Forms.Button();
this.searchOnServerButton = new System.Windows.Forms.Button();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
this.ftpProtocolComboBox = new System.Windows.Forms.ComboBox();
this.ftpProtocolLabel = new System.Windows.Forms.Label();
this.ftpModeComboBox = new System.Windows.Forms.ComboBox();
@@ -86,7 +88,7 @@ private void InitializeComponent()
this.ftpHostLabel = new System.Windows.Forms.Label();
this.ftpHeaderLabel = new System.Windows.Forms.Label();
this.statisticsServerTabPage = new System.Windows.Forms.TabPage();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.selectServerButton = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.doNotUseStatisticsServerButton = new System.Windows.Forms.RadioButton();
@@ -537,7 +539,7 @@ private void InitializeComponent()
//
// line1
//
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(14, 136);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(419, 10);
@@ -721,7 +723,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.SystemColors.Window;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(5, 117);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(481, 10);
@@ -1015,7 +1017,7 @@ private void InitializeComponent()
#endregion
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.Button selectServerButton;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.RadioButton doNotUseStatisticsServerButton;
@@ -1029,7 +1031,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Button securityInfoButton;
private System.Windows.Forms.Button searchOnServerButton;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private System.Windows.Forms.ComboBox ftpProtocolComboBox;
private System.Windows.Forms.Label ftpProtocolLabel;
private System.Windows.Forms.ComboBox ftpModeComboBox;
@@ -1055,7 +1057,7 @@ private void InitializeComponent()
private Controls.CueTextBox ftpPortTextBox;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Button continueButton;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button backButton;
private Controls.TablessTabControl tablessTabControl1;
private System.Windows.Forms.TabPage generalTabPage;
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.cs b/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.cs
index eb9b8bb8..5f08ef61 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectEditDialog.cs
@@ -16,7 +16,7 @@
using nUpdate.Administration.Core.Application;
using nUpdate.Administration.Properties;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
using nUpdate.Updating;
using Starksoft.Aspen.Ftps;
@@ -994,6 +994,10 @@ await Task.Factory.StartNew(() =>
_useStatistics = useStatisticsServerRadioButton.Checked;
}));
+ bool synchronizeData = Popup.ShowPopup(this, SystemIcons.Question, "Automatically synchronize data?",
+ "nUpdate Administration may encounter differences between your remote configuration and the local changes that you've made. Should nUpdate Administration try to synchronize these changes or do you want to keep them locally? Choose the latter option, if you just fixed a problem with the data (e.g. a typo due to which nUpdate Administration could not connect to the server).",
+ PopupButtons.YesNo) == DialogResult.Yes;
+
if (Project.Name != _name)
{
Invoke(
@@ -1054,30 +1058,39 @@ await Task.Factory.StartNew(() =>
if (Project.Path != _localPath)
{
- Invoke(
- new Action(
- () =>
- loadingLabel.Text = "Moving project file..."));
-
- try
- {
- File.Move(Project.Path, _localPath);
- _projectFileMoved = true;
- }
- catch (IOException ex)
+ if (Popup.ShowPopup(this, SystemIcons.Question, "Automatically move the project file?",
+ "nUpdate Administration noticed that the path of the local project file has changed. Should nUpdate Administration move it to this new location? Choose \"No\", if the file is already located at the path that you specified.",
+ PopupButtons.YesNo) == DialogResult.Yes)
{
Invoke(
new Action(
() =>
- Popup.ShowPopup(this, SystemIcons.Error, "Error while moving the project file.", ex,
- PopupButtons.Ok)));
- Reset();
- return;
+ loadingLabel.Text = "Moving project file..."));
+
+ try
+ {
+ File.Move(Project.Path, _localPath);
+ _projectFileMoved = true;
+ }
+ catch (IOException ex)
+ {
+ Invoke(
+ new Action(
+ () =>
+ Popup.ShowPopup(this, SystemIcons.Error, "Error while moving the project file.",
+ ex,
+ PopupButtons.Ok)));
+ Reset();
+ return;
+ }
}
}
if (Project.UpdateUrl != _updateUrl)
{
+ if (!synchronizeData)
+ goto saveData;
+
if (_newUpdateConfiguration == null && !LoadConfiguration())
{
Reset();
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.Designer.cs
index bd5a76b6..fc5843ce 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class ProjectImportDialog
{
@@ -29,7 +31,7 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProjectImportDialog));
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.cancelButton = new System.Windows.Forms.Button();
this.backButton = new System.Windows.Forms.Button();
this.continueButton = new System.Windows.Forms.Button();
@@ -385,7 +387,7 @@ private void InitializeComponent()
#endregion
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button backButton;
private System.Windows.Forms.Button continueButton;
private System.Windows.Forms.Label headerLabel;
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.cs b/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.cs
index 9f774477..7fe24ab2 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectImportDialog.cs
@@ -10,7 +10,7 @@
using nUpdate.Administration.Core;
using nUpdate.Administration.Core.Application;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
using nUpdate.Updating;
namespace nUpdate.Administration.UI.Dialogs
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.Designer.cs
index 030278eb..58bda17b 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class ProjectRemovalDialog
{
@@ -30,7 +32,7 @@ private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProjectRemovalDialog));
this.projectsTreeView = new nUpdate.Administration.UI.Controls.ExplorerTreeView();
- this.line1 = new nUpdate.UI.Controls.Line();
+ this.line1 = new Line();
this.label2 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.noProjectsLabel = new System.Windows.Forms.Label();
@@ -51,7 +53,7 @@ private void InitializeComponent()
//
// line1
//
- this.line1.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
this.line1.Location = new System.Drawing.Point(-6, 225);
this.line1.Name = "line1";
this.line1.Size = new System.Drawing.Size(401, 10);
@@ -116,7 +118,7 @@ private void InitializeComponent()
#endregion
private Controls.ExplorerTreeView projectsTreeView;
- private nUpdate.UI.Controls.Line line1;
+ private Line line1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label noProjectsLabel;
diff --git a/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.cs b/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.cs
index f89d5d38..1731e5a6 100644
--- a/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/ProjectRemovalDialog.cs
@@ -9,7 +9,7 @@
using System.Windows.Forms;
using nUpdate.Administration.Core;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
namespace nUpdate.Administration.UI.Dialogs
{
diff --git a/nUpdate.Administration/UI/Dialogs/StatisticsServerAddDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/StatisticsServerAddDialog.Designer.cs
index ecb5c8b5..c302d82b 100644
--- a/nUpdate.Administration/UI/Dialogs/StatisticsServerAddDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/StatisticsServerAddDialog.Designer.cs
@@ -1,4 +1,5 @@
using nUpdate.Administration.UI.Controls;
+using nUpdate.Internal.UI.Controls;
namespace nUpdate.Administration.UI.Dialogs
{
@@ -33,7 +34,7 @@ private void InitializeComponent()
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatisticsServerAddDialog));
this.saveButton = new System.Windows.Forms.Button();
this.cancelButton = new System.Windows.Forms.Button();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.label4 = new System.Windows.Forms.Label();
this.usernameTextBox = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
@@ -41,7 +42,7 @@ private void InitializeComponent()
this.label12 = new System.Windows.Forms.Label();
this.hostTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
this.databaseTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.controlPanel1.SuspendLayout();
@@ -149,7 +150,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.SystemColors.Window;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(10, 105);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(319, 10);
@@ -211,7 +212,7 @@ private void InitializeComponent()
#endregion
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Button saveButton;
private System.Windows.Forms.Label label4;
@@ -221,7 +222,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label label12;
private CueTextBox hostTextBox;
private CueTextBox databaseTextBox;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pictureBox1;
}
diff --git a/nUpdate.Administration/UI/Dialogs/StatisticsServerDialog.cs b/nUpdate.Administration/UI/Dialogs/StatisticsServerDialog.cs
index 4b1e3cc5..9a467f7c 100644
--- a/nUpdate.Administration/UI/Dialogs/StatisticsServerDialog.cs
+++ b/nUpdate.Administration/UI/Dialogs/StatisticsServerDialog.cs
@@ -9,7 +9,7 @@
using nUpdate.Administration.Core;
using nUpdate.Administration.UI.Controls;
using nUpdate.Administration.UI.Popups;
-using nUpdate.Core;
+using nUpdate.Internal.Core;
namespace nUpdate.Administration.UI.Dialogs
{
diff --git a/nUpdate.Administration/UI/Dialogs/StatisticsServerEditDialog.Designer.cs b/nUpdate.Administration/UI/Dialogs/StatisticsServerEditDialog.Designer.cs
index c0769318..f2b33d67 100644
--- a/nUpdate.Administration/UI/Dialogs/StatisticsServerEditDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Dialogs/StatisticsServerEditDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Dialogs
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Dialogs
{
partial class StatisticsServerEditDialog
{
@@ -32,9 +34,9 @@ private void InitializeComponent()
this.cancelButton = new System.Windows.Forms.Button();
this.saveButton = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.label4 = new System.Windows.Forms.Label();
- this.line2 = new nUpdate.UI.Controls.Line();
+ this.line2 = new Line();
this.usernameTextBox = new System.Windows.Forms.TextBox();
this.databaseTextBox = new nUpdate.Administration.UI.Controls.CueTextBox();
this.label5 = new System.Windows.Forms.Label();
@@ -100,7 +102,7 @@ private void InitializeComponent()
// line2
//
this.line2.BackColor = System.Drawing.SystemColors.Window;
- this.line2.LineAlignment = nUpdate.UI.Controls.Line.Alignment.Horizontal;
+ this.line2.LineAlignment = Line.Alignment.Horizontal;
this.line2.Location = new System.Drawing.Point(10, 105);
this.line2.Name = "line2";
this.line2.Size = new System.Drawing.Size(321, 12);
@@ -212,10 +214,10 @@ private void InitializeComponent()
private System.Windows.Forms.Button cancelButton;
private System.Windows.Forms.Button saveButton;
private System.Windows.Forms.Label label1;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label4;
- private nUpdate.UI.Controls.Line line2;
+ private Line line2;
private System.Windows.Forms.TextBox usernameTextBox;
private Controls.CueTextBox databaseTextBox;
private System.Windows.Forms.Label label5;
diff --git a/nUpdate.Administration/UI/Popups/PopupDialog.Designer.cs b/nUpdate.Administration/UI/Popups/PopupDialog.Designer.cs
index d36da265..7c562317 100644
--- a/nUpdate.Administration/UI/Popups/PopupDialog.Designer.cs
+++ b/nUpdate.Administration/UI/Popups/PopupDialog.Designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.Administration.UI.Popups
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Administration.UI.Popups
{
partial class PopupDialog
{
@@ -33,7 +35,7 @@ private void InitializeComponent()
this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.copyEntireMessageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.headerLabel = new System.Windows.Forms.Label();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.noButton = new System.Windows.Forms.Button();
this.closeButton = new System.Windows.Forms.Button();
this.yesButton = new System.Windows.Forms.Button();
@@ -166,7 +168,7 @@ private void InitializeComponent()
private System.Windows.Forms.PictureBox iconPictureBox;
private System.Windows.Forms.Label messageLabel;
private System.Windows.Forms.Label headerLabel;
- private nUpdate.UI.Controls.BottomPanel controlPanel1;
+ private BottomPanel controlPanel1;
private System.Windows.Forms.Button closeButton;
private System.Windows.Forms.ContextMenuStrip contextMenu;
private System.Windows.Forms.ToolStripMenuItem copyEntireMessageToolStripMenuItem;
diff --git a/nUpdate.Administration/nUpdate.Administration.csproj b/nUpdate.Administration/nUpdate.Administration.csproj
index 6da44193..e2f53a1c 100644
--- a/nUpdate.Administration/nUpdate.Administration.csproj
+++ b/nUpdate.Administration/nUpdate.Administration.csproj
@@ -614,9 +614,13 @@
-
+
+ {b60f0aee-f710-44ff-9c64-7bc4fcbd1bf5}
+ nUpdate.ProvideTAP
+
+
{EFB71D69-EBF9-4F60-B776-DE443730A3DD}
- nUpdate
+ nUpdate.Internal
diff --git a/nUpdate.Client.GuiInterface/Properties/AssemblyInfo.cs b/nUpdate.Client.GuiInterface/Properties/AssemblyInfo.cs
index b3e8e4fe..519c050e 100644
--- a/nUpdate.Client.GuiInterface/Properties/AssemblyInfo.cs
+++ b/nUpdate.Client.GuiInterface/Properties/AssemblyInfo.cs
@@ -37,5 +37,5 @@
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.1.0.0")]
-[assembly: AssemblyFileVersion("3.1.8.0")]
+[assembly: AssemblyVersion("3.2.0.0")]
+[assembly: AssemblyFileVersion("3.2.0.0")]
diff --git a/nUpdate/Core/Architecture.cs b/nUpdate.Internal/Core/Architecture.cs
similarity index 80%
rename from nUpdate/Core/Architecture.cs
rename to nUpdate.Internal/Core/Architecture.cs
index 3ff4cd45..6365f6a9 100644
--- a/nUpdate/Core/Architecture.cs
+++ b/nUpdate.Internal/Core/Architecture.cs
@@ -1,6 +1,6 @@
// Copyright © Dominic Beger 2017
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public enum Architecture
{
diff --git a/nUpdate/Core/ConnectionManager.cs b/nUpdate.Internal/Core/ConnectionManager.cs
similarity index 79%
rename from nUpdate/Core/ConnectionManager.cs
rename to nUpdate.Internal/Core/ConnectionManager.cs
index 7740a4a0..714cee39 100644
--- a/nUpdate/Core/ConnectionManager.cs
+++ b/nUpdate.Internal/Core/ConnectionManager.cs
@@ -1,8 +1,8 @@
// Copyright © Dominic Beger 2017
-using nUpdate.Core.Win32;
+using nUpdate.Internal.Core.Win32;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public class ConnectionManager
{
diff --git a/nUpdate/Core/DevelopmentalStage.cs b/nUpdate.Internal/Core/DevelopmentalStage.cs
similarity index 83%
rename from nUpdate/Core/DevelopmentalStage.cs
rename to nUpdate.Internal/Core/DevelopmentalStage.cs
index f80a8ad9..dfbcb737 100644
--- a/nUpdate/Core/DevelopmentalStage.cs
+++ b/nUpdate.Internal/Core/DevelopmentalStage.cs
@@ -1,6 +1,6 @@
// Copyright © Dominic Beger 2017
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public enum DevelopmentalStage
{
diff --git a/nUpdate/Core/IDeepCopy.cs b/nUpdate.Internal/Core/IDeepCopy.cs
similarity index 90%
rename from nUpdate/Core/IDeepCopy.cs
rename to nUpdate.Internal/Core/IDeepCopy.cs
index bc54cc7d..b4300c01 100644
--- a/nUpdate/Core/IDeepCopy.cs
+++ b/nUpdate.Internal/Core/IDeepCopy.cs
@@ -1,6 +1,6 @@
// Copyright © Dominic Beger 2017
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
///
/// Offers methods for cloning/copying class instances.
diff --git a/nUpdate/Core/IconHelper.cs b/nUpdate.Internal/Core/IconHelper.cs
similarity index 96%
rename from nUpdate/Core/IconHelper.cs
rename to nUpdate.Internal/Core/IconHelper.cs
index 03f6c272..a3765fcd 100644
--- a/nUpdate/Core/IconHelper.cs
+++ b/nUpdate.Internal/Core/IconHelper.cs
@@ -5,9 +5,9 @@
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
-using nUpdate.Core.Win32;
+using nUpdate.Internal.Core.Win32;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
internal class IconHelper
{
diff --git a/nUpdate/Core/Localization/LocalizationHelper.cs b/nUpdate.Internal/Core/Localization/LocalizationHelper.cs
similarity index 95%
rename from nUpdate/Core/Localization/LocalizationHelper.cs
rename to nUpdate.Internal/Core/Localization/LocalizationHelper.cs
index 3fa92ec0..40805b76 100644
--- a/nUpdate/Core/Localization/LocalizationHelper.cs
+++ b/nUpdate.Internal/Core/Localization/LocalizationHelper.cs
@@ -9,7 +9,7 @@
using System.Reflection;
using System.Text;
-namespace nUpdate.Core.Localization
+namespace nUpdate.Internal.Core.Localization
{
internal class LocalizationHelper
{
@@ -22,7 +22,7 @@ internal class LocalizationHelper
internal static LocalizationProperties GetLocalizationProperties(CultureInfo cultureInfo,
Dictionary localizationFilePaths)
{
- var resourceName = $"nUpdate.Core.Localization.{cultureInfo.Name}.json";
+ var resourceName = $"nUpdate.Internal.Core.Localization.{cultureInfo.Name}.json";
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
{
if (stream != null)
diff --git a/nUpdate/Core/Localization/LocalizationProperties.cs b/nUpdate.Internal/Core/Localization/LocalizationProperties.cs
similarity index 99%
rename from nUpdate/Core/Localization/LocalizationProperties.cs
rename to nUpdate.Internal/Core/Localization/LocalizationProperties.cs
index e3416634..44a1414e 100644
--- a/nUpdate/Core/Localization/LocalizationProperties.cs
+++ b/nUpdate.Internal/Core/Localization/LocalizationProperties.cs
@@ -1,6 +1,6 @@
// Copyright © Dominic Beger 2017
-namespace nUpdate.Core.Localization
+namespace nUpdate.Internal.Core.Localization
{
public class LocalizationProperties
{
diff --git a/nUpdate/Core/Localization/de-AT.json b/nUpdate.Internal/Core/Localization/de-AT.json
similarity index 99%
rename from nUpdate/Core/Localization/de-AT.json
rename to nUpdate.Internal/Core/Localization/de-AT.json
index 73e65228..4c710ec8 100644
--- a/nUpdate/Core/Localization/de-AT.json
+++ b/nUpdate.Internal/Core/Localization/de-AT.json
@@ -43,7 +43,7 @@
"PackageNotFoundErrorText": "Das Updatepaket konnte nicht gefunden werden.",
"InvalidSignatureErrorCaption": "Ungültige Signatur.",
"InvalidSignatureErrorText": "Die Signatur des Updatepakets ist keine gültige RSA-Signatur.",
- "SignatureNotMatchingErrorText": "nUpdate wird die Installation abbrechen und das Paket löschen.",
+ "SignatureNotMatchingErrorText": "nUpdate wird die Installation abbrechen und die Pakete löschen.",
"SearchProcessRunningExceptionText": "Es wird bereits eine Updatesuche ausgeführt.",
"DownloadingProcessRunningExceptionText": "Es wird bereits ein aktiver Download ausgeführt.",
"NetworkConnectionExceptionText": "Es ist keine Internetverbindung verfügbar.",
diff --git a/nUpdate/Core/Localization/de-CH.json b/nUpdate.Internal/Core/Localization/de-CH.json
similarity index 99%
rename from nUpdate/Core/Localization/de-CH.json
rename to nUpdate.Internal/Core/Localization/de-CH.json
index 73e65228..4c710ec8 100644
--- a/nUpdate/Core/Localization/de-CH.json
+++ b/nUpdate.Internal/Core/Localization/de-CH.json
@@ -43,7 +43,7 @@
"PackageNotFoundErrorText": "Das Updatepaket konnte nicht gefunden werden.",
"InvalidSignatureErrorCaption": "Ungültige Signatur.",
"InvalidSignatureErrorText": "Die Signatur des Updatepakets ist keine gültige RSA-Signatur.",
- "SignatureNotMatchingErrorText": "nUpdate wird die Installation abbrechen und das Paket löschen.",
+ "SignatureNotMatchingErrorText": "nUpdate wird die Installation abbrechen und die Pakete löschen.",
"SearchProcessRunningExceptionText": "Es wird bereits eine Updatesuche ausgeführt.",
"DownloadingProcessRunningExceptionText": "Es wird bereits ein aktiver Download ausgeführt.",
"NetworkConnectionExceptionText": "Es ist keine Internetverbindung verfügbar.",
diff --git a/nUpdate/Core/Localization/de-DE.json b/nUpdate.Internal/Core/Localization/de-DE.json
similarity index 99%
rename from nUpdate/Core/Localization/de-DE.json
rename to nUpdate.Internal/Core/Localization/de-DE.json
index 296174c4..48ecc37a 100644
--- a/nUpdate/Core/Localization/de-DE.json
+++ b/nUpdate.Internal/Core/Localization/de-DE.json
@@ -43,7 +43,7 @@
"PackageNotFoundErrorText": "Das Updatepaket konnte nicht gefunden werden.",
"InvalidSignatureErrorCaption": "Ungültige Signatur.",
"InvalidSignatureErrorText": "Die Signatur des Updatepakets ist keine gültige RSA-Signatur.",
- "SignatureNotMatchingErrorText": "nUpdate wird die Installation abbrechen und das Paket löschen.",
+ "SignatureNotMatchingErrorText": "nUpdate wird die Installation abbrechen und die Pakete löschen.",
"SearchProcessRunningExceptionText": "Es wird bereits eine Updatesuche ausgeführt.",
"DownloadingProcessRunningExceptionText": "Es wird bereits ein aktiver Download ausgeführt.",
"NetworkConnectionExceptionText": "Es ist keine Internetverbindung verfügbar.",
diff --git a/nUpdate/Core/Localization/en.json b/nUpdate.Internal/Core/Localization/en.json
similarity index 100%
rename from nUpdate/Core/Localization/en.json
rename to nUpdate.Internal/Core/Localization/en.json
diff --git a/nUpdate/Core/Localization/zh-CN.json b/nUpdate.Internal/Core/Localization/zh-CN.json
similarity index 100%
rename from nUpdate/Core/Localization/zh-CN.json
rename to nUpdate.Internal/Core/Localization/zh-CN.json
diff --git a/nUpdate/Core/Operations/Operation.cs b/nUpdate.Internal/Core/Operations/Operation.cs
similarity index 99%
rename from nUpdate/Core/Operations/Operation.cs
rename to nUpdate.Internal/Core/Operations/Operation.cs
index 895d1779..8d30461b 100644
--- a/nUpdate/Core/Operations/Operation.cs
+++ b/nUpdate.Internal/Core/Operations/Operation.cs
@@ -2,7 +2,7 @@
using System;
-namespace nUpdate.Core.Operations
+namespace nUpdate.Internal.Core.Operations
{
public class Operation
{
diff --git a/nUpdate/Core/Operations/OperationArea.cs b/nUpdate.Internal/Core/Operations/OperationArea.cs
similarity index 93%
rename from nUpdate/Core/Operations/OperationArea.cs
rename to nUpdate.Internal/Core/Operations/OperationArea.cs
index 71770f68..d1d47d62 100644
--- a/nUpdate/Core/Operations/OperationArea.cs
+++ b/nUpdate.Internal/Core/Operations/OperationArea.cs
@@ -2,7 +2,7 @@
using System.ComponentModel;
-namespace nUpdate.Core.Operations
+namespace nUpdate.Internal.Core.Operations
{
///
/// Represents the different areas in which operations can take place.
diff --git a/nUpdate/Core/Operations/OperationMethod.cs b/nUpdate.Internal/Core/Operations/OperationMethod.cs
similarity index 89%
rename from nUpdate/Core/Operations/OperationMethod.cs
rename to nUpdate.Internal/Core/Operations/OperationMethod.cs
index e4721599..f376af9c 100644
--- a/nUpdate/Core/Operations/OperationMethod.cs
+++ b/nUpdate.Internal/Core/Operations/OperationMethod.cs
@@ -1,6 +1,6 @@
// Copyright © Dominic Beger 2017
-namespace nUpdate.Core.Operations
+namespace nUpdate.Internal.Core.Operations
{
///
/// Represents the different methods of the operations performed in different areas.
diff --git a/nUpdate/Core/RsaManager.cs b/nUpdate.Internal/Core/RsaManager.cs
similarity index 99%
rename from nUpdate/Core/RsaManager.cs
rename to nUpdate.Internal/Core/RsaManager.cs
index 7044f3fa..51e1c963 100644
--- a/nUpdate/Core/RsaManager.cs
+++ b/nUpdate.Internal/Core/RsaManager.cs
@@ -4,7 +4,7 @@
using System.IO;
using System.Security.Cryptography;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
///
/// Provides methods and properties to sign and verify data with the RSACryptoServiceProvider.
diff --git a/nUpdate/Core/Serializer.cs b/nUpdate.Internal/Core/Serializer.cs
similarity index 98%
rename from nUpdate/Core/Serializer.cs
rename to nUpdate.Internal/Core/Serializer.cs
index 6ddb550b..0cf40907 100644
--- a/nUpdate/Core/Serializer.cs
+++ b/nUpdate.Internal/Core/Serializer.cs
@@ -4,7 +4,7 @@
using System.Text;
using Newtonsoft.Json;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public class Serializer
{
diff --git a/nUpdate/Core/SizeHelper.cs b/nUpdate.Internal/Core/SizeHelper.cs
similarity index 93%
rename from nUpdate/Core/SizeHelper.cs
rename to nUpdate.Internal/Core/SizeHelper.cs
index 335a87f5..d4d3ae47 100644
--- a/nUpdate/Core/SizeHelper.cs
+++ b/nUpdate.Internal/Core/SizeHelper.cs
@@ -3,9 +3,9 @@
using System;
using System.IO;
using System.Text;
-using nUpdate.Core.Win32;
+using nUpdate.Internal.Core.Win32;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public class SizeHelper
{
diff --git a/nUpdate/Core/SystemInformation.cs b/nUpdate.Internal/Core/SystemInformation.cs
similarity index 98%
rename from nUpdate/Core/SystemInformation.cs
rename to nUpdate.Internal/Core/SystemInformation.cs
index 8b356284..3b6b376c 100644
--- a/nUpdate/Core/SystemInformation.cs
+++ b/nUpdate.Internal/Core/SystemInformation.cs
@@ -4,7 +4,7 @@
using System.Linq;
using System.Net.NetworkInformation;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
internal class SystemInformation
{
diff --git a/nUpdate/Core/UriConnector.cs b/nUpdate.Internal/Core/UriConnector.cs
similarity index 93%
rename from nUpdate/Core/UriConnector.cs
rename to nUpdate.Internal/Core/UriConnector.cs
index d18fc728..98c27131 100644
--- a/nUpdate/Core/UriConnector.cs
+++ b/nUpdate.Internal/Core/UriConnector.cs
@@ -2,7 +2,7 @@
using System;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public class UriConnector
{
diff --git a/nUpdate/Core/WebClientWrapper.cs b/nUpdate.Internal/Core/WebClientWrapper.cs
similarity index 96%
rename from nUpdate/Core/WebClientWrapper.cs
rename to nUpdate.Internal/Core/WebClientWrapper.cs
index 98e2d0a4..ebbc2a65 100644
--- a/nUpdate/Core/WebClientWrapper.cs
+++ b/nUpdate.Internal/Core/WebClientWrapper.cs
@@ -3,7 +3,7 @@
using System;
using System.Net;
-namespace nUpdate.Core
+namespace nUpdate.Internal.Core
{
public class WebClientWrapper : WebClient
{
diff --git a/nUpdate/Core/Win32/NativeMethods.cs b/nUpdate.Internal/Core/Win32/NativeMethods.cs
similarity index 95%
rename from nUpdate/Core/Win32/NativeMethods.cs
rename to nUpdate.Internal/Core/Win32/NativeMethods.cs
index 13ed42be..ca8f67b3 100644
--- a/nUpdate/Core/Win32/NativeMethods.cs
+++ b/nUpdate.Internal/Core/Win32/NativeMethods.cs
@@ -4,7 +4,7 @@
using System.Runtime.InteropServices;
using System.Text;
-namespace nUpdate.Core.Win32
+namespace nUpdate.Internal.Core.Win32
{
internal class NativeMethods
{
diff --git a/nUpdate/Properties/AssemblyInfo.cs b/nUpdate.Internal/Properties/AssemblyInfo.cs
similarity index 78%
rename from nUpdate/Properties/AssemblyInfo.cs
rename to nUpdate.Internal/Properties/AssemblyInfo.cs
index ec5ed094..ee057452 100644
--- a/nUpdate/Properties/AssemblyInfo.cs
+++ b/nUpdate.Internal/Properties/AssemblyInfo.cs
@@ -1,6 +1,7 @@
// Copyright © Dominic Beger 2017
using System.Reflection;
+using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
@@ -8,7 +9,7 @@
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("nUpdate")]
-[assembly: AssemblyDescription("A class library for updating .NET-applications.")]
+[assembly: AssemblyDescription("The internal nUpdate class library that provides basic classes used in all projects.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
@@ -37,5 +38,8 @@
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.1.8.0")]
-[assembly: AssemblyFileVersion("3.1.8.0")]
\ No newline at end of file
+[assembly: AssemblyVersion("3.2.0.0")]
+[assembly: AssemblyFileVersion("3.2.0.0")]
+[assembly: InternalsVisibleTo("nUpdate.Shared")]
+[assembly: InternalsVisibleTo("nUpdate.ProvideTAP")]
+[assembly: InternalsVisibleTo("nUpdate.WithoutTAP")]
\ No newline at end of file
diff --git a/nUpdate/Properties/Resources.Designer.cs b/nUpdate.Internal/Properties/Resources.Designer.cs
similarity index 51%
rename from nUpdate/Properties/Resources.Designer.cs
rename to nUpdate.Internal/Properties/Resources.Designer.cs
index aefffb46..53a8e29a 100644
--- a/nUpdate/Properties/Resources.Designer.cs
+++ b/nUpdate.Internal/Properties/Resources.Designer.cs
@@ -1,25 +1,25 @@
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Dieser Code wurde von einem Tool generiert.
+// Laufzeitversion:4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
+// der Code erneut generiert wird.
//
//------------------------------------------------------------------------------
-namespace nUpdate.Properties {
+namespace nUpdate.Internal.Properties {
using System;
///
- /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
+ // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
+ // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
+ // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@@ -33,13 +33,13 @@ internal Resources() {
}
///
- /// Returns the cached ResourceManager instance used by this class.
+ /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- var temp = new global::System.Resources.ResourceManager("nUpdate.Properties.Resources", typeof(Resources).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("nUpdate.Internal.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
@@ -47,8 +47,8 @@ internal Resources() {
}
///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
+ /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
+ /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
@@ -61,61 +61,41 @@ internal Resources() {
}
///
- /// Looks up a localized resource of type System.Byte[].
+ /// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
///
internal static byte[] Ionic_Zip {
get {
- var obj = ResourceManager.GetObject("Ionic_Zip", resourceCulture);
+ object obj = ResourceManager.GetObject("Ionic_Zip", resourceCulture);
return ((byte[])(obj));
}
}
///
- /// Looks up a localized resource of type System.Byte[].
+ /// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
///
internal static byte[] Newtonsoft_Json {
get {
- var obj = ResourceManager.GetObject("Newtonsoft_Json", resourceCulture);
+ object obj = ResourceManager.GetObject("Newtonsoft_Json", resourceCulture);
return ((byte[])(obj));
}
}
///
- /// Looks up a localized resource of type System.Byte[].
- ///
- internal static byte[] Newtonsoft_Json_Pdb {
- get {
- var obj = ResourceManager.GetObject("Newtonsoft_Json_Pdb", resourceCulture);
- return ((byte[])(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Byte[].
+ /// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
///
internal static byte[] nUpdate_UpdateInstaller {
get {
- var obj = ResourceManager.GetObject("nUpdate_UpdateInstaller", resourceCulture);
+ object obj = ResourceManager.GetObject("nUpdate_UpdateInstaller", resourceCulture);
return ((byte[])(obj));
}
}
///
- /// Looks up a localized resource of type System.Byte[].
+ /// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
///
internal static byte[] nUpdate_UpdateInstaller_Client_GuiInterface {
get {
- var obj = ResourceManager.GetObject("nUpdate_UpdateInstaller_Client_GuiInterface", resourceCulture);
- return ((byte[])(obj));
- }
- }
-
- ///
- /// Looks up a localized resource of type System.Byte[].
- ///
- internal static byte[] nUpdate_UpdateInstaller1 {
- get {
- var obj = ResourceManager.GetObject("nUpdate_UpdateInstaller1", resourceCulture);
+ object obj = ResourceManager.GetObject("nUpdate_UpdateInstaller_Client_GuiInterface", resourceCulture);
return ((byte[])(obj));
}
}
diff --git a/nUpdate/Properties/Resources.resx b/nUpdate.Internal/Properties/Resources.resx
similarity index 93%
rename from nUpdate/Properties/Resources.resx
rename to nUpdate.Internal/Properties/Resources.resx
index 22ecccbd..33789466 100644
--- a/nUpdate/Properties/Resources.resx
+++ b/nUpdate.Internal/Properties/Resources.resx
@@ -124,15 +124,9 @@
..\Resources\Newtonsoft.Json.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\Resources\Newtonsoft.Json.pdb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
..\Resources\nUpdate UpdateInstaller.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- ..\Resources\nUpdate UpdateInstaller.pdb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
..\Resources\nUpdate.UpdateInstaller.Client.GuiInterface.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
diff --git a/nUpdate/Resources/Ionic.Zip.dll b/nUpdate.Internal/Resources/Ionic.Zip.dll
similarity index 100%
rename from nUpdate/Resources/Ionic.Zip.dll
rename to nUpdate.Internal/Resources/Ionic.Zip.dll
diff --git a/nUpdate/Resources/Newtonsoft.Json.dll b/nUpdate.Internal/Resources/Newtonsoft.Json.dll
similarity index 100%
rename from nUpdate/Resources/Newtonsoft.Json.dll
rename to nUpdate.Internal/Resources/Newtonsoft.Json.dll
diff --git a/nUpdate/Resources/en.xml b/nUpdate.Internal/Resources/en.xml
similarity index 100%
rename from nUpdate/Resources/en.xml
rename to nUpdate.Internal/Resources/en.xml
diff --git a/nUpdate/Resources/nUpdate UpdateInstaller.exe b/nUpdate.Internal/Resources/nUpdate UpdateInstaller.exe
similarity index 99%
rename from nUpdate/Resources/nUpdate UpdateInstaller.exe
rename to nUpdate.Internal/Resources/nUpdate UpdateInstaller.exe
index f708dbb9..106c3d76 100644
Binary files a/nUpdate/Resources/nUpdate UpdateInstaller.exe and b/nUpdate.Internal/Resources/nUpdate UpdateInstaller.exe differ
diff --git a/nUpdate.Internal/Resources/nUpdate.UpdateInstaller.Client.GuiInterface.dll b/nUpdate.Internal/Resources/nUpdate.UpdateInstaller.Client.GuiInterface.dll
new file mode 100644
index 00000000..6bcf5690
Binary files /dev/null and b/nUpdate.Internal/Resources/nUpdate.UpdateInstaller.Client.GuiInterface.dll differ
diff --git a/nUpdate/UI/Controls/BottomPanel.cs b/nUpdate.Internal/UI/Controls/BottomPanel.cs
similarity index 98%
rename from nUpdate/UI/Controls/BottomPanel.cs
rename to nUpdate.Internal/UI/Controls/BottomPanel.cs
index 7de1e6f6..a787779c 100644
--- a/nUpdate/UI/Controls/BottomPanel.cs
+++ b/nUpdate.Internal/UI/Controls/BottomPanel.cs
@@ -5,7 +5,7 @@
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
-namespace nUpdate.UI.Controls
+namespace nUpdate.Internal.UI.Controls
{
///
/// A "Bottom Panel" drawn by Windows via Visual Styles if available.
diff --git a/nUpdate/UI/Controls/Line.cs b/nUpdate.Internal/UI/Controls/Line.cs
similarity index 93%
rename from nUpdate/UI/Controls/Line.cs
rename to nUpdate.Internal/UI/Controls/Line.cs
index a17a9071..170b2282 100644
--- a/nUpdate/UI/Controls/Line.cs
+++ b/nUpdate.Internal/UI/Controls/Line.cs
@@ -3,7 +3,7 @@
using System.Drawing;
using System.Windows.Forms;
-namespace nUpdate.UI.Controls
+namespace nUpdate.Internal.UI.Controls
{
public class Line : Control
{
diff --git a/nUpdate/UI/Popups/Popup.cs b/nUpdate.Internal/UI/Popups/Popup.cs
similarity index 94%
rename from nUpdate/UI/Popups/Popup.cs
rename to nUpdate.Internal/UI/Popups/Popup.cs
index 0264c02a..e63c7608 100644
--- a/nUpdate/UI/Popups/Popup.cs
+++ b/nUpdate.Internal/UI/Popups/Popup.cs
@@ -4,7 +4,7 @@
using System.Drawing;
using System.Windows.Forms;
-namespace nUpdate.UI.Popups
+namespace nUpdate.Internal.UI.Popups
{
internal class Popup
{
@@ -25,8 +25,8 @@ public static DialogResult ShowPopup(Icon popupIcon, string title, string infoMe
Buttons = buttons,
StartPosition = FormStartPosition.CenterParent
};
-
- return popupWindow.ShowDialog();
+
+ return popupWindow.ShowDialog(Form.ActiveForm);
}
///
@@ -47,8 +47,8 @@ public static DialogResult ShowPopup(Icon popupIcon, string title, Exception ex,
StartPosition = FormStartPosition.CenterParent,
Exception = ex
};
-
- return popupWindow.ShowDialog();
+
+ return popupWindow.ShowDialog(Form.ActiveForm);
}
///
@@ -95,7 +95,7 @@ public static DialogResult ShowPopup(IWin32Window owner, Icon popupIcon, string
Exception = exception
};
- return popupWindow.ShowDialog();
+ return popupWindow.ShowDialog(owner);
}
}
}
\ No newline at end of file
diff --git a/nUpdate/UI/Popups/PopupButtons.cs b/nUpdate.Internal/UI/Popups/PopupButtons.cs
similarity index 74%
rename from nUpdate/UI/Popups/PopupButtons.cs
rename to nUpdate.Internal/UI/Popups/PopupButtons.cs
index b9c59b9d..09427183 100644
--- a/nUpdate/UI/Popups/PopupButtons.cs
+++ b/nUpdate.Internal/UI/Popups/PopupButtons.cs
@@ -1,6 +1,6 @@
// Copyright © Dominic Beger 2017
-namespace nUpdate.UI.Popups
+namespace nUpdate.Internal.UI.Popups
{
public enum PopupButtons
{
diff --git a/nUpdate/UI/Popups/PopupDialog.cs b/nUpdate.Internal/UI/Popups/PopupDialog.cs
similarity index 98%
rename from nUpdate/UI/Popups/PopupDialog.cs
rename to nUpdate.Internal/UI/Popups/PopupDialog.cs
index 4a1d7fcd..8f20a413 100644
--- a/nUpdate/UI/Popups/PopupDialog.cs
+++ b/nUpdate.Internal/UI/Popups/PopupDialog.cs
@@ -5,7 +5,7 @@
using System.Media;
using System.Windows.Forms;
-namespace nUpdate.UI.Popups
+namespace nUpdate.Internal.UI.Popups
{
public partial class PopupDialog : Form
{
diff --git a/nUpdate/UI/Popups/PopupDialog.designer.cs b/nUpdate.Internal/UI/Popups/PopupDialog.designer.cs
similarity index 98%
rename from nUpdate/UI/Popups/PopupDialog.designer.cs
rename to nUpdate.Internal/UI/Popups/PopupDialog.designer.cs
index b59b9f1e..91ef0b92 100644
--- a/nUpdate/UI/Popups/PopupDialog.designer.cs
+++ b/nUpdate.Internal/UI/Popups/PopupDialog.designer.cs
@@ -1,4 +1,6 @@
-namespace nUpdate.UI.Popups
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.Internal.UI.Popups
{
partial class PopupDialog
{
@@ -33,7 +35,7 @@ private void InitializeComponent()
this.contextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.copyEntireMessageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.headerLabel = new System.Windows.Forms.Label();
- this.controlPanel1 = new nUpdate.UI.Controls.BottomPanel();
+ this.controlPanel1 = new BottomPanel();
this.noButton = new System.Windows.Forms.Button();
this.closeButton = new System.Windows.Forms.Button();
this.yesButton = new System.Windows.Forms.Button();
diff --git a/nUpdate/UI/Popups/PopupDialog.resx b/nUpdate.Internal/UI/Popups/PopupDialog.resx
similarity index 100%
rename from nUpdate/UI/Popups/PopupDialog.resx
rename to nUpdate.Internal/UI/Popups/PopupDialog.resx
diff --git a/nUpdate/app.config b/nUpdate.Internal/app.config
similarity index 100%
rename from nUpdate/app.config
rename to nUpdate.Internal/app.config
diff --git a/nUpdate/nUpdate.csproj b/nUpdate.Internal/nUpdate.Internal.csproj
similarity index 56%
rename from nUpdate/nUpdate.csproj
rename to nUpdate.Internal/nUpdate.Internal.csproj
index 75af4da1..5f2f843a 100644
--- a/nUpdate/nUpdate.csproj
+++ b/nUpdate.Internal/nUpdate.Internal.csproj
@@ -7,8 +7,8 @@
{EFB71D69-EBF9-4F60-B776-DE443730A3DD}
Library
Properties
- nUpdate
- nUpdate
+ nUpdate.Internal
+ nUpdate.Internal
v4.0
512
@@ -22,20 +22,21 @@
full
false
bin\Debug\
- DEBUG;TRACE
+ TRACE
prompt
0
false
- bin\Debug\nUpdate.XML
+ bin\Debug\nUpdate.Internal.xml
MinimumRecommendedRules.ruleset
- pdbonly
+ full
true
bin\Release\
TRACE
prompt
4
+ true
OnBuildSuccess
@@ -63,18 +64,6 @@
MinimumRecommendedRules.ruleset
-
- ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll
- False
-
-
- ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll
- False
-
-
- ..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll
- False
-
False
..\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll
@@ -82,17 +71,7 @@
-
- ..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.IO.dll
-
-
- ..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Runtime.dll
- False
-
-
- ..\packages\Microsoft.Bcl.1.1.10\lib\net40\System.Threading.Tasks.dll
-
@@ -103,7 +82,6 @@
-
@@ -114,87 +92,28 @@
Component
-
-
-
-
-
-
-
-
-
-
-
-
-
+
Component
-
- Form
-
-
-
-
- Form
-
-
- NewUpdateDialog.cs
-
-
- Form
-
-
- NoUpdateFoundDialog.cs
-
-
- Form
-
-
- UpdateSearchDialog.cs
-
-
+
+
+
Form
-
- UpdateDownloadDialog.cs
+
+ PopupDialog.cs
+
True
True
Resources.resx
-
-
-
-
- Form
-
-
- PopupDialog.cs
-
-
- BaseDialog.cs
- Designer
-
-
- NewUpdateDialog.cs
- Designer
-
-
- NoUpdateFoundDialog.cs
- Designer
-
-
- UpdateSearchDialog.cs
-
-
- UpdateDownloadDialog.cs
-
ResXFileCodeGenerator
Designer
@@ -210,9 +129,6 @@
-
-
-
@@ -220,19 +136,20 @@
-
+
+ PreserveNewest
+
-
+
+ PreserveNewest
+
-
+
-
-
-
@@ -241,9 +158,7 @@
Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Aktivieren Sie die Wiederherstellung von NuGet-Paketen, um die fehlende Datei herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/nUpdate.WithoutTAP/UI/Dialogs/DialogResultWrapper.cs b/nUpdate.WithoutTAP/UI/Dialogs/DialogResultWrapper.cs
new file mode 100644
index 00000000..cbca9e45
--- /dev/null
+++ b/nUpdate.WithoutTAP/UI/Dialogs/DialogResultWrapper.cs
@@ -0,0 +1,9 @@
+using System.Windows.Forms;
+
+namespace nUpdate.UI.Dialogs
+{
+ internal class DialogResultWrapper
+ {
+ internal DialogResult DialogResult { get; set; }
+ }
+}
diff --git a/nUpdate.WithoutTAP/UI/Dialogs/FileLoadDialog.resx b/nUpdate.WithoutTAP/UI/Dialogs/FileLoadDialog.resx
new file mode 100644
index 00000000..7080a7d1
--- /dev/null
+++ b/nUpdate.WithoutTAP/UI/Dialogs/FileLoadDialog.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/nUpdate.WithoutTAP/UI/Dialogs/NewUpdateDialog.Designer.cs b/nUpdate.WithoutTAP/UI/Dialogs/NewUpdateDialog.Designer.cs
new file mode 100644
index 00000000..2d95bdc4
--- /dev/null
+++ b/nUpdate.WithoutTAP/UI/Dialogs/NewUpdateDialog.Designer.cs
@@ -0,0 +1,227 @@
+using nUpdate.Internal.UI.Controls;
+
+namespace nUpdate.UI.Dialogs
+{
+ partial class NewUpdateDialog
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.changelogTextBox = new System.Windows.Forms.RichTextBox();
+ this.headerLabel = new System.Windows.Forms.Label();
+ this.infoLabel = new System.Windows.Forms.Label();
+ this.newestVersionLabel = new System.Windows.Forms.Label();
+ this.currentVersionLabel = new System.Windows.Forms.Label();
+ this.updateSizeLabel = new System.Windows.Forms.Label();
+ this.changelogLabel = new System.Windows.Forms.Label();
+ this.iconPictureBox = new System.Windows.Forms.PictureBox();
+ this.controlPanel1 = new BottomPanel();
+ this.cancelButton = new System.Windows.Forms.Button();
+ this.installButton = new System.Windows.Forms.Button();
+ this.accessLabel = new System.Windows.Forms.Label();
+ this.line1 = new Line();
+ ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).BeginInit();
+ this.controlPanel1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // changelogTextBox
+ //
+ this.changelogTextBox.BackColor = System.Drawing.Color.White;
+ this.changelogTextBox.BulletIndent = 10;
+ this.changelogTextBox.Location = new System.Drawing.Point(12, 185);
+ this.changelogTextBox.Name = "changelogTextBox";
+ this.changelogTextBox.ReadOnly = true;
+ this.changelogTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
+ this.changelogTextBox.Size = new System.Drawing.Size(351, 102);
+ this.changelogTextBox.TabIndex = 0;
+ this.changelogTextBox.Text = "";
+ this.changelogTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(this.changelogTextBox_LinkClicked);
+ //
+ // headerLabel
+ //
+ this.headerLabel.AutoSize = true;
+ this.headerLabel.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.headerLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(51)))), ((int)(((byte)(153)))));
+ this.headerLabel.Location = new System.Drawing.Point(61, 12);
+ this.headerLabel.Name = "headerLabel";
+ this.headerLabel.Size = new System.Drawing.Size(189, 21);
+ this.headerLabel.TabIndex = 2;
+ this.headerLabel.Text = "{0} new updates available.";
+ //
+ // infoLabel
+ //
+ this.infoLabel.Location = new System.Drawing.Point(63, 36);
+ this.infoLabel.Name = "infoLabel";
+ this.infoLabel.Size = new System.Drawing.Size(300, 34);
+ this.infoLabel.TabIndex = 4;
+ this.infoLabel.Text = "New updates can be downloaded for {0}.";
+ //
+ // newestVersionLabel
+ //
+ this.newestVersionLabel.AutoSize = true;
+ this.newestVersionLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.newestVersionLabel.Location = new System.Drawing.Point(9, 82);
+ this.newestVersionLabel.Name = "newestVersionLabel";
+ this.newestVersionLabel.Size = new System.Drawing.Size(121, 13);
+ this.newestVersionLabel.TabIndex = 12;
+ this.newestVersionLabel.Text = "Available versions: {0}";
+ //
+ // currentVersionLabel
+ //
+ this.currentVersionLabel.AutoSize = true;
+ this.currentVersionLabel.Location = new System.Drawing.Point(9, 100);
+ this.currentVersionLabel.Name = "currentVersionLabel";
+ this.currentVersionLabel.Size = new System.Drawing.Size(104, 13);
+ this.currentVersionLabel.TabIndex = 13;
+ this.currentVersionLabel.Text = "Current version: {0}";
+ //
+ // updateSizeLabel
+ //
+ this.updateSizeLabel.AutoSize = true;
+ this.updateSizeLabel.Location = new System.Drawing.Point(9, 117);
+ this.updateSizeLabel.Name = "updateSizeLabel";
+ this.updateSizeLabel.Size = new System.Drawing.Size(118, 13);
+ this.updateSizeLabel.TabIndex = 14;
+ this.updateSizeLabel.Text = "Total package size: {0}";
+ //
+ // changelogLabel
+ //
+ this.changelogLabel.AutoSize = true;
+ this.changelogLabel.Location = new System.Drawing.Point(9, 166);
+ this.changelogLabel.Name = "changelogLabel";
+ this.changelogLabel.Size = new System.Drawing.Size(67, 13);
+ this.changelogLabel.TabIndex = 15;
+ this.changelogLabel.Text = "Changelog:";
+ //
+ // iconPictureBox
+ //
+ this.iconPictureBox.Location = new System.Drawing.Point(16, 17);
+ this.iconPictureBox.Name = "iconPictureBox";
+ this.iconPictureBox.Size = new System.Drawing.Size(41, 39);
+ this.iconPictureBox.TabIndex = 11;
+ this.iconPictureBox.TabStop = false;
+ //
+ // controlPanel1
+ //
+ this.controlPanel1.BackColor = System.Drawing.SystemColors.Control;
+ this.controlPanel1.Controls.Add(this.cancelButton);
+ this.controlPanel1.Controls.Add(this.installButton);
+ this.controlPanel1.Location = new System.Drawing.Point(0, 296);
+ this.controlPanel1.Name = "controlPanel1";
+ this.controlPanel1.Size = new System.Drawing.Size(371, 39);
+ this.controlPanel1.TabIndex = 16;
+ //
+ // cancelButton
+ //
+ this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
+ this.cancelButton.Location = new System.Drawing.Point(278, 8);
+ this.cancelButton.Name = "cancelButton";
+ this.cancelButton.Size = new System.Drawing.Size(85, 23);
+ this.cancelButton.TabIndex = 17;
+ this.cancelButton.Text = "Cancel";
+ this.cancelButton.UseVisualStyleBackColor = true;
+ //
+ // installButton
+ //
+ this.installButton.Location = new System.Drawing.Point(163, 8);
+ this.installButton.Name = "installButton";
+ this.installButton.Size = new System.Drawing.Size(111, 23);
+ this.installButton.TabIndex = 0;
+ this.installButton.Text = "Install";
+ this.installButton.UseVisualStyleBackColor = true;
+ this.installButton.Click += new System.EventHandler(this.installButton_Click);
+ //
+ // accessLabel
+ //
+ this.accessLabel.AutoSize = true;
+ this.accessLabel.Location = new System.Drawing.Point(9, 134);
+ this.accessLabel.Name = "accessLabel";
+ this.accessLabel.Size = new System.Drawing.Size(54, 13);
+ this.accessLabel.TabIndex = 17;
+ this.accessLabel.Text = "Accesses:";
+ //
+ // line1
+ //
+ this.line1.LineAlignment = Line.Alignment.Horizontal;
+ this.line1.Location = new System.Drawing.Point(7, 151);
+ this.line1.Name = "line1";
+ this.line1.Size = new System.Drawing.Size(356, 10);
+ this.line1.TabIndex = 18;
+ this.line1.Text = "line1";
+ //
+ // NewUpdateDialog
+ //
+ this.AcceptButton = this.installButton;
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.White;
+ this.CancelButton = this.cancelButton;
+ this.ClientSize = new System.Drawing.Size(371, 335);
+ this.Controls.Add(this.line1);
+ this.Controls.Add(this.accessLabel);
+ this.Controls.Add(this.controlPanel1);
+ this.Controls.Add(this.changelogLabel);
+ this.Controls.Add(this.updateSizeLabel);
+ this.Controls.Add(this.currentVersionLabel);
+ this.Controls.Add(this.newestVersionLabel);
+ this.Controls.Add(this.iconPictureBox);
+ this.Controls.Add(this.infoLabel);
+ this.Controls.Add(this.headerLabel);
+ this.Controls.Add(this.changelogTextBox);
+ this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "NewUpdateDialog";
+ this.ShowInTaskbar = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "FormTitle";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.NewUpdateDialog_FormClosing);
+ this.Load += new System.EventHandler(this.NewUpdateDialog_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).EndInit();
+ this.controlPanel1.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.RichTextBox changelogTextBox;
+ private System.Windows.Forms.Label headerLabel;
+ private System.Windows.Forms.Label infoLabel;
+ private System.Windows.Forms.PictureBox iconPictureBox;
+ private System.Windows.Forms.Label newestVersionLabel;
+ private System.Windows.Forms.Label currentVersionLabel;
+ private System.Windows.Forms.Label updateSizeLabel;
+ private System.Windows.Forms.Label changelogLabel;
+ private BottomPanel controlPanel1;
+ private System.Windows.Forms.Button cancelButton;
+ private System.Windows.Forms.Button installButton;
+ private System.Windows.Forms.Label accessLabel;
+ private Line line1;
+ }
+}
\ No newline at end of file
diff --git a/nUpdate/UI/Dialogs/NewUpdateDialog.cs b/nUpdate.WithoutTAP/UI/Dialogs/NewUpdateDialog.cs
similarity index 75%
rename from nUpdate/UI/Dialogs/NewUpdateDialog.cs
rename to nUpdate.WithoutTAP/UI/Dialogs/NewUpdateDialog.cs
index d789d4a3..a63df3ec 100644
--- a/nUpdate/UI/Dialogs/NewUpdateDialog.cs
+++ b/nUpdate.WithoutTAP/UI/Dialogs/NewUpdateDialog.cs
@@ -6,23 +6,22 @@
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
-using nUpdate.Core;
-using nUpdate.Core.Localization;
-using nUpdate.Core.Operations;
-using nUpdate.Core.Win32;
-using nUpdate.UI.Popups;
+using nUpdate.Internal.Core;
+using nUpdate.Internal.Core.Localization;
+using nUpdate.Internal.Core.Operations;
+using nUpdate.Internal.Core.Win32;
+using nUpdate.Internal.UI.Popups;
using nUpdate.Updating;
namespace nUpdate.UI.Dialogs
{
- public partial class NewUpdateDialog : BaseDialog
+ internal partial class NewUpdateDialog : BaseDialog
{
- private const float GB = 1073741824;
private readonly Icon _appIcon = IconHelper.ExtractAssociatedIcon(Application.ExecutablePath);
private bool _allowCancel;
private LocalizationProperties _lp;
- public NewUpdateDialog()
+ internal NewUpdateDialog()
{
InitializeComponent();
}
@@ -30,7 +29,7 @@ public NewUpdateDialog()
///
/// Sets a list of areas for this update's operations.
///
- public List OperationAreas { get; set; }
+ internal List OperationAreas { get; set; }
internal static void AddShieldToButton(Button btn)
{
@@ -53,10 +52,10 @@ public void CloseDialog(object state)
private void installButton_Click(object sender, EventArgs e)
{
double necessarySpaceToFree;
- if (!SizeHelper.HasEnoughSpace(Updater.TotalSize, out necessarySpaceToFree))
+ if (!SizeHelper.HasEnoughSpace(UpdateManager.TotalSize, out necessarySpaceToFree))
{
- var packageSizeString = SizeHelper.ConvertSize((long)Updater.TotalSize);
- var spaceToFreeString = SizeHelper.ConvertSize((long)necessarySpaceToFree);
+ var packageSizeString = SizeHelper.ConvertSize((long) UpdateManager.TotalSize);
+ var spaceToFreeString = SizeHelper.ConvertSize((long) necessarySpaceToFree);
Popup.ShowPopup(this, SystemIcons.Warning, "Not enough disk space.",
$"You don't have enough disk space left on your drive and nUpdate is not able to download and install the available updates ({packageSizeString}). Please free a minimum of {spaceToFreeString} to make sure the updates can be downloaded and installed without any problems.",
PopupButtons.Ok);
@@ -76,27 +75,28 @@ private void NewUpdateDialog_FormClosing(object sender, FormClosingEventArgs e)
private void NewUpdateDialog_Load(object sender, EventArgs e)
{
- _lp = LocalizationHelper.GetLocalizationProperties(Updater.LanguageCulture, Updater.CultureFilePaths);
+ _lp = LocalizationHelper.GetLocalizationProperties(UpdateManager.LanguageCulture,
+ UpdateManager.CultureFilePaths);
headerLabel.Text =
string.Format(
- Updater.PackageConfigurations.Count() > 1
+ UpdateManager.PackageConfigurations.Count() > 1
? _lp.NewUpdateDialogMultipleUpdatesHeader
- : _lp.NewUpdateDialogSingleUpdateHeader, Updater.PackageConfigurations.Count());
+ : _lp.NewUpdateDialogSingleUpdateHeader, UpdateManager.PackageConfigurations.Count());
infoLabel.Text = string.Format(_lp.NewUpdateDialogInfoText, Application.ProductName);
var availableVersions =
- Updater.PackageConfigurations.Select(item => new UpdateVersion(item.LiteralVersion)).ToArray();
+ UpdateManager.PackageConfigurations.Select(item => new UpdateVersion(item.LiteralVersion)).ToArray();
newestVersionLabel.Text = string.Format(_lp.NewUpdateDialogAvailableVersionsText,
- Updater.PackageConfigurations.Count() <= 2
+ UpdateManager.PackageConfigurations.Count() <= 2
? string.Join(", ", availableVersions.Select(item => item.FullText))
: $"{UpdateVersion.GetLowestUpdateVersion(availableVersions).FullText} - {UpdateVersion.GetHighestUpdateVersion(availableVersions).FullText}");
currentVersionLabel.Text = string.Format(_lp.NewUpdateDialogCurrentVersionText,
- Updater.CurrentVersion.FullText);
+ UpdateManager.CurrentVersion.FullText);
changelogLabel.Text = _lp.NewUpdateDialogChangelogText;
cancelButton.Text = _lp.CancelButtonText;
installButton.Text = _lp.InstallButtonText;
- var size = SizeHelper.ConvertSize((long)Updater.TotalSize);
+ var size = SizeHelper.ConvertSize((long) UpdateManager.TotalSize);
updateSizeLabel.Text = $"{string.Format(_lp.NewUpdateDialogSizeText, size)}";
Icon = _appIcon;
@@ -104,16 +104,13 @@ private void NewUpdateDialog_Load(object sender, EventArgs e)
iconPictureBox.Image = _appIcon.ToBitmap();
iconPictureBox.BackgroundImageLayout = ImageLayout.Center;
- foreach (var updateConfiguration in Updater.PackageConfigurations)
+ foreach (var updateConfiguration in UpdateManager.PackageConfigurations)
{
var versionText = new UpdateVersion(updateConfiguration.LiteralVersion).FullText;
- var changelogText = updateConfiguration.Changelog.ContainsKey(Updater.LanguageCulture)
- ? updateConfiguration.Changelog.First(item => Equals(item.Key, Updater.LanguageCulture)).Value
+ var changelogText = updateConfiguration.Changelog.ContainsKey(UpdateManager.LanguageCulture)
+ ? updateConfiguration.Changelog.First(item => Equals(item.Key, UpdateManager.LanguageCulture)).Value
: updateConfiguration.Changelog.First(item => item.Key.Name == "en").Value;
- if (Updater.TotalSize > GB)
- changelogTextBox.Text += _lp.NewUpdateDialogBigPackageWarning;
-
changelogTextBox.Text +=
string.Format(string.IsNullOrEmpty(changelogTextBox.Text) ? "{0}:\n{1}" : "\n\n{0}:\n{1}",
versionText, changelogText);
@@ -131,13 +128,5 @@ private void NewUpdateDialog_Load(object sender, EventArgs e)
$"{_lp.NewUpdateDialogAccessText} {string.Join(", ", LocalizationHelper.GetLocalizedEnumerationValues(_lp, OperationAreas.Cast