Skip to content

Commit

Permalink
v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Padme4000 committed Feb 1, 2024
1 parent 17f07e3 commit 91cd46e
Show file tree
Hide file tree
Showing 14 changed files with 1,603 additions and 147 deletions.
3 changes: 3 additions & 0 deletions BG3 Mini Tool/BG3 Mini Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
</ItemGroup>

<ItemGroup>
<Compile Update="Form12.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
Expand Down
54 changes: 20 additions & 34 deletions BG3 Mini Tool/Form1.Designer.cs

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

53 changes: 16 additions & 37 deletions BG3 Mini Tool/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ namespace BG3_Mini_Tool
{
public partial class Form1 : Form
{
private Form3? form3Instance;

public Form1()
{
InitializeComponent();
}

private Form3? form3Instance;
private void Button16_Click(object sender, EventArgs e)
{
if (form3Instance == null)
Expand All @@ -31,28 +33,19 @@ private void Button16_Click(object sender, EventArgs e)
form3Instance.BringToFront();
}
}
private void Button2_Click(object sender, EventArgs e)
{

}

private void Button3_Click(object sender, EventArgs e)
{
}


private Form2? Form2Instance;
private Form11? Form11Instance;
private void Button1_Click(object sender, EventArgs e)
{
if (Form2Instance == null)
if (Form11Instance == null)
{
Form2Instance = new Form2();
Form2Instance.Show();
Form11Instance = new Form11();
Form11Instance.Show();
}
else
{
Form2Instance.Show();
Form2Instance.BringToFront();
Form11Instance.Show();
Form11Instance.BringToFront();
}
}

Expand Down Expand Up @@ -99,32 +92,18 @@ private void Form1_Resize(object sender, EventArgs e)
this.Size = new Size(302, 460);
}

private Form8 Form8Instance;

private void button2_Click_2(object sender, EventArgs e)
{
if (Form8Instance == null || Form8Instance.IsDisposed)
{
Form8Instance = new Form8();
}

Form8Instance.Show();
Form8Instance.BringToFront();
}

private Form10? Form10Instance;

private void button3_Click_1(object sender, EventArgs e)
private Form5? Form5Instance;
private void button5_Click(object sender, EventArgs e)
{
if (Form10Instance == null)
if (Form5Instance == null)
{
Form10Instance = new Form10();
Form10Instance.Show();
Form5Instance = new Form5();
Form5Instance.Show();
}
else
{
Form10Instance.Show();
Form10Instance.BringToFront();
Form5Instance.Show();
Form5Instance.BringToFront();
}
}
}
Expand Down
132 changes: 132 additions & 0 deletions BG3 Mini Tool/Form11.Designer.cs

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

Loading

0 comments on commit 91cd46e

Please sign in to comment.