Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
master131 committed Jan 24, 2019
0 parents commit 11f7ef9
Show file tree
Hide file tree
Showing 123 changed files with 88,359 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
obj/
bin/Release/Protected/Black Ops II Sound Studio.exe
bin/Release/Protected/
bin/Debug/Identifiers/
bin/Debug/MLibrary.pdb
bin/Debug/flac.exe
bin/Debug/Black Ops II Sound Studio.vshost.exe.config
bin/Debug/Black Ops II Sound Studio.vshost.exe
bin/Debug/Black Ops II Sound Studio.pdb
bin/Debug/Black Ops II Sound Studio.exe.config
bin/Debug/Black Ops II Sound Studio.exe
bin/Debug/Names.xml
Black Ops II Sound Studio.csproj.DotSettings
250 changes: 250 additions & 0 deletions AboutForm.Designer.cs

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

42 changes: 42 additions & 0 deletions AboutForm.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using BlackOps2SoundStudio.Properties;

namespace BlackOps2SoundStudio
{
public partial class AboutForm : Form
{
public AboutForm()
{
InitializeComponent();
aboutRichTextBox.Rtf = Resources.About;

// DPI clipping fix.
using (var g = CreateGraphics())
if (g.DpiX > 96)
Recurse(this);
}

private void Recurse(Control control)
{
foreach (Control child in control.Controls)
Recurse(child);

var label = control as Label;
if (label != null)
label.Font = new Font(label.Font.FontFamily, label.Font.Size * 0.75f, label.Font.Style);
}

private void closeButton_Click(object sender, EventArgs e)
{
Close();
}

private void aboutRichTextBox_LinkClicked(object sender, LinkClickedEventArgs e)
{
Process.Start(e.LinkText);
}
}
}
Loading

0 comments on commit 11f7ef9

Please sign in to comment.