public InfoBox() : base(false, 0) { ContextSwitchStrategy = new MRUInfoBoxContextSwitchStrategy(); ContextChanged += HandleContextChanged; SetupWidgets(); Task.Run(Update); Task.Run(DelayedUpdateHistogram); BorderWidth = 2; Hide(); }
// Constructor. public InfoBox() : base(false, 0) { ContextSwitchStrategy = new MRUInfoBoxContextSwitchStrategy(); ContextChanged += HandleContextChanged; SetupWidgets(); update_delay = new Delay(Update); update_delay.Start(); histogram_delay = new Delay(DelayedUpdateHistogram); BorderWidth = 2; Hide(); }
// Constructor. public InfoBox() : base(false, 0) { ContextSwitchStrategy = new MRUInfoBoxContextSwitchStrategy (); ContextChanged += HandleContextChanged; SetupWidgets (); update_delay = new DelayedOperation (Update); update_delay.Start (); histogram_delay = new DelayedOperation (DelayedUpdateHistogram); BorderWidth = 2; Hide (); }