public void DoBus() { Splash sp = new Splash(); try { sp.Show(); DownloadWindow win = new DownloadWindow(_wizard); _wizard.DownloadOpenEngSb(false); sp.Close(); win.ShowDialog(); _wizard.ExecuteBus(); } catch (Exception e) { MessageBox.Show(e.Message); } finally { sp.Close(); } }
public void DownloadBridge(bool overwrite) { Splash sp = new Splash(); try { sp.Show(); DownloadWindow win = new DownloadWindow(_wizard); _wizard.DownloadBridge(overwrite); sp.Close(); win.ShowDialog(); } catch (Exception e) { MessageBox.Show(e.Message); } finally { sp.Close(); } }