Beispiel #1
0
 static NanoGauges()
 {
     Log.SetLevel(Log.LEVEL.INFO);
     Log.Info("static init of NanoGauges");
     gauges = new Gauges();
     //
     // default window positions
     configuration.ResetAllWindowPositions(gauges);
     //
     configuration.SetGaugeSet(GaugeSet.ID.STANDARD);
     gauges.ReflectGaugeSetChange();
     //
     configuration.Load();
     Log.Info("log level is " + Log.GetLogLevel());
     //
     snapinManager = new SnapinManager(gauges);
     Log.SetLevel(configuration.GetLogLevel());
     trimIndicatorsEnabled = configuration.trimIndicatorsEnabled;
 }
Beispiel #2
0
 static NanoGauges()
 {
     Log.SetLevel(Log.LEVEL.INFO);
     //
     Log.Info("static init of NanoGauges");
     gauges = new Gauges();
     configuration.ResetAllWindowPositions(gauges);
     configuration.SetGaugeSet(GaugeSet.ID.STANDARD);
     //
     profileManager = new ProfileManager();
     //
     hotkeyManager = new HotkeyManager();
     //
     configuration.Load();
     Log.Info("log level is " + Log.GetLogLevel());
     //
     gauges.ReflectGaugeSetChange();
     gauges.UpdateGaugeScaling();
     //
     snapinManager = new SnapinManager(gauges);
 }