-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,040 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { } | ||
} | ||
} | ||
} |
Oops, something went wrong.