Skip to content

Commit

Permalink
Version 0.0.7, ManagedBass
Browse files Browse the repository at this point in the history
  • Loading branch information
bribi5940 committed Jun 23, 2023
1 parent 93a26a1 commit 9f4deb0
Show file tree
Hide file tree
Showing 39 changed files with 1,877 additions and 2,137 deletions.
2 changes: 2 additions & 0 deletions OmniConverter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ Global
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{27EFEEA6-BF11-4AB7-92EC-E95430D9C3D6}.Debug|x64.ActiveCfg = Debug|x64
{27EFEEA6-BF11-4AB7-92EC-E95430D9C3D6}.Debug|x64.Build.0 = Debug|x64
{27EFEEA6-BF11-4AB7-92EC-E95430D9C3D6}.Release|x64.ActiveCfg = Release|x64
{27EFEEA6-BF11-4AB7-92EC-E95430D9C3D6}.Release|x64.Build.0 = Release|x64
{49122F52-0B71-46BE-9F86-17A53C7FF333}.Debug|x64.ActiveCfg = Debug|x64
{49122F52-0B71-46BE-9F86-17A53C7FF333}.Debug|x64.Build.0 = Debug|x64
{49122F52-0B71-46BE-9F86-17A53C7FF333}.Release|x64.ActiveCfg = Release|x64
{49122F52-0B71-46BE-9F86-17A53C7FF333}.Release|x64.Build.0 = Release|x64
EndGlobalSection
Expand Down
3 changes: 3 additions & 0 deletions OmniConverter/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
<setting name="ChorusValue" serializeAs="String">
<value>0</value>
</setting>
<setting name="Volume" serializeAs="String">
<value>1</value>
</setting>
</OmniConverter.Properties.Settings>
</userSettings>
<applicationSettings>
Expand Down
77 changes: 0 additions & 77 deletions OmniConverter/Controls/MIDIThreadStatus.Designer.cs

This file was deleted.

20 changes: 0 additions & 20 deletions OmniConverter/Controls/MIDIThreadStatus.cs

This file was deleted.

120 changes: 0 additions & 120 deletions OmniConverter/Controls/MIDIThreadStatus.resx

This file was deleted.

73 changes: 73 additions & 0 deletions OmniConverter/Controls/TaskStatus.Designer.cs

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

55 changes: 55 additions & 0 deletions OmniConverter/Controls/TaskStatus.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
using MIDIModificationFramework;
using System;
using System.Windows.Forms;

namespace OmniConverter
{
public partial class TaskStatus : UserControl
{
string OgTitle = string.Empty;

public TaskStatus(String MIDITitle)
{
InitializeComponent();

OgTitle = MIDITitle;
MIDIT.Text = OgTitle;
}

public void UpdateTitle(string Text)
{
if (InvokeRequired)
{
BeginInvoke(new MethodInvoker(() => UpdateTitle(Text)), null);
return;
}

if (!string.IsNullOrEmpty(Text))
MIDIT.Text = $"{OgTitle} - {Text}";
else
MIDIT.Text = OgTitle;
}

public void UpdatePBStyle(ProgressBarStyle PBM)
{
if (InvokeRequired)
{
BeginInvoke(new MethodInvoker(() => UpdatePBStyle(PBM)), null);
return;
}

MIDIPB.Style = PBM;
}

public void UpdatePB(int PBV)
{
if (InvokeRequired)
{
BeginInvoke(new MethodInvoker(() => UpdatePB(PBV)), null);
return;
}

MIDIPB.Value = PBV.LimitToRange(0, 100);
}
}
}
Loading

0 comments on commit 9f4deb0

Please sign in to comment.