public CivilianPopulationUI(CivilianPopulationAdapter adapter, CivilianPopulationCore core)
        {
            this.adapter = adapter;
            this.core    = core;

            GameEvents.onGUIApplicationLauncherReady.Add(onAppLauncherReady);         //when AppLauncher can take apps, give it OnAppLauncherReady (mine)
            GameEvents.onGUIApplicationLauncherDestroyed.Add(onAppLauncherDestroyed); //Not sure what this does
        }
        //internal static String _AssemblyName { get { return System.Reflection.Assembly.GetExecutingAssembly().GetName().Name; } }
        //int baseWindowID;

        public CivilianPopulationUI(CivilianPopulationAdapter adapter, CivilianPopulationCore core)
        {
            this.adapter = adapter;
            this.core    = core;

            //InitToolbarButton();
            //baseWindowID = UnityEngine.Random.Range(1000, 2000000) + _AssemblyName.GetHashCode();
        }
        public CivilianPopulationUI(CivilianPopulationAdapter adapter, CivilianPopulationCore core)
        {
            this.adapter = adapter;
            this.core    = core;

#if false
            GameEvents.onGUIApplicationLauncherReady.Add(onAppLauncherReady);         //when AppLauncher can take apps, give it OnAppLauncherReady (mine)
            GameEvents.onGUIApplicationLauncherDestroyed.Add(onAppLauncherDestroyed); //Not sure what this does
#endif
            InitToolbarButton();
            baseWindowID = UnityEngine.Random.Range(1000, 2000000) + _AssemblyName.GetHashCode();
        }
 public CivilianPopulationCore(CivilianPopulationAdapter adapter, CivilianPopulationConfiguration configuration)
 {
     this.adapter       = adapter;
     this.configuration = configuration;
     nextTaxesDate      = getNextTaxesDate();
 }