Skip to content

Commit

Permalink
ReUpload
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitradis committed May 23, 2022
0 parents commit 03e1216
Show file tree
Hide file tree
Showing 37 changed files with 4,671 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Nifscan.sln
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 added Nifscan.v11.suo
Binary file not shown.
6 changes: 6 additions & 0 deletions Nifscan/App.config
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>
264 changes: 264 additions & 0 deletions Nifscan/FormEC.Designer.cs

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

66 changes: 66 additions & 0 deletions Nifscan/FormEC.cs
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);
}
}
}
Loading

0 comments on commit 03e1216

Please sign in to comment.