Skip to content

Commit c17d77a

Browse files
authored
Release V.1.0.0
1 parent 3ab8a79 commit c17d77a

12 files changed

+184
-116
lines changed

ARveCore/ARveCore.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
<PropertyGroup>
3737
<ApplicationIcon>icon.ico</ApplicationIcon>
3838
</PropertyGroup>
39+
<PropertyGroup>
40+
<ApplicationManifest>app.manifest</ApplicationManifest>
41+
</PropertyGroup>
3942
<ItemGroup>
4043
<Reference Include="Memory, Version=1.2.24.0, Culture=neutral, processorArchitecture=MSIL">
4144
<SpecificVersion>False</SpecificVersion>
@@ -87,6 +90,7 @@
8790
<SubType>Designer</SubType>
8891
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
8992
</EmbeddedResource>
93+
<None Include="app.manifest" />
9094
<None Include="Properties\Settings.settings">
9195
<Generator>SettingsSingleFileGenerator</Generator>
9296
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

ARveCore/Form1.Designer.cs

Lines changed: 95 additions & 109 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ARveCore/Form1.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ private void TrainerForm_Load(object sender, EventArgs e)
2828

2929
private void StartButton_Click(object sender, EventArgs e)
3030
{
31+
StartButton.Enabled = false;
3132
FillProgressBar();
3233
CheckMemory_DLL();
34+
ChangeAllFunc(true, false);
3335
Task.Factory.StartNew(LogConsole);
3436
}
3537

@@ -40,17 +42,16 @@ private void UnlimitedBaseItems_CheckedChanged(object sender, EventArgs e)
4042
if (!Offsets.CheckBaseItemOffset())
4143
{
4244
Trainer.Logger("BaseItem offset load error", "Func: UnlimitedBaseItems", ConsoleColor.Yellow, ConsoleColor.Red);
45+
UnlimitedBaseItems.Checked = false;
4346
UnlimitedBaseItems.Enabled = false;
4447
}
4548
else if (UnlimitedBaseItems.Checked)
4649
{
47-
ChangeAllFunc(true, false);
4850
Trainer.UnlimitedBaseItems();
4951
}
5052
else if (!UnlimitedBaseItems.Checked)
5153
{
5254
Trainer.LimitedBaseItems();
53-
ChangeAllFunc(false, true);
5455
}
5556
}
5657

@@ -60,8 +61,6 @@ private void UnlimitedSelectedItem_CheckedChanged(object sender, EventArgs e)
6061

6162
if (UnlimitedSelectedItem.Checked)
6263
{
63-
ChangeAllFunc(true, false);
64-
6564
Trainer.UnlimitedSelectedItem();
6665

6766
SelectedItemCounter.Text = Offsets.SelectedItem.ToString();
@@ -75,7 +74,6 @@ private void UnlimitedSelectedItem_CheckedChanged(object sender, EventArgs e)
7574
{
7675
Trainer.LimitedSelectedItem();
7776
SelectedItemCounter.Text = "Null";
78-
ChangeAllFunc(false, true);
7977
}
8078
}
8179

@@ -132,7 +130,7 @@ private void UnlimitedNotebook_CheckedChanged(object sender, EventArgs e)
132130
}
133131
else if (!UnlimitedNotebook.Checked)
134132
{
135-
Trainer.UnlimitedNotebook();
133+
Trainer.LimitedNotebook();
136134
}
137135
}
138136

ARveCore/FormAdditions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ private static void CheckProcess()
3232
}
3333
catch
3434
{
35+
MessageBox.Show("Process closed", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
3536
Application.Exit();
36-
Thread.Sleep(1000);
3737
}
3838
}
3939

@@ -93,6 +93,7 @@ private void ChangeAllFunc(bool uncheckedAllFunc, bool conditionAllFunc)
9393
UnlimitedThermometer.Checked = false;
9494
UnlimitedTripod.Checked = false;
9595
}
96+
9697
UnlimitedCamera.Enabled = conditionAllFunc;
9798
UnlimitedRadio.Enabled = conditionAllFunc;
9899
UnlimitedNotebook.Enabled = conditionAllFunc;

ARveCore/app.manifest

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3+
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
4+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
5+
<security>
6+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
7+
<!-- Параметры манифеста UAC
8+
Если вы хотите изменить уровень контроля учетных записей Windows, замените узел
9+
requestedExecutionLevel на один из следующих.
10+
11+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
12+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
13+
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
14+
15+
При указании элемента requestedExecutionLevel будет отключена виртуализация файлов и реестра.
16+
Удалите этот элемент, если виртуализация требуется приложению для обратной
17+
совместимости.
18+
-->
19+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
20+
</requestedPrivileges>
21+
</security>
22+
</trustInfo>
23+
24+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
25+
<application>
26+
<!-- Список версий Windows, на которых это приложение было протестировано
27+
и будет работать. Раскомментируйте соответствующие элементы, чтобы ОС Windows
28+
автоматически выбрала наиболее совместимое окружение. -->
29+
30+
<!-- Windows Vista -->
31+
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
32+
33+
<!-- Windows 7 -->
34+
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
35+
36+
<!-- Windows 8 -->
37+
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
38+
39+
<!-- Windows 8.1 -->
40+
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
41+
42+
<!-- Windows 10 -->
43+
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
44+
45+
</application>
46+
</compatibility>
47+
48+
<!-- Указывает, что приложение поддерживает определение DPI и не будет автоматически масштабироваться Windows при более высоких
49+
значениях DPI. Приложения Windows Presentation Foundation (WPF) по умолчанию поддерживают определение DPI, им не нужно
50+
специально включать параметр для этого. Для приложений Windows Forms на платформе .NET Framework 4.6, для которых задан этот параметр, необходимо
51+
также задать для "EnableWindowsFormsHighDpiAutoResizing" значение "true" в файле app.config.
52+
53+
При этом приложение начинает учитывать длинные пути. Дополнительные сведения см. на странице https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation.-->
54+
<!--
55+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
56+
<windowsSettings>
57+
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
58+
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
59+
</windowsSettings>
60+
</application>
61+
-->
62+
63+
<!-- Включите темы для общих элементов управления и диалоговых окон Windows (Windows XP и более поздние версии) -->
64+
<!--
65+
<dependency>
66+
<dependentAssembly>
67+
<assemblyIdentity
68+
type="win32"
69+
name="Microsoft.Windows.Common-Controls"
70+
version="6.0.0.0"
71+
processorArchitecture="*"
72+
publicKeyToken="6595b64144ccf1df"
73+
language="*"
74+
/>
75+
</dependentAssembly>
76+
</dependency>
77+
-->
78+
79+
</assembly>

ARveCore/bin/Debug/ARveCore.exe

3 KB
Binary file not shown.

ARveCore/bin/Debug/ARveCore.pdb

0 Bytes
Binary file not shown.
-4.39 KB
Binary file not shown.
0 Bytes
Binary file not shown.

ARveCore/obj/Debug/ARveCore.exe

3 KB
Binary file not shown.

0 commit comments

Comments
 (0)