aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/FileSkimmer.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-24 14:48:39 -0400
committerMichael <[email protected]>2017-06-24 14:48:39 -0400
commit9c1a409f24da92f1e6d95ee4cdd777b52d53488f (patch)
treedf950dfe22623959d22208c6a0813d2a896b434c /ShiftOS.WinForms/Applications/FileSkimmer.cs
parent8621b3ddffdd8211604f01d90ff40c9b2991f27a (diff)
downloadshiftos_thereturn-9c1a409f24da92f1e6d95ee4cdd777b52d53488f.tar.gz
shiftos_thereturn-9c1a409f24da92f1e6d95ee4cdd777b52d53488f.tar.bz2
shiftos_thereturn-9c1a409f24da92f1e6d95ee4cdd777b52d53488f.zip
file skimmer disconnect button
Diffstat (limited to 'ShiftOS.WinForms/Applications/FileSkimmer.cs')
-rw-r--r--ShiftOS.WinForms/Applications/FileSkimmer.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/Applications/FileSkimmer.cs b/ShiftOS.WinForms/Applications/FileSkimmer.cs
index dee751b..3e17420 100644
--- a/ShiftOS.WinForms/Applications/FileSkimmer.cs
+++ b/ShiftOS.WinForms/Applications/FileSkimmer.cs
@@ -77,6 +77,8 @@ namespace ShiftOS.WinForms.Applications
private void FileSkimmer_OnDisconnect()
{
+ connectToRemoteServerToolStripMenuItem.Text = "Start Remote Session";
+ disconnectToolStripMenuItem.Visible = false;
currentdir = "__system";
ResetList();
}
@@ -579,6 +581,7 @@ namespace ShiftOS.WinForms.Applications
ChangeDirectory("2:");
pnlconnect.Hide();
connectToRemoteServerToolStripMenuItem.Text = "Reauthenticate";
+ disconnectToolStripMenuItem.Visible = true;
return;
}
Infobox.Show("Access denied.", "Authentication failed for the specified user. Connection aborted.");
@@ -592,5 +595,10 @@ namespace ShiftOS.WinForms.Applications
t.IsBackground = true;
t.Start();
}
+
+ private void disconnectToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ DisconnectRemote();
+ }
}
}