mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-21 06:59:17 +00:00
More cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|||||||
Executable → Regular
-4
@@ -1,10 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Threading;
|
|
||||||
|
|
||||||
namespace SharpOSC
|
namespace SharpOSC
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -50,13 +50,13 @@ namespace qController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PromptForWorkspace(List<QInfo> workspaces)
|
private void PromptForWorkspace(List<QWorkspaceInfo> workspaces)
|
||||||
{
|
{
|
||||||
ActionSheetConfig config = new ActionSheetConfig();
|
ActionSheetConfig config = new ActionSheetConfig();
|
||||||
config.SetTitle("Select Workspace");
|
config.SetTitle("Select Workspace");
|
||||||
for (int i = 0; i < workspaces.Count; i++)
|
for (int i = 0; i < workspaces.Count; i++)
|
||||||
{
|
{
|
||||||
QInfo workspace = workspaces[i];
|
QWorkspaceInfo workspace = workspaces[i];
|
||||||
config.Add(workspace.displayName, new Action(() => {
|
config.Add(workspace.displayName, new Action(() => {
|
||||||
Console.WriteLine("Workspace Selected: " + workspace.displayName);
|
Console.WriteLine("Workspace Selected: " + workspace.displayName);
|
||||||
qController.Connect(workspace.uniqueID);
|
qController.Connect(workspace.uniqueID);
|
||||||
|
|||||||
Reference in New Issue
Block a user