Skip to content

Commit

Permalink
Comment out usages of status_bar
Browse files Browse the repository at this point in the history
  • Loading branch information
vzyrianov committed Sep 19, 2018
1 parent 08e360b commit b69538a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions iTraceVS/socket_manager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class socket_manager
static StreamReader clientIn;
private static Thread readWorker;
public static reticle ret = null;
public static status_bar statusBar;
//public static status_bar statusBar;

public static void getSocket() {
try {
Expand All @@ -25,8 +25,8 @@ public static void getSocket() {
active = true;
itrace_windowControl.connected = true;

statusBar = new status_bar();
statusBar.startUpdating();
//statusBar = new status_bar();
//statusBar.startUpdating();

readWorker = new Thread(readData);
readWorker.Start();
Expand Down
2 changes: 1 addition & 1 deletion iTraceVS/xml_writer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static void timerTick(object sender, EventArgs e) {
if (data.sessionTime != -1) {
writeResponse(data.sessionTime, data.eyeX, data.eyeY);
socket_manager.ret.updateReticle(Convert.ToInt32(data.eyeX), Convert.ToInt32(data.eyeY));
socket_manager.statusBar.setText(data.sessionTime.ToString());
//socket_manager.statusBar.setText(data.sessionTime.ToString());
}
dataReady = false;
}
Expand Down

0 comments on commit b69538a

Please sign in to comment.