Skip to content

Commit

Permalink
Testing osk
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Langlais authored and Evan Langlais committed Mar 24, 2017
1 parent a29958a commit 8af525b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Enigma/StationsGUI/DebugStationView.Designer.cs

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

6 changes: 6 additions & 0 deletions Enigma/StationsGUI/DebugStationView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@ private void metroButton2_Click(object sender, EventArgs e)
_station.interCom.send("%HOST%|-test", "This is a test dummy ping");
}
}

private void metroButton3_Click(object sender, EventArgs e)
{
SystemFunctions.showOSK();

}
}
}
9 changes: 9 additions & 0 deletions EnigmaX/Classes/SystemFunctions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using EnigmaX.GUI;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
Expand All @@ -23,5 +25,12 @@ public static Employee showPinScreenUntilAuthenticated(EmployeeRole role)
}
}

public static void showOSK() {
string progFiles = @"C:\Program Files\Common Files\Microsoft Shared\ink";
string keyboardPath = Path.Combine(progFiles, "TabTip.exe");
Process keyboardProc = Process.Start(keyboardPath);

}

}
}

0 comments on commit 8af525b

Please sign in to comment.