-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 03e1216
Showing
37 changed files
with
4,671 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Express 2012 for Windows Desktop | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nifscan", "Nifscan\Nifscan.csproj", "{954D1A7F-D909-43EC-A1E2-053ABF7358D6}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{954D1A7F-D909-43EC-A1E2-053ABF7358D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{954D1A7F-D909-43EC-A1E2-053ABF7358D6}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{954D1A7F-D909-43EC-A1E2-053ABF7358D6}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{954D1A7F-D909-43EC-A1E2-053ABF7358D6}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
Binary file not shown.
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,6 @@ | ||
<?xml version="1.0"?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> | ||
</startup> | ||
</configuration> |
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,66 @@ | ||
using System; | ||
using System.Windows.Forms; | ||
|
||
namespace Nifscan | ||
{ | ||
public partial class FormEC : Form | ||
{ | ||
public FormEC() | ||
{ | ||
InitializeComponent(); | ||
comboBox1.SelectedIndex = FormMain.ecShaderType; | ||
checkBox1.Checked = FormMain.ecColor; | ||
checkBox2.Checked = FormMain.ecMultiple; | ||
numericUpDown1.Value = (decimal)FormMain.ecR; | ||
numericUpDown2.Value = (decimal)FormMain.ecG; | ||
numericUpDown3.Value = (decimal)FormMain.ecB; | ||
numericUpDown4.Value = (decimal)FormMain.ecM; | ||
} | ||
|
||
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecShaderType = comboBox1.SelectedIndex; | ||
} | ||
|
||
private void checkBox1_CheckedChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecColor = checkBox1.Checked; | ||
numericUpDown1.Enabled = checkBox1.Checked; | ||
numericUpDown2.Enabled = checkBox1.Checked; | ||
numericUpDown3.Enabled = checkBox1.Checked; | ||
changeButton(); | ||
} | ||
|
||
private void checkBox2_CheckedChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecMultiple = checkBox2.Checked; | ||
numericUpDown4.Enabled = checkBox2.Checked; | ||
changeButton(); | ||
} | ||
|
||
private void numericUpDown1_ValueChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecR = (float)numericUpDown1.Value; | ||
} | ||
|
||
private void numericUpDown2_ValueChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecG = (float)numericUpDown2.Value; | ||
} | ||
|
||
private void numericUpDown3_ValueChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecB = (float)numericUpDown3.Value; | ||
} | ||
|
||
private void numericUpDown4_ValueChanged(object sender, EventArgs e) | ||
{ | ||
FormMain.ecM = (float)numericUpDown4.Value; | ||
} | ||
|
||
private void changeButton() | ||
{ | ||
FormMain.formMain.buttonColorEC(checkBox1.Checked || checkBox2.Checked); | ||
} | ||
} | ||
} |
Oops, something went wrong.