Remove orphaned code
This commit is contained in:
parent
23186bc68d
commit
c35b0662ea
2 changed files with 0 additions and 65 deletions
|
|
@ -230,10 +230,6 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
public static event GetSessionInfoDelegate privateGetSessionInfo;
|
||||
|
||||
public static event EventHandler privateStartLogin;
|
||||
|
||||
public static event EventHandler privateStartLogout;
|
||||
|
||||
public SlicePresetsWindow EditMaterialPresetsWindow { get; set; }
|
||||
|
||||
public SlicePresetsWindow EditQualityPresetsWindow { get; set; }
|
||||
|
|
@ -257,34 +253,6 @@ namespace MatterHackers.MatterControl
|
|||
ReloadAll(null, null);
|
||||
}
|
||||
|
||||
public void StartLogin()
|
||||
{
|
||||
if (privateStartLogin != null)
|
||||
{
|
||||
privateStartLogin(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
public void StartLogout()
|
||||
{
|
||||
if (privateStartLogout != null)
|
||||
{
|
||||
privateStartLogout(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
public string GetSessionUsername()
|
||||
{
|
||||
if (privateGetSessionInfo != null)
|
||||
{
|
||||
return privateGetSessionInfo();
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public void ReloadAll(object sender, EventArgs e)
|
||||
{
|
||||
UiThread.RunOnIdle(() =>
|
||||
|
|
|
|||
|
|
@ -57,39 +57,6 @@ namespace MatterHackers.MatterControl.ConfigurationPage
|
|||
}
|
||||
}
|
||||
|
||||
public static Action disableCloudMonitorFunction = null;
|
||||
|
||||
private void disableCloudMonitor_Click(object sender, EventArgs mouseEvent)
|
||||
{
|
||||
PrinterSettings.Instance.set("CloudMonitorEnabled", "false");
|
||||
ApplicationController.Instance.ChangeCloudSyncStatus();
|
||||
ApplicationController.Instance.ReloadAdvancedControlsPanel();
|
||||
if (disableCloudMonitorFunction != null)
|
||||
{
|
||||
UiThread.RunOnIdle(disableCloudMonitorFunction);
|
||||
}
|
||||
}
|
||||
|
||||
public static Action openDashboardPageFunction = null;
|
||||
|
||||
private void goCloudMonitoringWebPageButton_Click(object sender, EventArgs mouseEvent)
|
||||
{
|
||||
if (openDashboardPageFunction != null)
|
||||
{
|
||||
UiThread.RunOnIdle(openDashboardPageFunction);
|
||||
}
|
||||
}
|
||||
|
||||
public static Action openInstructionsPageFunction = null;
|
||||
|
||||
private void goCloudMonitoringInstructionsButton_Click(object sender, EventArgs mouseEvent)
|
||||
{
|
||||
if (openDashboardPageFunction != null)
|
||||
{
|
||||
UiThread.RunOnIdle(openInstructionsPageFunction);
|
||||
}
|
||||
}
|
||||
|
||||
private FlowLayoutWidget GetCloudMonitorControls()
|
||||
{
|
||||
FlowLayoutWidget buttonBar = new FlowLayoutWidget();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue