This commit is contained in:
Александр Бабаев 2023-11-21 22:45:12 +03:00
parent 2300e68408
commit 85735ff3a6
9 changed files with 13 additions and 13 deletions

View File

@ -1,6 +1,6 @@
namespace msoui.Forms; namespace msoui.Forms;
partial class InstallForm internal sealed partial class InstallForm
{ {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.

View File

@ -2,7 +2,7 @@
namespace msoui.Forms; namespace msoui.Forms;
public partial class InstallForm : Form internal sealed partial class InstallForm : Form
{ {
public InstallForm(InstallModel model) public InstallForm(InstallModel model)
{ {
@ -10,7 +10,7 @@ public partial class InstallForm : Form
InitializeComponent(); InitializeComponent();
} }
public InstallModel Model { get; set; } private InstallModel Model { get; set; }
private void LogIt(string message) private void LogIt(string message)
{ {
@ -30,7 +30,7 @@ public partial class InstallForm : Form
Application.DoEvents(); Application.DoEvents();
} }
public void StartProcess(string fileName) private void StartProcess(string fileName)
{ {
process.StartInfo.FileName = fileName; process.StartInfo.FileName = fileName;
process.StartInfo.Arguments = "/q /norestart"; process.StartInfo.Arguments = "/q /norestart";
@ -42,7 +42,7 @@ public partial class InstallForm : Form
} }
public void InstallUpdates() private void InstallUpdates()
{ {
//Сообщение о начале установки //Сообщение о начале установки
LogIt("Начинаю установку..."); LogIt("Начинаю установку...");

View File

@ -1,6 +1,6 @@
namespace msoui.Forms; namespace msoui.Forms;
sealed partial class MainForm internal sealed partial class MainForm
{ {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.

View File

@ -2,7 +2,7 @@ using msoui.Models;
namespace msoui.Forms; namespace msoui.Forms;
public sealed partial class MainForm : Form internal sealed partial class MainForm : Form
{ {
public MainForm() public MainForm()
{ {

View File

@ -1,6 +1,6 @@
namespace msoui.Forms; namespace msoui.Forms;
sealed partial class ScanDirForm internal sealed partial class ScanDirForm
{ {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.

View File

@ -2,7 +2,7 @@
namespace msoui.Forms; namespace msoui.Forms;
public sealed partial class ScanDirForm : Form internal sealed partial class ScanDirForm : Form
{ {
private const string SearchFile = "&Пожалуйста, подождите. Идёт поиск файлов. Найдено: {0} файлов..."; private const string SearchFile = "&Пожалуйста, подождите. Идёт поиск файлов. Найдено: {0} файлов...";

View File

@ -1,6 +1,6 @@
namespace msoui.Forms; namespace msoui.Forms;
sealed partial class UpdatesListForm internal sealed partial class UpdatesListForm
{ {
/// <summary> /// <summary>
/// Required designer variable. /// Required designer variable.

View File

@ -2,7 +2,7 @@
namespace msoui.Forms; namespace msoui.Forms;
public sealed partial class UpdatesListForm : Form internal sealed partial class UpdatesListForm : Form
{ {
private const string SelectionStatusLabel = "{0} выбрано из {1}"; private const string SelectionStatusLabel = "{0} выбрано из {1}";

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework> <TargetFramework>net8.0-windows7.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
@ -17,7 +17,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="ANBSoftware.ComponentsPack" Version="1.2022.723" /> <PackageReference Include="ANBSoftware.ComponentsPack" Version="2023.1115.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>