Skip to content

Commit

Permalink
Design update + Select/Deselect all button
Browse files Browse the repository at this point in the history
  • Loading branch information
Iswenzz committed Oct 1, 2019
1 parent e98eccc commit 74a2e75
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 34 deletions.
1 change: 0 additions & 1 deletion AION Encdec.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="ClassDiagram1.cd" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Expand Down
2 changes: 0 additions & 2 deletions ClassDiagram1.cd

This file was deleted.

Binary file modified ConsoleControl.dll
Binary file not shown.
97 changes: 66 additions & 31 deletions Encdec.Designer.cs

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

17 changes: 17 additions & 0 deletions Encdec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,22 @@ private void flatButton4_Click(object sender, EventArgs e)
PopUp popUp = new PopUp();
popUp.Show();
}

private void SelectAllButton_Click(object sender, EventArgs e)
{
switch (SelectAllButton.Text)
{
case "Select All":
for (int i = 0; i < listBox.Items.Count; i++)
listBox.SetItemChecked(i, true);
SelectAllButton.Text = "Deselect All";
break;
case "Deselect All":
for (int i = 0; i < listBox.Items.Count; i++)
listBox.SetItemChecked(i, false);
SelectAllButton.Text = "Select All";
break;
}
}
}
}
Binary file modified bin/Debug/Aion Encdec.exe
Binary file not shown.
Binary file modified bin/Debug/Aion Encdec.pdb
Binary file not shown.

0 comments on commit 74a2e75

Please sign in to comment.