Remove dead code

This commit is contained in:
John Lewin 2018-11-21 08:30:45 -08:00
parent 8fa3fab022
commit 4141c10e86
2 changed files with 2 additions and 8 deletions

View file

@ -361,9 +361,6 @@ namespace MatterHackers.MatterControl
public event EventHandler<OpenPrintersChangedEventArgs> OpenPrintersChanged;
public static Action SignInAction;
public static Action SignOutAction;
public static Action WebRequestFailed;
public static Action WebRequestSucceeded;
@ -1745,8 +1742,6 @@ namespace MatterHackers.MatterControl
ProfileManager.Instance.EnsurePrintersImported();
}
private EventHandler unregisterEvent;
public Stream LoadHttpAsset(string url)
{
string fingerPrint = ToSHA1(url);

View file

@ -185,7 +185,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
this.CreatePartTab().ConfigureAwait(false);
}
string tabKey = ApplicationController.Instance.MainTabKey;
if (string.IsNullOrEmpty(tabKey))
@ -278,7 +278,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
SetLinkButtonsVisibility(s, new StringEventArgs("Unknown"));
}, ref unregisterEvents);
ApplicationController.Instance.MainView = this;
}
@ -635,7 +635,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
}
#endif
private void Printer_SettingChanged(object s, EventArgs e)
{
if (s is PrinterSettings printerSettings