Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3697 for trunk/sources


Ignore:
Timestamp:
05/07/10 13:22:53 (15 years ago)
Author:
mkommend
Message:

fixed SplashScreen (ticket #989)

Location:
trunk/sources/HeuristicLab.PluginInfrastructure/Starter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Starter/SplashScreen.cs

    r3113 r3697  
    106106    }
    107107
     108    public void Show(IWin32Window owner, string initialText) {
     109      if (InvokeRequired) Invoke((Action<string>)Show, initialText);
     110      else {
     111        Opacity = 1;
     112        infoLabel.Text = initialText;
     113        fadeOutForced = false;
     114        ResetFadeTimer();
     115        Show(owner);
     116      }
     117    }
     118
    108119    private void ResetFadeTimer() {
    109120      // wait initialInterval again for the first tick
  • trunk/sources/HeuristicLab.PluginInfrastructure/Starter/StarterForm.cs

    r3600 r3697  
    6060      pluginManager = new PluginManager(pluginPath);
    6161      splashScreen = new SplashScreen(pluginManager, 1000);
    62       splashScreen.Show("Loading HeuristicLab...");
     62      splashScreen.Show(this,"Loading HeuristicLab...");
    6363
    6464      pluginManager.DiscoverAndCheckPlugins();
Note: See TracChangeset for help on using the changeset viewer.