Skip to content

Commit c7c69bf

Browse files
Update to v0.2
1 parent 3783e0d commit c7c69bf

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

MaxLifxCore.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RGB.NET.Devices.PicoPi", "R
4545
EndProject
4646
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RGB.NET", "RGB.NET", "{F0C96BD6-8BF3-4C1E-A456-C9A82EEEDC6A}"
4747
EndProject
48-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaxLifxCore", "MaxLifxCore\MaxLifxCore.csproj", "{D373E714-313E-400B-9960-A29062E444AB}"
48+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MaxLights", "MaxLifxCore\MaxLights.csproj", "{D373E714-313E-400B-9960-A29062E444AB}"
4949
EndProject
50-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MaxLifxCoreBulbController", "MaxLifxCoreBulbController\MaxLifxCoreBulbController.csproj", "{BE442975-98B6-47C4-8444-518D134E30F6}"
50+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MaxLifxCoreBulbController", "MaxLifxCoreBulbController\MaxLifxCoreBulbController.csproj", "{BE442975-98B6-47C4-8444-518D134E30F6}"
5151
EndProject
5252
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DesktopDuplication", "DesktopDuplication\DesktopDuplication.csproj", "{EDB17386-5F3B-48B6-8B4F-5A40527BB875}"
5353
EndProject

MaxLifxCore/Form1.Designer.cs

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MaxLifxCore/Form1.cs

+15-2
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,18 @@ public partial class Form1 : Form
3838

3939
public Bitmap bitmap { get; set; }
4040

41-
public readonly decimal Version = 0.1m;
41+
public readonly decimal Version = 0.2m;
4242

4343
public Form1()
4444
{
45-
CheckForNewVersion();
45+
try
46+
{
47+
CheckForNewVersion();
48+
}
49+
catch (Exception ex)
50+
{
51+
52+
}
4653

4754
InitializeComponent();
4855
bitmap = new Bitmap(pictureBox1.Width, 1);
@@ -460,6 +467,12 @@ private void button6_Click(object sender, EventArgs e)
460467
}
461468
}
462469

470+
private void Form1_FormClosed(object sender, FormClosedEventArgs e)
471+
{
472+
// Life is short.
473+
Environment.Exit(0);
474+
}
475+
463476
//private void button5_Click(object sender, EventArgs e)
464477
//{
465478
// var selectedItem = listBox1.SelectedItem.ToString();
File renamed without changes.

RGB.NET.Core/Update/Devices/UpdateQueue.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public virtual void Dispose()
113113
{
114114
_updateTrigger.Starting -= OnStartup;
115115
_updateTrigger.Update -= OnUpdate;
116-
116+
_updateTrigger.Dispose();
117117
Reset();
118118

119119
GC.SuppressFinalize(this);

0 commit comments

Comments
 (0)