Skip to content

Commit

Permalink
Added a pending changes menu
Browse files Browse the repository at this point in the history
  • Loading branch information
bbepis committed Dec 29, 2015
1 parent af08e89 commit 40866cf
Show file tree
Hide file tree
Showing 12 changed files with 1,040 additions and 30 deletions.
12 changes: 12 additions & 0 deletions AA2Install/AA2Install.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@
<Compile Include="formAbout.Designer.cs">
<DependentUpon>formAbout.cs</DependentUpon>
</Compile>
<Compile Include="formChanges.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="formChanges.Designer.cs">
<DependentUpon>formChanges.cs</DependentUpon>
</Compile>
<Compile Include="formCrash.cs">
<SubType>Form</SubType>
</Compile>
Expand Down Expand Up @@ -123,6 +129,9 @@
<EmbeddedResource Include="formAbout.resx">
<DependentUpon>formAbout.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="formChanges.resx">
<DependentUpon>formChanges.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="formCrash.resx">
<DependentUpon>formCrash.cs</DependentUpon>
</EmbeddedResource>
Expand Down Expand Up @@ -201,6 +210,9 @@
<ItemGroup>
<None Include="resources\aa2install icon.png" />
</ItemGroup>
<ItemGroup>
<None Include="resources\database_go.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
5 changes: 5 additions & 0 deletions AA2Install/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Changelog

v6.2
+ Added a registry fixer
+ New form that shows pending changes
+ Dialog asking if you want to synchronize

v6.1.1
+ Improved mod deletion again
+ UI performance improvements
Expand Down
4 changes: 2 additions & 2 deletions AA2Install/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.6.1.1")]
[assembly: AssemblyFileVersion("0.6.1.1")]
[assembly: AssemblyVersion("0.6.2.0")]
[assembly: AssemblyFileVersion("0.6.2.0")]
10 changes: 10 additions & 0 deletions AA2Install/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions AA2Install/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,19 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="gears" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\gears.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="aa2install icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\aa2install icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="AA2Install" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\AA2Install.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="aa2install error" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\aa2install error.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="AA2Install" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\AA2Install.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="gears" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\gears.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="aa2install icon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\aa2install icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="database_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\resources\database_go.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
107 changes: 107 additions & 0 deletions AA2Install/formChanges.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions AA2Install/formChanges.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AA2Install
{
public partial class formChanges : Form
{
ToolStripMenuItem chk;
public formChanges(ToolStripMenuItem check)
{
InitializeComponent();
chk = check;
}

private void formChanges_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.CloseReason != CloseReason.UserClosing) return;
e.Cancel = true;
chk.Checked = false;
Hide();
}

private void formChanges_Activated(object sender, EventArgs e)
{
this.Opacity = 1.00;
}

private void formChanges_Deactivate(object sender, EventArgs e)
{
try { this.Opacity = 0.75; }
catch { }
}
}
}
Loading

0 comments on commit 40866cf

Please sign in to comment.